org.apache.axis.encoding
Class EnumSerializer

java.lang.Object
  |
  +--org.apache.axis.encoding.EnumSerializer
All Implemented Interfaces:
java.io.Serializable, Serializer

public class EnumSerializer
extends java.lang.Object
implements Serializer, java.io.Serializable

Serializer for a JAX-RPC enum.

Author:
Rich Scheuerle
See Also:
Serialized Form

Inner Class Summary
static class EnumSerializer.EnumDeserializer
           
static class EnumSerializer.EnumDeserializerFactory
           
 
Constructor Summary
EnumSerializer(java.lang.Class cls)
           
 
Method Summary
static DeserializerFactory getFactory()
           
 void serialize(QName name, org.xml.sax.Attributes attributes, java.lang.Object value, SerializationContext context)
          Serialize an enumeration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumSerializer

public EnumSerializer(java.lang.Class cls)
Method Detail

serialize

public void serialize(QName name,
                      org.xml.sax.Attributes attributes,
                      java.lang.Object value,
                      SerializationContext context)
               throws java.io.IOException
Serialize an enumeration
Specified by:
serialize in interface Serializer

getFactory

public static DeserializerFactory getFactory()


Copyright © 2001 Apache XML Project. All Rights Reserved.