public class DOMUnmarshaller extends Object implements PlatformUnmarshaller
Purpose:Provide an implementation of PlatformUnmarshaller that makes use of the DOM unmarshal code. Used by the DOMPlatform
Responsibilities:
DOMPlatform| Constructor and Description |
|---|
DOMUnmarshaller(XMLUnmarshaller xmlUnmarshaller,
Map<String,Boolean> parserFeatures) |
| Modifier and Type | Method and Description |
|---|---|
EntityResolver |
getEntityResolver() |
ErrorHandler |
getErrorHandler() |
Schema |
getSchema() |
int |
getValidationMode() |
boolean |
isResultAlwaysXMLRoot() |
boolean |
isSecureProcessingDisabled() |
void |
mediaTypeChanged() |
void |
setDisableSecureProcessing(boolean disableSecureProcessing) |
void |
setEntityResolver(EntityResolver entityResolver) |
void |
setErrorHandler(ErrorHandler errorHandler) |
void |
setResultAlwaysXMLRoot(boolean alwaysReturnRoot) |
void |
setSchema(Schema schema) |
void |
setSchemas(Object[] schemas) |
void |
setValidationMode(int validationMode) |
void |
setWhitespacePreserving(boolean isWhitespacePreserving) |
Object |
unmarshal(File file) |
Object |
unmarshal(File file,
Class clazz) |
Object |
unmarshal(InputSource inputSource) |
Object |
unmarshal(InputSource inputSource,
Class clazz) |
Object |
unmarshal(InputStream inputStream) |
Object |
unmarshal(InputStream inputStream,
Class clazz) |
Object |
unmarshal(Node node) |
Object |
unmarshal(Node node,
Class clazz) |
Object |
unmarshal(Reader reader) |
Object |
unmarshal(Reader reader,
Class clazz) |
Object |
unmarshal(Source source) |
Object |
unmarshal(Source source,
Class clazz) |
Object |
unmarshal(URL url) |
Object |
unmarshal(URL url,
Class clazz) |
Object |
unmarshal(XMLReader xmlReader,
InputSource inputSource) |
Object |
unmarshal(XMLReader xmlReader,
InputSource inputSource,
Class clazz) |
Object |
xmlToObject(DOMRecord xmlRecord)
INTERNAL: Find the Descriptor corresponding to the context node of the
XMLRecord, and then convert the XMLRecord to an instance of the
corresponding object.
|
Object |
xmlToObject(DOMRecord xmlRow,
Class referenceClass)
INTERNAL: Convert the Oracle XMLDocument to the reference-class.
|
public DOMUnmarshaller(XMLUnmarshaller xmlUnmarshaller, Map<String,Boolean> parserFeatures)
public EntityResolver getEntityResolver()
getEntityResolver in interface PlatformUnmarshallerpublic void setEntityResolver(EntityResolver entityResolver)
setEntityResolver in interface PlatformUnmarshallerpublic ErrorHandler getErrorHandler()
getErrorHandler in interface PlatformUnmarshallerpublic void setErrorHandler(ErrorHandler errorHandler)
setErrorHandler in interface PlatformUnmarshallerpublic int getValidationMode()
getValidationMode in interface PlatformUnmarshallerpublic void setValidationMode(int validationMode)
setValidationMode in interface PlatformUnmarshallerpublic void setWhitespacePreserving(boolean isWhitespacePreserving)
setWhitespacePreserving in interface PlatformUnmarshallerpublic void setSchemas(Object[] schemas)
setSchemas in interface PlatformUnmarshallerpublic void setSchema(Schema schema)
setSchema in interface PlatformUnmarshallerpublic Schema getSchema()
getSchema in interface PlatformUnmarshallerpublic Object unmarshal(File file)
unmarshal in interface PlatformUnmarshallerpublic Object unmarshal(File file, Class clazz)
unmarshal in interface PlatformUnmarshallerpublic Object unmarshal(InputStream inputStream)
unmarshal in interface PlatformUnmarshallerpublic Object unmarshal(InputStream inputStream, Class clazz)
unmarshal in interface PlatformUnmarshallerpublic Object unmarshal(InputSource inputSource)
unmarshal in interface PlatformUnmarshallerpublic Object unmarshal(InputSource inputSource, Class clazz)
unmarshal in interface PlatformUnmarshallerpublic Object unmarshal(Node node)
unmarshal in interface PlatformUnmarshallerpublic Object unmarshal(Node node, Class clazz)
unmarshal in interface PlatformUnmarshallerpublic Object unmarshal(Reader reader)
unmarshal in interface PlatformUnmarshallerpublic Object unmarshal(Reader reader, Class clazz)
unmarshal in interface PlatformUnmarshallerpublic Object unmarshal(Source source)
unmarshal in interface PlatformUnmarshallerpublic Object unmarshal(Source source, Class clazz)
unmarshal in interface PlatformUnmarshallerpublic Object unmarshal(URL url)
unmarshal in interface PlatformUnmarshallerpublic Object unmarshal(URL url, Class clazz)
unmarshal in interface PlatformUnmarshallerpublic Object unmarshal(XMLReader xmlReader, InputSource inputSource)
unmarshal in interface PlatformUnmarshallerpublic Object unmarshal(XMLReader xmlReader, InputSource inputSource, Class clazz)
unmarshal in interface PlatformUnmarshallerpublic Object xmlToObject(DOMRecord xmlRecord) throws XMLMarshalException
xmlRecord - The XMLRecord to unmarshal fromXMLMarshalException - if an error occurred during unmarshallingpublic Object xmlToObject(DOMRecord xmlRow, Class referenceClass) throws XMLMarshalException
XMLMarshalExceptionpublic boolean isResultAlwaysXMLRoot()
isResultAlwaysXMLRoot in interface PlatformUnmarshallerpublic void setResultAlwaysXMLRoot(boolean alwaysReturnRoot)
setResultAlwaysXMLRoot in interface PlatformUnmarshallerpublic void mediaTypeChanged()
mediaTypeChanged in interface PlatformUnmarshallerpublic final boolean isSecureProcessingDisabled()
isSecureProcessingDisabled in interface PlatformUnmarshallerpublic final void setDisableSecureProcessing(boolean disableSecureProcessing)
setDisableSecureProcessing in interface PlatformUnmarshallerEclipseLink 2.6.3, "build v20160428-59c81c5" API Reference