DTD_VALIDATION, NONVALIDATING, SCHEMA_VALIDATION
Constructor and Description |
---|
JAXPParser() |
JAXPParser(java.util.Map<java.lang.String,java.lang.Boolean> parserFeatures) |
Modifier and Type | Method and Description |
---|---|
org.xml.sax.EntityResolver |
getEntityResolver() |
org.xml.sax.ErrorHandler |
getErrorHandler() |
int |
getValidationMode() |
javax.xml.validation.Schema |
getXMLSchema() |
org.w3c.dom.Document |
parse(java.io.File file) |
org.w3c.dom.Document |
parse(org.xml.sax.InputSource inputSource) |
org.w3c.dom.Document |
parse(java.io.InputStream inputStream) |
org.w3c.dom.Document |
parse(java.io.Reader reader) |
org.w3c.dom.Document |
parse(javax.xml.transform.Source source) |
org.w3c.dom.Document |
parse(java.net.URL url) |
void |
setEntityResolver(org.xml.sax.EntityResolver entityResolver) |
void |
setErrorHandler(org.xml.sax.ErrorHandler errorHandler) |
void |
setNamespaceAware(boolean isNamespaceAware) |
void |
setValidationMode(int validationMode) |
void |
setWhitespacePreserving(boolean isWhitespacePreserving) |
void |
setXMLSchema(javax.xml.validation.Schema schema) |
void |
setXMLSchema(java.net.URL url) |
void |
setXMLSchemas(java.lang.Object[] schemas) |
public JAXPParser()
public JAXPParser(java.util.Map<java.lang.String,java.lang.Boolean> parserFeatures)
public void setNamespaceAware(boolean isNamespaceAware)
setNamespaceAware
in interface XMLParser
public void setWhitespacePreserving(boolean isWhitespacePreserving)
setWhitespacePreserving
in interface XMLParser
public int getValidationMode()
getValidationMode
in interface XMLParser
public void setValidationMode(int validationMode)
setValidationMode
in interface XMLParser
public org.xml.sax.EntityResolver getEntityResolver()
getEntityResolver
in interface XMLParser
public void setEntityResolver(org.xml.sax.EntityResolver entityResolver)
setEntityResolver
in interface XMLParser
public org.xml.sax.ErrorHandler getErrorHandler()
getErrorHandler
in interface XMLParser
public void setErrorHandler(org.xml.sax.ErrorHandler errorHandler)
setErrorHandler
in interface XMLParser
public void setXMLSchema(java.net.URL url) throws XMLPlatformException
setXMLSchema
in interface XMLParser
XMLPlatformException
public void setXMLSchema(javax.xml.validation.Schema schema) throws XMLPlatformException
setXMLSchema
in interface XMLParser
XMLPlatformException
public javax.xml.validation.Schema getXMLSchema() throws XMLPlatformException
getXMLSchema
in interface XMLParser
XMLPlatformException
public void setXMLSchemas(java.lang.Object[] schemas) throws XMLPlatformException
setXMLSchemas
in interface XMLParser
XMLPlatformException
public org.w3c.dom.Document parse(org.xml.sax.InputSource inputSource) throws XMLPlatformException
parse
in interface XMLParser
XMLPlatformException
public org.w3c.dom.Document parse(java.io.File file) throws XMLPlatformException
parse
in interface XMLParser
XMLPlatformException
public org.w3c.dom.Document parse(java.io.InputStream inputStream) throws XMLPlatformException
parse
in interface XMLParser
XMLPlatformException
public org.w3c.dom.Document parse(java.io.Reader reader) throws XMLPlatformException
parse
in interface XMLParser
XMLPlatformException
public org.w3c.dom.Document parse(javax.xml.transform.Source source) throws XMLPlatformException
parse
in interface XMLParser
XMLPlatformException
public org.w3c.dom.Document parse(java.net.URL url) throws XMLPlatformException
parse
in interface XMLParser
XMLPlatformException