QtiXmlReader { public XmlReadResult read(final ResourceLocator inputResourceLocator, final URI systemId, final boolean performSchemaValidation) throws XmlResourceNotFoundException { Assert.notNull(inputResourceLocator, "inputResourceLocator"); Assert.notNull(systemId, "systemId"); final ResourceLocator entityResourceLocator = new ChainedResourceLocator(JQTIPLUS_PARSER_RESOURCE_LOCATOR, inputResourceLocator); return xmlResourceReader.read(systemId, inputResourceLocator, entityResourceLocator, performSchemaValidation); } QtiXmlReader();  QtiXmlReader(final JqtiExtensionManager jqtiExtensionManager);  QtiXmlReader(final JqtiExtensionManager jqtiExtensionManager, final SchemaCache schemaCache); JqtiExtensionManager getJqtiExtensionManager(); SchemaCache getSchemaCache(); XmlReadResult read(final ResourceLocator inputResourceLocator, final URI systemId,
            final boolean performSchemaValidation); QtiObjectReader createQtiObjectReader(final ResourceLocator inputResourceLocator, final boolean schemaValidating); @Override String toString(); static final String JQTIPLUS_PARSER_RESOURCE_CLASSPATH_BASE_PATH; static final ResourceLocator JQTIPLUS_PARSER_RESOURCE_LOCATOR; }
@Test(expected=IllegalArgumentException.class) public void testReadNullUri() throws Exception { new QtiXmlReader().read(new ClassPathResourceLocator(), null, false); }
@Test(expected=IllegalArgumentException.class) public void testReadNullLocator() throws Exception { new QtiXmlReader().read(null, makeSystemId("choice.xml"), false); }