@Test public void testExampleItemIdentifierType() throws FileNotFoundException, ToolkitException, ServiceException, ValidationException { Properties properties = new Properties(); properties.put("CoreConfiguration.AddedSVPClasses", "org.extensiblecatalog.ncip.v2.examples.ExampleItemIdentifierType"); CoreConfiguration coreConfig = CoreConfigurationFactory.getConfiguration(properties); Translator translator = TranslatorFactory.getTranslator(coreConfig.getTranslatorConfiguration()); InputStream inStream = new FileInputStream(new File(TEST_FILE)); ServiceContext serviceContext = ServiceValidatorFactory.getSharedServiceValidator().getInitialServiceContext(); NCIPInitiationData initiationData = translator.createInitiationData(serviceContext, inStream); Assert.assertNotNull(initiationData); }
protected ExampleItemIdentifierType(String scheme, String value) { super(scheme, value); }
ExampleItemIdentifierType extends ItemIdentifierType { protected ExampleItemIdentifierType(String scheme, String value) { super(scheme, value); } }
ExampleItemIdentifierType extends ItemIdentifierType { protected ExampleItemIdentifierType(String scheme, String value) { super(scheme, value); } protected  ExampleItemIdentifierType(String scheme, String value); }
ExampleItemIdentifierType extends ItemIdentifierType { protected ExampleItemIdentifierType(String scheme, String value) { super(scheme, value); } protected  ExampleItemIdentifierType(String scheme, String value); static void loadAll(); }
ExampleItemIdentifierType extends ItemIdentifierType { protected ExampleItemIdentifierType(String scheme, String value) { super(scheme, value); } protected  ExampleItemIdentifierType(String scheme, String value); static void loadAll(); static final String EXAMPLE_ITEM_IDENTIFIER_TYPE; static final ExampleItemIdentifierType ITEM_ID; }