org.apache.cxf.jaxb
Class JAXBEncoderDecoder
java.lang.Object
org.apache.cxf.jaxb.JAXBEncoderDecoder
public final class JAXBEncoderDecoder
- extends Object
Utility functions for JAXB.
Method Summary |
static Class<?> |
getClassFromType(Type t)
|
static Object |
getElementValue(Object obj)
|
static void |
marshall(Marshaller marshaller,
Object elValue,
MessagePartInfo part,
Object source)
|
static void |
marshallException(Marshaller marshaller,
Exception elValue,
MessagePartInfo part,
Object source)
|
static void |
marshallNullElement(Marshaller marshaller,
Object source,
MessagePartInfo part)
|
static void |
marshalWithBridge(QName qname,
Class<?> cls,
Annotation[] anns,
Set<Class<?>> ctxClasses,
Object elValue,
Object source,
AttachmentMarshaller am)
|
static Object |
unmarshall(Unmarshaller u,
Object source,
MessagePartInfo part,
boolean unwrap)
|
static Object |
unmarshall(Unmarshaller u,
Object source,
QName elName,
Class<?> clazz,
boolean unwrap)
|
static List<Object> |
unmarshallArray(Unmarshaller u,
Object source,
QName elName,
Class<?> clazz,
List<Object> ret)
|
static Exception |
unmarshallException(Unmarshaller u,
Object source,
MessagePartInfo part)
|
static Object |
unmarshalWithBridge(QName qname,
Class<?> cls,
Annotation[] anns,
Set<Class<?>> ctxClasses,
Object source,
AttachmentUnmarshaller am)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
marshall
public static void marshall(Marshaller marshaller,
Object elValue,
MessagePartInfo part,
Object source)
marshalWithBridge
public static void marshalWithBridge(QName qname,
Class<?> cls,
Annotation[] anns,
Set<Class<?>> ctxClasses,
Object elValue,
Object source,
AttachmentMarshaller am)
unmarshalWithBridge
public static Object unmarshalWithBridge(QName qname,
Class<?> cls,
Annotation[] anns,
Set<Class<?>> ctxClasses,
Object source,
AttachmentUnmarshaller am)
marshallException
public static void marshallException(Marshaller marshaller,
Exception elValue,
MessagePartInfo part,
Object source)
unmarshallException
public static Exception unmarshallException(Unmarshaller u,
Object source,
MessagePartInfo part)
marshallNullElement
public static void marshallNullElement(Marshaller marshaller,
Object source,
MessagePartInfo part)
unmarshall
public static Object unmarshall(Unmarshaller u,
Object source,
MessagePartInfo part,
boolean unwrap)
unmarshall
public static Object unmarshall(Unmarshaller u,
Object source,
QName elName,
Class<?> clazz,
boolean unwrap)
getElementValue
public static Object getElementValue(Object obj)
getClassFromType
public static Class<?> getClassFromType(Type t)
unmarshallArray
public static List<Object> unmarshallArray(Unmarshaller u,
Object source,
QName elName,
Class<?> clazz,
List<Object> ret)
Apache CXF