Package 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
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Class<?>getClassFromType(Type t)static ObjectgetElementValue(Object obj)static voidmarshall(javax.xml.bind.Marshaller marshaller, Object elValue, org.apache.cxf.service.model.MessagePartInfo part, Object source)static voidmarshallException(javax.xml.bind.Marshaller marshaller, Exception elValue, org.apache.cxf.service.model.MessagePartInfo part, Object source)static voidmarshallNullElement(javax.xml.bind.Marshaller marshaller, Object source, org.apache.cxf.service.model.MessagePartInfo part)static voidmarshalWithBridge(QName qname, Class<?> cls, Annotation[] anns, Set<Class<?>> ctxClasses, Object elValue, Object source, javax.xml.bind.attachment.AttachmentMarshaller am)static Objectunmarshall(javax.xml.bind.Unmarshaller u, Object source, QName elName, Class<?> clazz, boolean unwrap)static Objectunmarshall(javax.xml.bind.Unmarshaller u, Object source, org.apache.cxf.service.model.MessagePartInfo part, boolean unwrap)static List<Object>unmarshallArray(javax.xml.bind.Unmarshaller u, Object source, QName elName, Class<?> clazz, List<Object> ret)static ExceptionunmarshallException(javax.xml.bind.Unmarshaller u, Object source, org.apache.cxf.service.model.MessagePartInfo part)static ObjectunmarshalWithBridge(QName qname, Class<?> cls, Annotation[] anns, Set<Class<?>> ctxClasses, Object source, javax.xml.bind.attachment.AttachmentUnmarshaller am)
-
-
-
Method Detail
-
marshall
public static void marshall(javax.xml.bind.Marshaller marshaller, Object elValue, org.apache.cxf.service.model.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, org.apache.cxf.service.model.MessagePartInfo part, Object source)
-
unmarshallException
public static Exception unmarshallException(javax.xml.bind.Unmarshaller u, Object source, org.apache.cxf.service.model.MessagePartInfo part)
-
marshallNullElement
public static void marshallNullElement(javax.xml.bind.Marshaller marshaller, Object source, org.apache.cxf.service.model.MessagePartInfo part)
-
unmarshall
public static Object unmarshall(javax.xml.bind.Unmarshaller u, Object source, org.apache.cxf.service.model.MessagePartInfo part, boolean unwrap)
-
unmarshall
public static Object unmarshall(javax.xml.bind.Unmarshaller u, Object source, QName elName, Class<?> clazz, boolean unwrap)
-
-