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