@Test public void testImportDescriptor() throws Exception { ExternalAnnotator externalAnnotator = new ExternalAnnotator("desc.gov.va.vinci.leo.ae.WhitespaceTokenizerDescriptor", true); assertNotNull(externalAnnotator); assertNotNull(externalAnnotator.getDescriptor()); }
@Override public LeoDelegate getDescriptor() throws Exception { return descriptor; }
ExternalAnnotator implements LeoAnnotator { @Override public LeoDelegate getDescriptor() throws Exception { return descriptor; } }
ExternalAnnotator implements LeoAnnotator { @Override public LeoDelegate getDescriptor() throws Exception { return descriptor; } ExternalAnnotator(String name, String implementation_class);  ExternalAnnotator(String descriptor, boolean byName, NameValue... paramValues);  ExternalAnnotator(String descriptor, boolean byName, int numInstances, NameValue... paramValues); }
ExternalAnnotator implements LeoAnnotator { @Override public LeoDelegate getDescriptor() throws Exception { return descriptor; } ExternalAnnotator(String name, String implementation_class);  ExternalAnnotator(String descriptor, boolean byName, NameValue... paramValues);  ExternalAnnotator(String descriptor, boolean byName, int numInstances, NameValue... paramValues); int getNumInstances(); ExternalAnnotator setNumInstances(int numInstances); String getName(); ExternalAnnotator setName(String name); @Override LeoDelegate getDescriptor(); LeoTypeSystemDescription getLeoTypeSystemDescription(); ExternalAnnotator addTypeSystemDescription(LeoTypeSystemDescription leoTypeSystemDescription); }
ExternalAnnotator implements LeoAnnotator { @Override public LeoDelegate getDescriptor() throws Exception { return descriptor; } ExternalAnnotator(String name, String implementation_class);  ExternalAnnotator(String descriptor, boolean byName, NameValue... paramValues);  ExternalAnnotator(String descriptor, boolean byName, int numInstances, NameValue... paramValues); int getNumInstances(); ExternalAnnotator setNumInstances(int numInstances); String getName(); ExternalAnnotator setName(String name); @Override LeoDelegate getDescriptor(); LeoTypeSystemDescription getLeoTypeSystemDescription(); ExternalAnnotator addTypeSystemDescription(LeoTypeSystemDescription leoTypeSystemDescription);  }