public class SAXUnmarshaller extends Object implements PlatformUnmarshaller
Purpose:Provide an implementation of PlatformUnmarshaller that makes use of the SAX parser to build Java Objects from SAX Events.
Responsibilities:
SAXPlatform| Constructor and Description |
|---|
SAXUnmarshaller(Unmarshaller xmlUnmarshaller,
Map<String,Boolean> parserFeatures) |
public SAXUnmarshaller(Unmarshaller xmlUnmarshaller, Map<String,Boolean> parserFeatures) throws XMLMarshalException
XMLMarshalExceptionpublic 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 setValidationMode(XMLReader xmlReader, int validationMode)
public 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, XMLReader xmlReader)
public Object unmarshal(InputSource inputSource, Class clazz)
unmarshal in interface PlatformUnmarshallerpublic Object unmarshal(InputSource inputSource, Class clazz, XMLReader xmlReader)
public 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 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