org.apache.cxf.aegis.databinding
Class AegisDatabinding
java.lang.Object
org.apache.cxf.databinding.source.AbstractDataBinding
org.apache.cxf.aegis.databinding.AegisDatabinding
- All Implemented Interfaces:
- org.apache.cxf.databinding.DataBinding
public class AegisDatabinding
- extends org.apache.cxf.databinding.source.AbstractDataBinding
- implements org.apache.cxf.databinding.DataBinding
Handles DataBinding functions for Aegis.
NOTE: There is an assumed 1:1 mapping between an AegisDatabinding and a Service!
| Methods inherited from class org.apache.cxf.databinding.source.AbstractDataBinding |
addSchemaDocument, checkNamespaceMap, getDeclaredNamespaceMappings, getNamespaceMap, getSchemas, setNamespaceMap, setSchemas |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.cxf.databinding.DataBinding |
getDeclaredNamespaceMappings |
CURRENT_MESSAGE_PART
public static final java.lang.String CURRENT_MESSAGE_PART
- See Also:
- Constant Field Values
TYPE_MAPPING_KEY
public static final java.lang.String TYPE_MAPPING_KEY
- See Also:
- Constant Field Values
ENCODING_URI_KEY
public static final java.lang.String ENCODING_URI_KEY
- See Also:
- Constant Field Values
WRITE_XSI_TYPE_KEY
public static final java.lang.String WRITE_XSI_TYPE_KEY
- See Also:
- Constant Field Values
OVERRIDE_TYPES_KEY
public static final java.lang.String OVERRIDE_TYPES_KEY
- See Also:
- Constant Field Values
READ_XSI_TYPE_KEY
public static final java.lang.String READ_XSI_TYPE_KEY
- See Also:
- Constant Field Values
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> org.apache.cxf.databinding.DataReader<T> createReader(java.lang.Class<T> cls)
- Specified by:
createReader in interface org.apache.cxf.databinding.DataBinding
createWriter
public <T> org.apache.cxf.databinding.DataWriter<T> createWriter(java.lang.Class<T> cls)
- Specified by:
createWriter in interface org.apache.cxf.databinding.DataBinding
getSupportedReaderFormats
public java.lang.Class<?>[] getSupportedReaderFormats()
- Specified by:
getSupportedReaderFormats in interface org.apache.cxf.databinding.DataBinding
getSupportedWriterFormats
public java.lang.Class<?>[] getSupportedWriterFormats()
- Specified by:
getSupportedWriterFormats in interface org.apache.cxf.databinding.DataBinding
getTypeMappingRegistry
public TypeMappingRegistry getTypeMappingRegistry()
setTypeMappingRegistry
public void setTypeMappingRegistry(TypeMappingRegistry typeMappingRegistry)
initialize
public void initialize(org.apache.cxf.service.Service s)
- Specified by:
initialize in interface org.apache.cxf.databinding.DataBinding
initializeMessage
protected void initializeMessage(org.apache.cxf.service.Service s,
TypeMapping serviceTM,
org.apache.cxf.service.model.AbstractMessageContainer container,
int partType,
java.util.Set<Type> deps)
initializeMessageTypes
protected void initializeMessageTypes(org.apache.cxf.service.model.ServiceInfo s,
org.apache.cxf.service.model.AbstractMessageContainer container,
int partType)
getSuggestedName
public javax.xml.namespace.QName getSuggestedName(org.apache.cxf.service.Service s,
TypeMapping tm,
org.apache.cxf.service.model.OperationInfo op,
int param)
getType
public Type getType(org.apache.cxf.service.model.MessagePartInfo part)
getOverrideTypes
public java.util.List getOverrideTypes()
getService
public org.apache.cxf.service.Service getService()
getConfiguration
public Configuration getConfiguration()
- Return the type mapping configuration associated with this databinding object.
The configuration is retrieved from the type mapping registry.
- Returns:
- Returns the configuration.
setConfiguration
public void setConfiguration(Configuration configuration)
- Set the configuration for this databinding object.
- Parameters:
configuration - The configuration to set.
Apache CXF is an effort undergoing incubation at the Apache Software Foundation(ASF) and sponsored by the Apache Incubator PMC.