Class XDKParser
java.lang.Object
org.eclipse.persistence.platform.xml.xdk.XDKParser
- All Implemented Interfaces:
XMLParser
Purpose: An implementation of XMLParser using Oracle XDK APIs.
-
Field Summary
Fields inherited from interface org.eclipse.persistence.platform.xml.XMLParser
DTD_VALIDATION, NONVALIDATING, SCHEMA_VALIDATION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
parse
(InputStream inputStream) parse
(InputSource inputSource) void
setEntityResolver
(EntityResolver entityResolver) void
setErrorHandler
(ErrorHandler errorHandler) void
setNamespaceAware
(boolean isNamespaceAware) void
setValidationMode
(int validationMode) void
setWhitespacePreserving
(boolean isWhitespacePreserving) void
setXMLSchema
(URL url) void
setXMLSchema
(Schema schema) void
setXMLSchemas
(Object[] schemas)
-
Constructor Details
-
XDKParser
public XDKParser()
-
-
Method Details
-
setNamespaceAware
public void setNamespaceAware(boolean isNamespaceAware) - Specified by:
setNamespaceAware
in interfaceXMLParser
-
setWhitespacePreserving
public void setWhitespacePreserving(boolean isWhitespacePreserving) - Specified by:
setWhitespacePreserving
in interfaceXMLParser
-
getValidationMode
public int getValidationMode()- Specified by:
getValidationMode
in interfaceXMLParser
-
setValidationMode
public void setValidationMode(int validationMode) - Specified by:
setValidationMode
in interfaceXMLParser
-
getEntityResolver
- Specified by:
getEntityResolver
in interfaceXMLParser
-
setEntityResolver
- Specified by:
setEntityResolver
in interfaceXMLParser
-
getErrorHandler
- Specified by:
getErrorHandler
in interfaceXMLParser
-
setErrorHandler
- Specified by:
setErrorHandler
in interfaceXMLParser
-
setXMLSchema
- Specified by:
setXMLSchema
in interfaceXMLParser
- Throws:
XMLPlatformException
-
setXMLSchemas
- Specified by:
setXMLSchemas
in interfaceXMLParser
- Throws:
XMLPlatformException
-
parse
- Specified by:
parse
in interfaceXMLParser
- Throws:
XMLPlatformException
-
parse
- Specified by:
parse
in interfaceXMLParser
- Throws:
XMLPlatformException
-
parse
- Specified by:
parse
in interfaceXMLParser
- Throws:
XMLPlatformException
-
parse
- Specified by:
parse
in interfaceXMLParser
- Throws:
XMLPlatformException
-
parse
- Specified by:
parse
in interfaceXMLParser
- Throws:
XMLPlatformException
-
parse
- Specified by:
parse
in interfaceXMLParser
- Throws:
XMLPlatformException
-
setXMLSchema
- Specified by:
setXMLSchema
in interfaceXMLParser
-
getXMLSchema
- Specified by:
getXMLSchema
in interfaceXMLParser
-