All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax.xml.rpc.encoding.SerializerFactory Maven / Gradle / Ivy

There is a newer version: 2.0.0.Final
Show newest version
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