org.apache.axis.encoding.ser
Class EnumSerializer
java.lang.Object
|
+--org.apache.axis.encoding.ser.SimpleSerializer
|
+--org.apache.axis.encoding.ser.EnumSerializer
- All Implemented Interfaces:
- java.io.Serializable, Serializer, Serializer
- public class EnumSerializer
- extends SimpleSerializer
- implements Serializer
Serializer for a JAX-RPC enum.
- Author:
- Rich Scheuerle , Sam Ruby
- See Also:
- Serialized Form
Field Summary |
protected static org.apache.commons.logging.Log |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.apache.commons.logging.Log log
EnumSerializer
public EnumSerializer(java.lang.Class javaType,
QName xmlType)
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
- Overrides:
serialize
in class SimpleSerializer
- Following copied from interface:
org.apache.axis.encoding.Serializer
- Parameters:
name
- is the element nameattributes
- are the attributes...serialize is free to add more.value
- is the valuecontext
- is the SerializationContext
Copyright © 2002 Apache XML Project. All Rights Reserved.