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(javax.xml.bind.Marshaller marshaller,
Object elValue,
MessagePartInfo part,
Object source)
|
static void |
marshallException(javax.xml.bind.Marshaller marshaller,
Exception elValue,
MessagePartInfo part,
Object source)
|
static void |
marshallNullElement(javax.xml.bind.Marshaller marshaller,
Object source,
MessagePartInfo part)
|
static void |
marshalWithBridge(QName qname,
Class<?> cls,
Annotation[] anns,
Set<Class<?>> ctxClasses,
Object elValue,
Object source,
javax.xml.bind.attachment.AttachmentMarshaller am)
|
static Object |
unmarshall(javax.xml.bind.Unmarshaller u,
Object source,
MessagePartInfo part,
boolean unwrap)
|
static Object |
unmarshall(javax.xml.bind.Unmarshaller u,
Object source,
QName elName,
Class<?> clazz,
boolean unwrap)
|
static List<Object> |
unmarshallArray(javax.xml.bind.Unmarshaller u,
Object source,
QName elName,
Class<?> clazz,
List<Object> ret)
|
static Exception |
unmarshallException(javax.xml.bind.Unmarshaller u,
Object source,
MessagePartInfo part)
|
static Object |
unmarshalWithBridge(QName qname,
Class<?> cls,
Annotation[] anns,
Set<Class<?>> ctxClasses,
Object source,
javax.xml.bind.attachment.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(javax.xml.bind.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,
javax.xml.bind.attachment.AttachmentMarshaller am)
unmarshalWithBridge
public static Object unmarshalWithBridge(QName qname,
Class<?> cls,
Annotation[] anns,
Set<Class<?>> ctxClasses,
Object source,
javax.xml.bind.attachment.AttachmentUnmarshaller am)
marshallException
public static void marshallException(javax.xml.bind.Marshaller marshaller,
Exception elValue,
MessagePartInfo part,
Object source)
unmarshallException
public static Exception unmarshallException(javax.xml.bind.Unmarshaller u,
Object source,
MessagePartInfo part)
marshallNullElement
public static void marshallNullElement(javax.xml.bind.Marshaller marshaller,
Object source,
MessagePartInfo part)
unmarshall
public static Object unmarshall(javax.xml.bind.Unmarshaller u,
Object source,
MessagePartInfo part,
boolean unwrap)
unmarshall
public static Object unmarshall(javax.xml.bind.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(javax.xml.bind.Unmarshaller u,
Object source,
QName elName,
Class<?> clazz,
List<Object> ret)
Apache CXF