java.lang.Object
org.eclipse.persistence.jaxb.JAXBUnmarshaller
- All Implemented Interfaces:
- Unmarshaller
INTERNAL:
 
Purpose:To Provide an implementation of the JAXB 2.0 Unmarshaller Interface
Responsibilities:
- Provide a JAXB wrapper on the XMLUnmarshaller API
- Perform XML to Object Conversions
This implementation of the JAXB 2.1/2.2 Unmarshaller interface provides the required functionality by acting as a thin wrapper on the existing XMLMarshaller API.
- Since:
- Oracle TopLink 11.1.1.0.0
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface jakarta.xml.bind.UnmarshallerUnmarshaller.Listener
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionJAXBUnmarshaller(XMLUnmarshaller newXMLUnmarshaller, JAXBContext jaxbContext) 
- 
Method SummaryModifier and TypeMethodDescriptiongetAdapter(Class javaClass) Returns constraint violations stored in the underlyingJAXBBeanValidatorinstance.Return this Unmarshaller's custom IDResolver.getProperty(String key) Get a property from the JAXBMarshaller.booleanvoidsetAdapter(XmlAdapter adapter) voidsetAdapter(Class javaClass, XmlAdapter adapter) voidsetAttachmentUnmarshaller(AttachmentUnmarshaller unmarshaller) voidsetEventHandler(ValidationEventHandler newValidationEventHandler) voidsetIDResolver(IDResolver idResolver) Set this Unmarshaller's custom IDResolver.voidsetListener(Unmarshaller.Listener listener) voidsetProperty(String key, Object value) Set a property on the JAXBUnmarshaller.voidvoidsetUnmarshalCallbacks(Map callbacks) voidsetValidating(boolean validate) unmarshal(InputStream inputStream) unmarshal(XMLEventReader eventReader) unmarshal(XMLEventReader eventReader, Class javaClass) unmarshal(XMLEventReader eventReader, Type type) unmarshal(XMLEventReader eventReader, TypeMappingInfo type) Unmarshal the object based on the binding metadata associated with the TypeMappingInfo.unmarshal(XMLStreamReader streamReader) unmarshal(XMLStreamReader streamReader, Class javaClass) unmarshal(XMLStreamReader streamReader, Type type) unmarshal(XMLStreamReader streamReader, TypeMappingInfo type) Unmarshal the object based on the binding metadata associated with the TypeMappingInfo.unmarshal(Source source, TypeMappingInfo type) Unmarshal the object based on the binding metadata associated with the TypeMappingInfo.unmarshal(InputSource inputSource) 
- 
Field Details- 
XML_JAVATYPE_ADAPTERS- See Also:
 
- 
STAX_SOURCE_CLASS_NAME- See Also:
 
 
- 
- 
Constructor Details- 
JAXBUnmarshaller
 
- 
- 
Method Details- 
getXMLUnmarshaller
- 
unmarshal- Specified by:
- unmarshalin interface- Unmarshaller
- Throws:
- JAXBException
 
- 
unmarshal- Specified by:
- unmarshalin interface- Unmarshaller
- Throws:
- JAXBException
 
- 
unmarshal- Specified by:
- unmarshalin interface- Unmarshaller
- Throws:
- JAXBException
 
- 
unmarshal- Specified by:
- unmarshalin interface- Unmarshaller
- Throws:
- JAXBException
 
- 
unmarshal- Specified by:
- unmarshalin interface- Unmarshaller
- Throws:
- JAXBException
 
- 
unmarshal- Specified by:
- unmarshalin interface- Unmarshaller
- Throws:
- JAXBException
 
- 
unmarshal- Specified by:
- unmarshalin interface- Unmarshaller
- Throws:
- JAXBException
 
- 
unmarshal- Specified by:
- unmarshalin interface- Unmarshaller
- Throws:
- JAXBException
 
- 
unmarshal- Specified by:
- unmarshalin interface- Unmarshaller
- Throws:
- JAXBException
 
- 
unmarshal- Throws:
- JAXBException
 
- 
unmarshalUnmarshal the object based on the binding metadata associated with the TypeMappingInfo.- Throws:
- JAXBException
 
- 
unmarshal- Specified by:
- unmarshalin interface- Unmarshaller
- Throws:
- JAXBException
 
- 
unmarshal- Throws:
- JAXBException
 
- 
unmarshalpublic JAXBElement unmarshal(XMLStreamReader streamReader, TypeMappingInfo type) throws JAXBException Unmarshal the object based on the binding metadata associated with the TypeMappingInfo.- Throws:
- JAXBException
 
- 
unmarshal- Specified by:
- unmarshalin interface- Unmarshaller
- Throws:
- JAXBException
 
- 
unmarshal- Specified by:
- unmarshalin interface- Unmarshaller
- Throws:
- JAXBException
 
- 
unmarshal- Throws:
- JAXBException
 
- 
unmarshalUnmarshal the object based on the binding metadata associated with the TypeMappingInfo.- Throws:
- JAXBException
 
- 
unmarshal- Specified by:
- unmarshalin interface- Unmarshaller
- Throws:
- JAXBException
 
- 
getUnmarshallerHandler- Specified by:
- getUnmarshallerHandlerin interface- Unmarshaller
 
- 
setValidating- Throws:
- JAXBException
 
- 
isValidating- Throws:
- JAXBException
 
- 
setEventHandler- Specified by:
- setEventHandlerin interface- Unmarshaller
- Throws:
- JAXBException
 
- 
getEventHandler- Specified by:
- getEventHandlerin interface- Unmarshaller
- Throws:
- JAXBException
 
- 
setPropertySet a property on the JAXBUnmarshaller. Attempting to set any unsupported property will result in a jakarta.xml.bind.PropertyException.- Specified by:
- setPropertyin interface- Unmarshaller
- Throws:
- PropertyException
- See Also:
 
- 
getPropertyGet a property from the JAXBMarshaller. Attempting to get any unsupported property will result in a jakarta.xml.bind.PropertyException See Supported Properties.- Specified by:
- getPropertyin interface- Unmarshaller
- Throws:
- PropertyException
- See Also:
 
- 
getListener- Specified by:
- getListenerin interface- Unmarshaller
 
- 
setListener- Specified by:
- setListenerin interface- Unmarshaller
 
- 
getAdapter- Specified by:
- getAdapterin interface- Unmarshaller
 
- 
setAdapter- Specified by:
- setAdapterin interface- Unmarshaller
 
- 
setAdapter- Specified by:
- setAdapterin interface- Unmarshaller
 
- 
setSchema- Specified by:
- setSchemain interface- Unmarshaller
 
- 
getSchema- Specified by:
- getSchemain interface- Unmarshaller
 
- 
getAttachmentUnmarshaller- Specified by:
- getAttachmentUnmarshallerin interface- Unmarshaller
 
- 
setAttachmentUnmarshaller- Specified by:
- setAttachmentUnmarshallerin interface- Unmarshaller
 
- 
setUnmarshalCallbacks
- 
getJaxbContext
- 
getIDResolverReturn this Unmarshaller's custom IDResolver.- Returns:
- the custom IDResolver, or null if one has not been specified.
- Since:
- 2.3.3
- See Also:
 
- 
setIDResolverSet this Unmarshaller's custom IDResolver.- Since:
- 2.3.3
- See Also:
 
- 
getConstraintViolationsReturns constraint violations stored in the underlyingJAXBBeanValidatorinstance.- Returns:
- set of constraint violations from last unmarshal
 
 
-