WebObjects 5.4.2

com.webobjects.webservices.support.xml
Class WOStringKeyMapSerializer

java.lang.Object
  extended by com.webobjects.webservices.support.xml.WOStringKeyMapSerializer
All Implemented Interfaces:
WOSoapConstants, Serializable, javax.xml.rpc.encoding.Serializer

public class WOStringKeyMapSerializer
extends Object
implements org.apache.axis.encoding.Serializer, WOSoapConstants

WOStringKeyMapSerializer serializes instances of WOStringKeyMap.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.webobjects.webservices.support.xml.WOSoapConstants
WOSoapConstants.WOXMLAttributes
 
Field Summary
 
Fields inherited from interface com.webobjects.webservices.support.xml.WOSoapConstants
EOENTERPRISEOBJECT_QNAME, EOGLOBALID_QNAME, EOGLOBALID_QNAME_WEBSERVICESCORE_WORKAROUND, NS_PREFIX_WOSOAP_ENC, NSARRAY_QNAME, NSDATA_QNAME, NSDICTIONARY_QNAME, NSKVCNULL_QNAME, NSRANGE_QNAME, NSSET_QNAME, NSTIMESTAMP_QNAME, NSTIMEZONE_QNAME, SOAP_ENC_PREFIX, SOAP_URI, WOSOAP_URI, WOSTRINGKEYMAP_QNAME, XSD_URI, XSI_TYPE, XSI_URI
 
Constructor Summary
WOStringKeyMapSerializer()
           
 
Method Summary
 String getMechanismType()
           
 void serialize(QName name, Attributes attributes, Object value, org.apache.axis.encoding.SerializationContext context)
          Serialize an element that is an WOStringKeyMap.
 Element writeSchema(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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WOStringKeyMapSerializer

public WOStringKeyMapSerializer()
Method Detail

serialize

public void serialize(QName name,
                      Attributes attributes,
                      Object value,
                      org.apache.axis.encoding.SerializationContext context)
               throws IOException
Serialize an element that is an WOStringKeyMap.

Parameters:
name - the element name which will appear in the XML
attributes - are the attributes...serialize is free to add more.
value - the WOStringKeyMap to serialize
context - is the SerializationContext
Throws:
IOException

getMechanismType

public String getMechanismType()
Specified by:
getMechanismType in interface javax.xml.rpc.encoding.Serializer

writeSchema

public Element writeSchema(Class javaType,
                           org.apache.axis.wsdl.fromJava.Types types)
                    throws 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.

Parameters:
javaType - the Java Class we're writing out schema for
types - the Java2WSDL Types object which holds the context for the WSDL being generated.
Returns:
a type element containing a schema simpleType/complexType
Throws:
Exception
See Also:
Types

Last updated June 2008

Copyright © 2000-2008 Apple Inc.