Package javax.xml.rpc.encoding
Interface SerializerFactory
-
- All Superinterfaces:
java.io.Serializable
public interface SerializerFactory extends java.io.Serializable
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:
- $Rev: 467553 $ $Date: 2006-10-25 00:01:51 -0400 (Wed, 25 Oct 2006) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Serializer
getSerializerAs(java.lang.String mechanismType)
Returns a Serializer for the specified XML processing mechanism type.java.util.Iterator
getSupportedMechanismTypes()
Returns an Iterator over all XML processing mechanism types supported by thisSerializerFactory
.
-
-
-
Method Detail
-
getSerializerAs
Serializer getSerializerAs(java.lang.String mechanismType)
Returns a Serializer for the specified XML processing mechanism type.- Parameters:
mechanismType
- - XML processing mechanism type [TBD: definition of valid constants]- Returns:
- a
Serializer
for the specified XML processing mechanism type - Throws:
JAXRPCException
- ifSerializerFactory
does not support the specified XML processing mechanismjava.lang.IllegalArgumentException
- if an invalid mechanism type is specified
-
getSupportedMechanismTypes
java.util.Iterator getSupportedMechanismTypes()
Returns an Iterator over all XML processing mechanism types supported by thisSerializerFactory
.- Returns:
- an Iterator over the mechanism types (
String
s?)
-
-