public class SecureUnmarshaller extends Object implements Unmarshaller
Unmarshaller.Listener| Constructor and Description |
|---|
SecureUnmarshaller(Unmarshaller delegate,
boolean disableExternalEntities,
boolean enableSecureProcessingFeature,
boolean disableDTDs) |
public SecureUnmarshaller(Unmarshaller delegate, boolean disableExternalEntities, boolean enableSecureProcessingFeature, boolean disableDTDs)
public <A extends XmlAdapter> A getAdapter(Class<A> type)
getAdapter in interface Unmarshallerpublic AttachmentUnmarshaller getAttachmentUnmarshaller()
getAttachmentUnmarshaller in interface Unmarshallerpublic ValidationEventHandler getEventHandler() throws JAXBException
getEventHandler in interface UnmarshallerJAXBExceptionpublic Unmarshaller.Listener getListener()
getListener in interface Unmarshallerpublic Object getProperty(String name) throws PropertyException
getProperty in interface UnmarshallerPropertyExceptionpublic Schema getSchema()
getSchema in interface Unmarshallerpublic UnmarshallerHandler getUnmarshallerHandler()
getUnmarshallerHandler in interface Unmarshaller@Deprecated public boolean isValidating() throws JAXBException
getSchema() API.isValidating in interface UnmarshallerJAXBExceptionpublic void setAdapter(XmlAdapter adapter)
setAdapter in interface Unmarshallerpublic <A extends XmlAdapter> void setAdapter(Class<A> type, A adapter)
setAdapter in interface Unmarshallerpublic void setAttachmentUnmarshaller(AttachmentUnmarshaller au)
setAttachmentUnmarshaller in interface Unmarshallerpublic void setEventHandler(ValidationEventHandler handler) throws JAXBException
setEventHandler in interface UnmarshallerJAXBExceptionpublic void setListener(Unmarshaller.Listener listener)
setListener in interface Unmarshallerpublic void setProperty(String name, Object value) throws PropertyException
setProperty in interface UnmarshallerPropertyExceptionpublic void setSchema(Schema schema)
setSchema in interface Unmarshaller@Deprecated public void setValidating(boolean validating) throws JAXBException
getSchema()setValidating in interface UnmarshallerJAXBExceptionpublic Object unmarshal(File f) throws JAXBException
unmarshal in interface UnmarshallerJAXBExceptionpublic Object unmarshal(InputStream is) throws JAXBException
unmarshal in interface UnmarshallerJAXBExceptionpublic Object unmarshal(Reader reader) throws JAXBException
unmarshal in interface UnmarshallerJAXBExceptionpublic Object unmarshal(URL url) throws JAXBException
unmarshal in interface UnmarshallerJAXBExceptionpublic Object unmarshal(InputSource source) throws JAXBException
unmarshal in interface UnmarshallerJAXBExceptionpublic Object unmarshal(Node node) throws JAXBException
unmarshal in interface UnmarshallerJAXBExceptionpublic Object unmarshal(Source source) throws JAXBException
unmarshal in interface UnmarshallerJAXBExceptionpublic Object unmarshal(XMLStreamReader reader) throws JAXBException
unmarshal in interface UnmarshallerJAXBExceptionpublic Object unmarshal(XMLEventReader reader) throws JAXBException
unmarshal in interface UnmarshallerJAXBExceptionpublic <T> JAXBElement<T> unmarshal(Node node, Class<T> declaredType) throws JAXBException
unmarshal in interface UnmarshallerJAXBExceptionpublic <T> JAXBElement<T> unmarshal(Source source, Class<T> declaredType) throws JAXBException
unmarshal in interface UnmarshallerJAXBExceptionpublic <T> JAXBElement<T> unmarshal(XMLStreamReader reader, Class<T> declaredType) throws JAXBException
unmarshal in interface UnmarshallerJAXBExceptionpublic <T> JAXBElement<T> unmarshal(XMLEventReader reader, Class<T> declaredType) throws JAXBException
unmarshal in interface UnmarshallerJAXBExceptionpublic Unmarshaller getDelegate()
public void setDelegate(Unmarshaller delegate)
protected static void configureParserFactory(SAXParserFactory factory, boolean disableExternalEntities, boolean enableSecureProcessingFeature, boolean disableDTDs) throws ParserConfigurationException, SAXNotRecognizedException, SAXNotSupportedException
Copyright © 2019 JBoss by Red Hat. All rights reserved.