org.eclipse.persistence.platform.xml.jaxp
Class JAXPParser
java.lang.Object
org.eclipse.persistence.platform.xml.jaxp.JAXPParser
- All Implemented Interfaces:
- XMLParser
public class JAXPParser
- extends java.lang.Object
- implements XMLParser
Purpose: An implementation of XMLParser using JAXP 1.3 APIs.
Constructor Summary |
JAXPParser()
|
JAXPParser(java.util.Map<java.lang.String,java.lang.Boolean> parserFeatures)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAXPParser
public JAXPParser()
JAXPParser
public JAXPParser(java.util.Map<java.lang.String,java.lang.Boolean> parserFeatures)
setNamespaceAware
public void setNamespaceAware(boolean isNamespaceAware)
- Specified by:
setNamespaceAware
in interface XMLParser
setWhitespacePreserving
public void setWhitespacePreserving(boolean isWhitespacePreserving)
- Specified by:
setWhitespacePreserving
in interface XMLParser
getValidationMode
public int getValidationMode()
- Specified by:
getValidationMode
in interface XMLParser
setValidationMode
public void setValidationMode(int validationMode)
- Specified by:
setValidationMode
in interface XMLParser
getEntityResolver
public org.xml.sax.EntityResolver getEntityResolver()
- Specified by:
getEntityResolver
in interface XMLParser
setEntityResolver
public void setEntityResolver(org.xml.sax.EntityResolver entityResolver)
- Specified by:
setEntityResolver
in interface XMLParser
getErrorHandler
public org.xml.sax.ErrorHandler getErrorHandler()
- Specified by:
getErrorHandler
in interface XMLParser
setErrorHandler
public void setErrorHandler(org.xml.sax.ErrorHandler errorHandler)
- Specified by:
setErrorHandler
in interface XMLParser
setXMLSchema
public void setXMLSchema(java.net.URL url)
throws XMLPlatformException
- Specified by:
setXMLSchema
in interface XMLParser
- Throws:
XMLPlatformException
setXMLSchema
public void setXMLSchema(javax.xml.validation.Schema schema)
throws XMLPlatformException
- Specified by:
setXMLSchema
in interface XMLParser
- Throws:
XMLPlatformException
getXMLSchema
public javax.xml.validation.Schema getXMLSchema()
throws XMLPlatformException
- Specified by:
getXMLSchema
in interface XMLParser
- Throws:
XMLPlatformException
setXMLSchemas
public void setXMLSchemas(java.lang.Object[] schemas)
throws XMLPlatformException
- Specified by:
setXMLSchemas
in interface XMLParser
- Throws:
XMLPlatformException
parse
public org.w3c.dom.Document parse(org.xml.sax.InputSource inputSource)
throws XMLPlatformException
- Specified by:
parse
in interface XMLParser
- Throws:
XMLPlatformException
parse
public org.w3c.dom.Document parse(java.io.File file)
throws XMLPlatformException
- Specified by:
parse
in interface XMLParser
- Throws:
XMLPlatformException
parse
public org.w3c.dom.Document parse(java.io.InputStream inputStream)
throws XMLPlatformException
- Specified by:
parse
in interface XMLParser
- Throws:
XMLPlatformException
parse
public org.w3c.dom.Document parse(java.io.Reader reader)
throws XMLPlatformException
- Specified by:
parse
in interface XMLParser
- Throws:
XMLPlatformException
parse
public org.w3c.dom.Document parse(javax.xml.transform.Source source)
throws XMLPlatformException
- Specified by:
parse
in interface XMLParser
- Throws:
XMLPlatformException
parse
public org.w3c.dom.Document parse(java.net.URL url)
throws XMLPlatformException
- Specified by:
parse
in interface XMLParser
- Throws:
XMLPlatformException