
javax.xml.rpc.encoding.SerializerFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jboss-jaxrpc-api_1.1_spec Show documentation
Show all versions of jboss-jaxrpc-api_1.1_spec Show documentation
JSR-101: Java(TM) API for XML-based RPC (JAX-RPC) 1.1
package javax.xml.rpc.encoding;
import java.io.Serializable;
import java.util.Iterator;
/**
* This is a factory of the serializers. A SerializerFactory is registered
* with a TypeMapping object as part of the TypeMappingRegistry.
*
* @see Serializer
* @see TypeMapping
* @see TypeMappingRegistry
*
* @author [email protected]
*/
public interface SerializerFactory extends Serializable
{
/** Returns a Serializer for the specified XML processing mechanism type.
*
* @param mechanismType XML processing mechanism type [TBD: definition of valid constants]
* @return A Serializer
* @throws javax.xml.rpc.JAXRPCException If SerializerFactory does not support the specified XML processing mechanism
* @throws IllegalArgumentException If an invalid mechanism type is specified.
*/
public Serializer getSerializerAs(String mechanismType);
/** Returns a list of all XML processing mechanism types supported by this SerializerFactory.
* @return List of unique identifiers for the supported XML processing mechanism types
*/
public Iterator getSupportedMechanismTypes();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy