org.apache.cxf.aegis.databinding
Class AegisDatabinding
java.lang.Object
org.apache.cxf.databinding.AbstractDataBinding
org.apache.cxf.aegis.databinding.AegisDatabinding
- All Implemented Interfaces:
- DataBinding
public class AegisDatabinding
- extends AbstractDataBinding
CXF databinding object for Aegis. By default, this creates an AegisContext object. To customize the
behavior of the binding, an application should create its own AegisContext object and pass it to
setAegisContext(AegisContext)
before any call to initialize(Service)
. That does
not require special arrangements; the service factories do not call {initialize(Service)
until
after the application passes the data binding into the factory. This class adds root classes to the context
based on the SEI and implementation.
- See Also:
AegisContext
Methods inherited from class org.apache.cxf.databinding.AbstractDataBinding |
addSchemaDocument, addSchemaDocument, checkNamespaceMap, getBus, getDeclaredNamespaceMappings, getMtomThreshold, getNamespaceMap, getSchemas, isMtomEnabled, setBus, setMtomEnabled, setMtomThreshold, setNamespaceMap, setSchemas, updateSchemaLocation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IN_PARAM
protected static final int IN_PARAM
- See Also:
- Constant Field Values
OUT_PARAM
protected static final int OUT_PARAM
- See Also:
- Constant Field Values
FAULT_PARAM
protected static final int FAULT_PARAM
- See Also:
- Constant Field Values
AegisDatabinding
public AegisDatabinding()
createReader
public <T> DataReader<T> createReader(Class<T> cls)
-
createWriter
public <T> DataWriter<T> createWriter(Class<T> cls)
-
getSupportedReaderFormats
public Class<?>[] getSupportedReaderFormats()
-
getSupportedWriterFormats
public Class<?>[] getSupportedWriterFormats()
-
initialize
public void initialize(Service s)
- Initialize the service info (i.e. type & element names, Schemas) with
information from the databinding. Set up the data binding for a service.
initializeMessage
protected void initializeMessage(Service s,
TypeMapping serviceTM,
AbstractMessageContainer container,
int partType,
Set<AegisType> deps)
initializeMessageTypes
protected void initializeMessageTypes(ServiceInfo s,
AbstractMessageContainer container,
int partType)
getSuggestedName
public QName getSuggestedName(Service s,
TypeMapping tm,
OperationInfo op,
int param)
getType
public AegisType getType(MessagePartInfo part)
getPartFromClass
public MessagePartInfo getPartFromClass(Class<?> cls)
getTypeFromClass
public AegisType getTypeFromClass(Class<?> cls)
getService
public Service getService()
getAegisContext
public AegisContext getAegisContext()
setAegisContext
public void setAegisContext(AegisContext aegisContext)
setOverrideTypes
public void setOverrideTypes(Set<String> types)
setConfiguration
public void setConfiguration(TypeCreationOptions configuration)
isMtomUseXmime
public boolean isMtomUseXmime()
setMtomUseXmime
public void setMtomUseXmime(boolean mtomUseXmime)
Apache CXF