Class DOMUnmarshaller

  • All Implemented Interfaces:
    PlatformUnmarshaller

    public class DOMUnmarshaller
    extends java.lang.Object
    implements PlatformUnmarshaller
    INTERNAL:

    Purpose:Provide an implementation of PlatformUnmarshaller that makes use of the DOM unmarshal code. Used by the DOMPlatform

    Responsibilities:

    • Implement the required unmarshal methods from platform unmarshaller
    • Perform xml-to-object conversions
    Author:
    bdoughan
    See Also:
    DOMPlatform
    • Constructor Summary

      Constructors 
      Constructor Description
      DOMUnmarshaller​(XMLUnmarshaller xmlUnmarshaller, java.util.Map<java.lang.String,​java.lang.Boolean> parserFeatures)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.xml.sax.EntityResolver getEntityResolver()  
      org.xml.sax.ErrorHandler getErrorHandler()  
      javax.xml.validation.Schema getSchema()  
      int getValidationMode()  
      boolean isResultAlwaysXMLRoot()  
      boolean isSecureProcessingDisabled()  
      void mediaTypeChanged()  
      void setDisableSecureProcessing​(boolean disableSecureProcessing)  
      void setEntityResolver​(org.xml.sax.EntityResolver entityResolver)  
      void setErrorHandler​(org.xml.sax.ErrorHandler errorHandler)  
      void setResultAlwaysXMLRoot​(boolean alwaysReturnRoot)  
      void setSchema​(javax.xml.validation.Schema schema)  
      void setSchemas​(java.lang.Object[] schemas)  
      void setValidationMode​(int validationMode)  
      void setWhitespacePreserving​(boolean isWhitespacePreserving)  
      java.lang.Object unmarshal​(java.io.File file)  
      java.lang.Object unmarshal​(java.io.File file, java.lang.Class clazz)  
      java.lang.Object unmarshal​(java.io.InputStream inputStream)  
      java.lang.Object unmarshal​(java.io.InputStream inputStream, java.lang.Class clazz)  
      java.lang.Object unmarshal​(java.io.Reader reader)  
      java.lang.Object unmarshal​(java.io.Reader reader, java.lang.Class clazz)  
      java.lang.Object unmarshal​(java.net.URL url)  
      java.lang.Object unmarshal​(java.net.URL url, java.lang.Class clazz)  
      java.lang.Object unmarshal​(javax.xml.transform.Source source)  
      java.lang.Object unmarshal​(javax.xml.transform.Source source, java.lang.Class clazz)  
      java.lang.Object unmarshal​(org.w3c.dom.Node node)  
      java.lang.Object unmarshal​(org.w3c.dom.Node node, java.lang.Class clazz)  
      java.lang.Object unmarshal​(org.xml.sax.InputSource inputSource)  
      java.lang.Object unmarshal​(org.xml.sax.InputSource inputSource, java.lang.Class clazz)  
      java.lang.Object unmarshal​(org.xml.sax.XMLReader xmlReader, org.xml.sax.InputSource inputSource)  
      java.lang.Object unmarshal​(org.xml.sax.XMLReader xmlReader, org.xml.sax.InputSource inputSource, java.lang.Class clazz)  
      java.lang.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.
      java.lang.Object xmlToObject​(DOMRecord xmlRow, java.lang.Class referenceClass)
      INTERNAL: Convert the Oracle XMLDocument to the reference-class.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait