Package javax.xml.rpc.encoding
Interface SerializerFactory
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
SerializerFactory
- All Known Implementing Classes:
ArraySerializerFactory,Base64SerializerFactory,BaseSerializerFactory,BeanSerializerFactory,CalendarSerializerFactory,CastorEnumTypeSerializerFactory,CastorSerializerFactory,DateSerializerFactory,DocumentSerializerFactory,ElementSerializerFactory,EnumSerializerFactory,HexSerializerFactory,JAFDataHandlerSerializerFactory,MapSerializerFactory,QNameSerializerFactory,SimpleListSerializerFactory,SimpleSerializerFactory,TimeSerializerFactory,VectorSerializerFactory,XmlBeanSerializerFactory
The javax.xml.rpc.encoding.SerializerFactory is a factory of
the serializers. A SerializerFactory is registered with a
TypeMapping object as part of the TypeMappingRegistry.
- Version:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptiongetSerializerAs(String mechanismType) Returns a Serializer for the specified XML processing mechanism type.Returns an Iterator over all XML processing mechanism types supported by thisSerializerFactory.
-
Method Details
-
getSerializerAs
Returns a Serializer for the specified XML processing mechanism type.- Parameters:
mechanismType- - XML processing mechanism type [TBD: definition of valid constants]- Returns:
- a
Serializerfor the specified XML processing mechanism type - Throws:
JAXRPCException- ifSerializerFactorydoes not support the specified XML processing mechanismIllegalArgumentException- if an invalid mechanism type is specified
-
getSupportedMechanismTypes
Iterator getSupportedMechanismTypes()Returns an Iterator over all XML processing mechanism types supported by thisSerializerFactory.- Returns:
- an Iterator over the mechanism types (
Strings?)
-