Package org.apache.cxf.aegis.databinding
Class AegisDatabinding
java.lang.Object
org.apache.cxf.databinding.AbstractDataBinding
org.apache.cxf.aegis.databinding.AegisDatabinding
- All Implemented Interfaces:
org.apache.cxf.databinding.DataBinding
public class AegisDatabinding
extends org.apache.cxf.databinding.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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intprotected static final intprotected static final intFields inherited from class org.apache.cxf.databinding.AbstractDataBinding
mtomEnabled, mtomThreshold -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> org.apache.cxf.databinding.DataReader<T>createReader(Class<T> cls) <T> org.apache.cxf.databinding.DataWriter<T>createWriter(Class<T> cls) org.apache.cxf.service.model.MessagePartInfogetPartFromClass(Class<?> cls) org.apache.cxf.service.ServicegetSuggestedName(org.apache.cxf.service.Service s, TypeMapping tm, org.apache.cxf.service.model.OperationInfo op, int param) Class<?>[]Class<?>[]getType(org.apache.cxf.service.model.MessagePartInfo part) getTypeFromClass(Class<?> cls) voidinitialize(org.apache.cxf.service.Service s) Set up the data binding for a service.protected voidinitializeMessage(org.apache.cxf.service.Service s, TypeMapping serviceTM, org.apache.cxf.service.model.AbstractMessageContainer container, int partType, Set<AegisType> deps) protected voidinitializeMessageTypes(org.apache.cxf.service.model.ServiceInfo s, org.apache.cxf.service.model.AbstractMessageContainer container, int partType) booleanvoidsetAegisContext(AegisContext aegisContext) voidsetConfiguration(TypeCreationOptions configuration) voidsetMtomUseXmime(boolean mtomUseXmime) voidsetOverrideTypes(Set<String> types) Methods inherited from class org.apache.cxf.databinding.AbstractDataBinding
addSchemaDocument, addSchemaDocument, checkNamespaceMap, getBus, getContextualNamespaceMap, getDeclaredNamespaceMappings, getMtomThreshold, getNamespaceMap, getSchemas, isMtomEnabled, setBus, setContextualNamespaceMap, setMtomEnabled, setMtomThreshold, setNamespaceMap, setSchemas, updateSchemaLocation
-
Field Details
-
IN_PARAM
protected static final int IN_PARAM- See Also:
-
OUT_PARAM
protected static final int OUT_PARAM- See Also:
-
FAULT_PARAM
protected static final int FAULT_PARAM- See Also:
-
-
Constructor Details
-
AegisDatabinding
public AegisDatabinding() -
AegisDatabinding
-
-
Method Details
-
createReader
-
createWriter
-
getSupportedReaderFormats
-
getSupportedWriterFormats
-
initialize
public void initialize(org.apache.cxf.service.Service s) Set up the data binding for a service. -
initializeMessage
protected void initializeMessage(org.apache.cxf.service.Service s, TypeMapping serviceTM, org.apache.cxf.service.model.AbstractMessageContainer container, int partType, Set<AegisType> deps) -
initializeMessageTypes
protected void initializeMessageTypes(org.apache.cxf.service.model.ServiceInfo s, org.apache.cxf.service.model.AbstractMessageContainer container, int partType) -
getSuggestedName
public QName getSuggestedName(org.apache.cxf.service.Service s, TypeMapping tm, org.apache.cxf.service.model.OperationInfo op, int param) -
getType
-
getPartFromClass
-
getTypeFromClass
-
getService
public org.apache.cxf.service.Service getService() -
getAegisContext
-
setAegisContext
-
setOverrideTypes
-
setConfiguration
-
isMtomUseXmime
public boolean isMtomUseXmime() -
setMtomUseXmime
public void setMtomUseXmime(boolean mtomUseXmime)
-