FileDocCategorySizeDatePackage
Serializer.javaAPI DocApache Axis 1.42430Sat Apr 22 18:57:28 BST 2006org.apache.axis.encoding

Serializer

public interface Serializer implements 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.

Fields Summary
Constructors Summary
Methods Summary
public voidserialize(javax.xml.namespace.QName name, org.xml.sax.Attributes attributes, java.lang.Object value, SerializationContext context)
Serialize an element named name, with the indicated attributes and value.

param
name is the element name
param
attributes are the attributes...serialize is free to add more.
param
value is the value
param
context is the SerializationContext

public org.w3c.dom.ElementwriteSchema(java.lang.Class javaType, org.apache.axis.wsdl.fromJava.Types types)
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.

param
javaType the Java Class we're writing out schema for
param
types the Java2WSDL Types object which holds the context for the WSDL being generated.
return
a type element containing a schema simpleType/complexType
see
org.apache.axis.wsdl.fromJava.Types