- All Superinterfaces:
- java.io.Serializable, javax.xml.rpc.encoding.Serializer
- All Known Subinterfaces:
- SimpleValueSerializer
- public interface Serializer
- extends javax.xml.rpc.encoding.Serializer
This interface describes the AXIS Serializer.
An Axis compliant Serializer must provide one or more
of the following methods:
public (Class javaType, QName xmlType)
public ()
This will allow for construction of generic factories that introspect the class
to determine how to construct a deserializer.
The xmlType, javaType arguments are filled in with the values known by the factory.
serialize
public void serialize(javax.xml.namespace.QName name,
org.xml.sax.Attributes attributes,
java.lang.Object value,
SerializationContext context)
throws java.io.IOException
- Serialize an element named name, with the indicated attributes
and value.
writeSchema
public org.w3c.dom.Element writeSchema(java.lang.Class javaType,
org.apache.axis.wsdl.fromJava.Types types)
throws java.lang.Exception
- Return XML schema for the specified type, suitable for insertion into
the <types> element of a WSDL document, or underneath an
<element> or <attribute> declaration.