WebObjects 5.3

com.webobjects.webservices.support.xml
Class WOTimeZoneSerializer

java.lang.Object
  extended bycom.webobjects.webservices.support.xml.WOTimeZoneSerializer
All Implemented Interfaces:
Serializable, javax.xml.rpc.encoding.Serializer, org.apache.axis.encoding.Serializer, WOSoapConstants

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

WOTimeZoneSerializer serializes instances of NSTimeZone.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class 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, NSKVCNULL_QNAME, NSRANGE_QNAME, NSTIMESTAMP_QNAME, NSTIMEZONE_QNAME, SOAP_ENC_PREFIX, SOAP_URI, WOSOAP_URI, WOSTRINGKEYMAP_QNAME, XSD_URI, XSI_TYPE, XSI_URI
 
Constructor Summary
WOTimeZoneSerializer()
           
 
Method Summary
 String getMechanismType()
           
 void serialize(javax.xml.namespace.QName name, Attributes attributes, Object value, org.apache.axis.encoding.SerializationContext context)
          Serialize an element that is an NSTimeZone.
 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.
 boolean writeSchema(org.apache.axis.wsdl.fromJava.Types types)
          Return XML schema for the specified type, suitable for insertion into the element of a WSDL document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WOTimeZoneSerializer

public WOTimeZoneSerializer()
Method Detail

getMechanismType

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

serialize

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

Specified by:
serialize in interface org.apache.axis.encoding.Serializer
Parameters:
name - the element name which will appear in the XML
attributes - are the attributes...serialize is free to add more.
value - the NSTimeZone to serialize
context - is the SerializationContext
Throws:
IOException

writeSchema

public boolean writeSchema(org.apache.axis.wsdl.fromJava.Types types)
                    throws Exception
Return XML schema for the specified type, suitable for insertion into the element of a WSDL document.

Parameters:
types - the Java2WSDL Types object which holds the context for the WSDL being generated.
Returns:
true if we wrote a schema, false if we didn't.
Throws:
Exception
See Also:
Types

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.

Specified by:
writeSchema in interface org.apache.axis.encoding.Serializer
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 Thu May 26 13:46:12 PDT 2005.

Copyright © 2005 Apple Computer, Inc.