public class DefaultTypeMappingImpl extends TypeMappingImpl
TypeMappingImpl.PairdoAutoTypes, dotnet_soapenc_bugfix, log| Modifier | Constructor and Description |
|---|---|
protected |
DefaultTypeMappingImpl() |
protected |
DefaultTypeMappingImpl(boolean noMappings) |
| Modifier and Type | Method and Description |
|---|---|
static TypeMappingDelegate |
getSingletonDelegate()
Obtain the singleton default typemapping.
|
protected void |
initMappings() |
protected void |
myRegister(QName xmlType,
java.lang.Class javaType,
SerializerFactory sf,
DeserializerFactory df)
Construct TypeMapping for all the [xmlType, javaType] for all of the
known xmlType namespaces.
|
protected void |
myRegisterSimple(QName xmlType,
java.lang.Class javaType)
Register a "simple" type mapping - in other words, a
|
void |
register(java.lang.Class javaType,
QName xmlType,
SerializerFactory sf,
DeserializerFactory dsf)
Registers SerializerFactory and DeserializerFactory for a
specific type mapping between an XML type and Java type.
|
void |
removeDeserializer(java.lang.Class javaType,
QName xmlType)
Removes the DeserializerFactory registered for the specified
pair of Java type and XML data type.
|
void |
removeSerializer(java.lang.Class javaType,
QName xmlType)
Removes the SerializerFactory registered for the specified
pair of Java type and XML data type.
|
void |
setSupportedEncodings(java.lang.String[] namespaceURIs)
Sets the list of encoding styles supported by this TypeMapping object.
|
finalGetDeserializer, finalGetSerializer, getAllClasses, getClassForQName, getDeserializer, getSerializer, getSupportedEncodings, getTypeQName, getTypeQNameExact, getTypeQNameRecursive, getXMLType, internalRegister, isRegistered, setDoAutoTypes, shouldDoAutoTypesprotected DefaultTypeMappingImpl()
protected DefaultTypeMappingImpl(boolean noMappings)
public static TypeMappingDelegate getSingletonDelegate()
protected void initMappings()
protected void myRegisterSimple(QName xmlType, java.lang.Class javaType)
xmlType - javaType - protected void myRegister(QName xmlType, java.lang.Class javaType, SerializerFactory sf, DeserializerFactory df)
xmlType - is the QName typejavaType - is the java typesf - is the ser factory (if null, the simple factory is used)df - is the deser factory (if null, the simple factory is used)public void register(java.lang.Class javaType,
QName xmlType,
SerializerFactory sf,
DeserializerFactory dsf)
throws JAXRPCException
TypeMappingImplregister in class TypeMappingImpljavaType - - Class of the Java typexmlType - - Qualified name of the XML data typesf - - SerializerFactorydsf - - DeserializerFactoryJAXRPCException - - If any error during the registrationpublic void removeSerializer(java.lang.Class javaType,
QName xmlType)
throws JAXRPCException
TypeMappingImplremoveSerializer in class TypeMappingImpljavaType - - Class of the Java typexmlType - - Qualified name of the XML data typeJAXRPCException - - If there is error in
removing the registered SerializerFactorypublic void removeDeserializer(java.lang.Class javaType,
QName xmlType)
throws JAXRPCException
TypeMappingImplremoveDeserializer in class TypeMappingImpljavaType - - Class of the Java typexmlType - - Qualified name of the XML data typeJAXRPCException - - If there is error in
removing the registered DeserializerFactorypublic void setSupportedEncodings(java.lang.String[] namespaceURIs)
TypeMappingImplsetSupportedEncodings in class TypeMappingImplnamespaceURIs - String[] of namespace URI'sCopyright ? 2005 Apache Web Services Project. All Rights Reserved.