/** Parses a new XML Schema document. */ public void parse(String systemId) throws SAXException { parse(new InputSource(systemId)); }
/** Parses a new XML Schema document. */ public void parse(URL url) throws SAXException { parse(url.toExternalForm()); }
/** * Parses a new XML Schema document. * * <p>When using this method, XSOM does not know the system ID of this document, therefore, when * this reader contains relative references to other schemas, XSOM will fail to resolve them. To * specify an system ID with a reader, use {@link InputSource} */ public void parse(Reader reader) throws SAXException { parse(new InputSource(reader)); }
/** Parses a new XML Schema document. */ public void parse(File schema) throws SAXException, IOException { parse(schema.toURL()); }
/** * Parses a new XML Schema document. * * <p>When using this method, XSOM does not know the system ID of this document, therefore, when * this stream contains relative references to other schemas, XSOM will fail to resolve them. To * specify an system ID with a stream, use {@link InputSource} */ public void parse(InputStream is) throws SAXException { parse(new InputSource(is)); }