public class RuntimeContext extends Object
Constructor and Description |
---|
RuntimeContext() |
RuntimeContext(ExtendedMarshaller marshaller) |
RuntimeContext(ExtendedUnmarshaller unmarshaller) |
Modifier and Type | Method and Description |
---|---|
void |
addXmlId(XoXMLStreamReader reader,
String id,
Object value) |
void |
afterMarshal(Object bean,
LifecycleCallback lifecycleCallback) |
void |
afterUnmarshal(Object bean,
LifecycleCallback lifecycleCallback) |
void |
beforeMarshal(Object bean,
LifecycleCallback lifecycleCallback) |
void |
beforeUnmarshal(Object bean,
LifecycleCallback lifecycleCallback) |
void |
fieldGetError(Object bean,
String propertyName,
Class beanType,
String fieldName,
Exception e) |
void |
fieldGetError(XoXMLStreamReader reader,
Class beanType,
String fieldName,
Exception e) |
void |
fieldSetError(XoXMLStreamReader reader,
Class beanType,
String fieldName,
Exception e) |
Object |
getProperty(String name) |
void |
getterError(Object bean,
String propertyName,
Class beanType,
String getterName,
Exception e) |
void |
getterError(XoXMLStreamReader reader,
Class beanType,
String getterName,
Exception e) |
<T> T |
readXmlAny(XoXMLStreamReader reader,
Class<T> expectedJavaType,
boolean lax) |
void |
resolveXmlIdRef(XoXMLStreamReader reader,
String id,
IdRefTarget target) |
void |
resolveXmlIdRefs() |
Object |
setProperty(String name,
Object value) |
void |
setterError(XoXMLStreamReader reader,
Class beanType,
String setterName,
Class propertyType,
Exception e) |
void |
uncreatableCollection(XoXMLStreamReader reader,
Class beanType,
String propertyName,
Class collectionType) |
void |
unexpectedAttribute(Attribute attribute,
QName... expectedAttributes) |
void |
unexpectedElement(XoXMLStreamReader reader,
QName... expectedElements) |
void |
unexpectedElementRef(XoXMLStreamWriter writer,
Object bean,
String propertyName,
Object propertyValue,
Class... expectedTypes) |
void |
unexpectedElementType(XoXMLStreamWriter writer,
Object bean,
String propertyName,
Object propertyValue,
Class... expectedTypes) |
<T> void |
unexpectedEnumConst(Object bean,
String propertyName,
T value,
T... expectedValues) |
void |
unexpectedEnumValue(XoXMLStreamReader reader,
Class enumType,
String value,
String... expectedValues) |
void |
unexpectedNullValue(Object bean,
String propertyName) |
void |
unexpectedSubclass(XoXMLStreamWriter writer,
Object bean,
Class baseClass,
Class... expectedSubclasses) |
<T> T |
unexpectedXsiType(XoXMLStreamReader reader,
Class<T> expectedJavaType) |
void |
writeXmlAny(XoXMLStreamWriter writer,
Object bean,
String propertyName,
Object propertyValue) |
void |
xmlAdapterError(Object bean,
String propertyName,
Class adapterClass,
Class sourceType,
Class destinationType,
Exception e) |
void |
xmlAdapterError(XoXMLStreamReader reader,
Class adapterClass,
Class sourceType,
Class destinationType,
Exception e) |
public RuntimeContext()
public RuntimeContext(ExtendedUnmarshaller unmarshaller)
public RuntimeContext(ExtendedMarshaller marshaller)
public void addXmlId(XoXMLStreamReader reader, String id, Object value) throws JAXBException
JAXBException
public void resolveXmlIdRef(XoXMLStreamReader reader, String id, IdRefTarget target) throws JAXBException
JAXBException
public void resolveXmlIdRefs() throws JAXBException
JAXBException
public void beforeUnmarshal(Object bean, LifecycleCallback lifecycleCallback) throws Exception
Exception
public void afterUnmarshal(Object bean, LifecycleCallback lifecycleCallback) throws Exception
Exception
public void beforeMarshal(Object bean, LifecycleCallback lifecycleCallback) throws Exception
Exception
public void afterMarshal(Object bean, LifecycleCallback lifecycleCallback) throws Exception
Exception
public void unexpectedAttribute(Attribute attribute, QName... expectedAttributes) throws JAXBException
JAXBException
public void unexpectedElement(XoXMLStreamReader reader, QName... expectedElements) throws JAXBException
JAXBException
public <T> T unexpectedXsiType(XoXMLStreamReader reader, Class<T> expectedJavaType) throws JAXBException
JAXBException
public void unexpectedSubclass(XoXMLStreamWriter writer, Object bean, Class baseClass, Class... expectedSubclasses) throws JAXBException
JAXBException
public <T> T readXmlAny(XoXMLStreamReader reader, Class<T> expectedJavaType, boolean lax) throws JAXBException, XMLStreamException
JAXBException
XMLStreamException
public void unexpectedNullValue(Object bean, String propertyName) throws JAXBException
JAXBException
public void unexpectedElementType(XoXMLStreamWriter writer, Object bean, String propertyName, Object propertyValue, Class... expectedTypes) throws JAXBException
JAXBException
public void unexpectedElementRef(XoXMLStreamWriter writer, Object bean, String propertyName, Object propertyValue, Class... expectedTypes) throws JAXBException
JAXBException
public void writeXmlAny(XoXMLStreamWriter writer, Object bean, String propertyName, Object propertyValue) throws JAXBException, XMLStreamException
JAXBException
XMLStreamException
public void unexpectedEnumValue(XoXMLStreamReader reader, Class enumType, String value, String... expectedValues) throws JAXBException
JAXBException
public <T> void unexpectedEnumConst(Object bean, String propertyName, T value, T... expectedValues) throws JAXBException
JAXBException
public void xmlAdapterError(XoXMLStreamReader reader, Class adapterClass, Class sourceType, Class destinationType, Exception e) throws JAXBException
JAXBException
public void xmlAdapterError(Object bean, String propertyName, Class adapterClass, Class sourceType, Class destinationType, Exception e) throws JAXBException
JAXBException
public void uncreatableCollection(XoXMLStreamReader reader, Class beanType, String propertyName, Class collectionType) throws JAXBException
JAXBException
public void fieldGetError(XoXMLStreamReader reader, Class beanType, String fieldName, Exception e) throws JAXBException
JAXBException
public void fieldGetError(Object bean, String propertyName, Class beanType, String fieldName, Exception e) throws JAXBException
JAXBException
public void fieldSetError(XoXMLStreamReader reader, Class beanType, String fieldName, Exception e) throws JAXBException
JAXBException
public void getterError(XoXMLStreamReader reader, Class beanType, String getterName, Exception e) throws JAXBException
JAXBException
public void getterError(Object bean, String propertyName, Class beanType, String getterName, Exception e) throws JAXBException
JAXBException
public void setterError(XoXMLStreamReader reader, Class beanType, String setterName, Class propertyType, Exception e) throws JAXBException
JAXBException
Copyright © 2007–2018. All rights reserved.