|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cxf.databinding.AbstractDataBinding
org.apache.cxf.jaxb.JAXBDataBinding
public class JAXBDataBinding
Field Summary | |
---|---|
static java.lang.String |
MTOM_THRESHOLD
|
static java.lang.String |
SCHEMA_RESOURCE
|
static java.lang.String |
UNWRAP_JAXB_ELEMENT
|
static java.lang.String |
USE_JAXB_BRIDGE
|
Fields inherited from class org.apache.cxf.databinding.AbstractDataBinding |
---|
mtomThreshold |
Constructor Summary | |
---|---|
JAXBDataBinding()
|
|
JAXBDataBinding(boolean q)
|
|
JAXBDataBinding(java.lang.Class<?>... classes)
|
|
JAXBDataBinding(javax.xml.bind.JAXBContext context)
|
Method Summary | ||
---|---|---|
boolean |
addJaxbObjectFactory(javax.xml.bind.JAXBException e1)
|
|
static void |
clearCaches()
|
|
javax.xml.bind.JAXBContext |
createJAXBContext(java.util.Set<java.lang.Class<?>> classes)
|
|
javax.xml.bind.JAXBContext |
createJAXBContext(java.util.Set<java.lang.Class<?>> classes,
java.lang.String defaultNs)
|
|
org.apache.cxf.jaxb.JAXBDataBinding.CachedContextAndSchemas |
createJAXBContextAndSchemas(java.util.Set<java.lang.Class<?>> classes,
java.lang.String defaultNs)
|
|
|
createReader(java.lang.Class<T> c)
|
|
WrapperHelper |
createWrapperHelper(java.lang.Class<?> wrapperType,
java.util.List<java.lang.String> partNames,
java.util.List<java.lang.String> elTypeNames,
java.util.List<java.lang.Class<?>> partClasses)
|
|
|
createWriter(java.lang.Class<T> c)
|
|
javax.xml.bind.JAXBContext |
getContext()
|
|
java.util.Set<java.lang.Class<?>> |
getContextClasses()
|
|
java.util.Map<java.lang.String,java.lang.Object> |
getContextProperties()
Return a map of properties. |
|
java.lang.Class[] |
getExtraClass()
|
|
java.util.List<Interceptor> |
getInFaultInterceptors()
Returns the list of interceptors attached to the incoming fault interceptor chain of the object. |
|
java.util.List<Interceptor> |
getInInterceptors()
Returns the list of interceptors attached to the incoming interceptor chain of the object. |
|
javax.xml.bind.Marshaller.Listener |
getMarshallerListener()
Returns the Marshaller.Listener that will be registered on the Marshallers |
|
java.util.Map<java.lang.String,java.lang.Object> |
getMarshallerProperties()
Return a map of properties. |
|
java.util.List<Interceptor> |
getOutFaultInterceptors()
Returns the list of interceptors attached to the outgoing fault interceptor chain of the object. |
|
java.util.List<Interceptor> |
getOutInterceptors()
Returns the list of interceptors attached to the outgoing interceptor chain of the object. |
|
java.lang.Class<?>[] |
getSupportedReaderFormats()
|
|
java.lang.Class<?>[] |
getSupportedWriterFormats()
|
|
javax.xml.bind.Unmarshaller.Listener |
getUnmarshallerListener()
Returns the Unmarshaller.Listener that will be registered on the Unmarshallers |
|
java.util.Map<java.lang.String,java.lang.Object> |
getUnmarshallerProperties()
Return a map of properties. |
|
javax.xml.bind.ValidationEventHandler |
getValidationEventHandler()
|
|
void |
initialize(Service aservice)
Initialize the service info (i.e. |
|
void |
setContext(javax.xml.bind.JAXBContext ctx)
|
|
void |
setContextProperties(java.util.Map<java.lang.String,java.lang.Object> contextProperties)
Set a map of JAXB context properties. |
|
void |
setExtraClass(java.lang.Class[] userExtraClass)
|
|
void |
setMarshallerListener(javax.xml.bind.Marshaller.Listener marshallerListener)
Sets the Marshaller.Listener that will be registered on the Marshallers |
|
void |
setMarshallerProperties(java.util.Map<java.lang.String,java.lang.Object> marshallerProperties)
Set a map of JAXB marshaller properties. |
|
void |
setUnmarshallerListener(javax.xml.bind.Unmarshaller.Listener unmarshallerListener)
Sets the Unmarshaller.Listener that will be registered on the Unmarshallers |
|
void |
setUnmarshallerProperties(java.util.Map<java.lang.String,java.lang.Object> unmarshallerProperties)
Set a map of JAXB unmarshaller properties. |
|
void |
setValidationEventHandler(javax.xml.bind.ValidationEventHandler validationEventHandler)
|
Methods inherited from class org.apache.cxf.databinding.AbstractDataBinding |
---|
addSchemaDocument, checkNamespaceMap, getDeclaredNamespaceMappings, getMtomThreshold, getNamespaceMap, getSchemas, setMtomThreshold, setNamespaceMap, setSchemas, updateSchemaLocation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SCHEMA_RESOURCE
public static final java.lang.String MTOM_THRESHOLD
public static final java.lang.String UNWRAP_JAXB_ELEMENT
public static final java.lang.String USE_JAXB_BRIDGE
Constructor Detail |
---|
public JAXBDataBinding()
public JAXBDataBinding(boolean q)
public JAXBDataBinding(java.lang.Class<?>... classes) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public JAXBDataBinding(javax.xml.bind.JAXBContext context)
Method Detail |
---|
public javax.xml.bind.JAXBContext getContext()
public final void setContext(javax.xml.bind.JAXBContext ctx)
public <T> DataWriter<T> createWriter(java.lang.Class<T> c)
createWriter
in interface DataBinding
public java.lang.Class<?>[] getSupportedWriterFormats()
getSupportedWriterFormats
in interface DataBinding
public <T> DataReader<T> createReader(java.lang.Class<T> c)
createReader
in interface DataBinding
public java.lang.Class<?>[] getSupportedReaderFormats()
getSupportedReaderFormats
in interface DataBinding
public void initialize(Service aservice)
DataBinding
initialize
in interface DataBinding
public void setExtraClass(java.lang.Class[] userExtraClass)
public java.lang.Class[] getExtraClass()
public javax.xml.bind.JAXBContext createJAXBContext(java.util.Set<java.lang.Class<?>> classes) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public javax.xml.bind.JAXBContext createJAXBContext(java.util.Set<java.lang.Class<?>> classes, java.lang.String defaultNs) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public org.apache.cxf.jaxb.JAXBDataBinding.CachedContextAndSchemas createJAXBContextAndSchemas(java.util.Set<java.lang.Class<?>> classes, java.lang.String defaultNs) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public java.util.Set<java.lang.Class<?>> getContextClasses()
public boolean addJaxbObjectFactory(javax.xml.bind.JAXBException e1)
public java.util.Map<java.lang.String,java.lang.Object> getContextProperties()
public void setContextProperties(java.util.Map<java.lang.String,java.lang.Object> contextProperties)
contextProperties
- map of properties.public java.util.Map<java.lang.String,java.lang.Object> getMarshallerProperties()
public void setMarshallerProperties(java.util.Map<java.lang.String,java.lang.Object> marshallerProperties)
marshallerProperties
- map of properties.public java.util.Map<java.lang.String,java.lang.Object> getUnmarshallerProperties()
public void setUnmarshallerProperties(java.util.Map<java.lang.String,java.lang.Object> unmarshallerProperties)
unmarshallerProperties
- map of properties.public javax.xml.bind.Unmarshaller.Listener getUnmarshallerListener()
public void setUnmarshallerListener(javax.xml.bind.Unmarshaller.Listener unmarshallerListener)
unmarshallerListener
- public javax.xml.bind.Marshaller.Listener getMarshallerListener()
public void setMarshallerListener(javax.xml.bind.Marshaller.Listener marshallerListener)
marshallerListener
- public javax.xml.bind.ValidationEventHandler getValidationEventHandler()
public void setValidationEventHandler(javax.xml.bind.ValidationEventHandler validationEventHandler)
public static void clearCaches()
public WrapperHelper createWrapperHelper(java.lang.Class<?> wrapperType, java.util.List<java.lang.String> partNames, java.util.List<java.lang.String> elTypeNames, java.util.List<java.lang.Class<?>> partClasses)
createWrapperHelper
in interface WrapperCapableDatabinding
public java.util.List<Interceptor> getOutFaultInterceptors()
InterceptorProvider
getOutFaultInterceptors
in interface InterceptorProvider
List
outgoing fault interceptor chainpublic java.util.List<Interceptor> getInFaultInterceptors()
InterceptorProvider
getInFaultInterceptors
in interface InterceptorProvider
List
incoming fault interceptor chainpublic java.util.List<Interceptor> getInInterceptors()
InterceptorProvider
getInInterceptors
in interface InterceptorProvider
List
incoming interceptor chainpublic java.util.List<Interceptor> getOutInterceptors()
InterceptorProvider
getOutInterceptors
in interface InterceptorProvider
List
outgoing interceptor chain
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |