WebObjects 5.4.2

com.webobjects.webservices.support.xml
Class WORangeSerializer

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

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

WORangeSerializer serializes instances of NSRange.

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
WORangeSerializer()
           
 
Method Summary
 String getMechanismType()
           
 void serialize(QName name, Attributes attributes, Object value, org.apache.axis.encoding.SerializationContext context)
          Serialize an NSRange to an element named name, with the indicated attributes.
 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

WORangeSerializer

public WORangeSerializer()
Method Detail

serialize

public void serialize(QName name,
                      Attributes attributes,
                      Object value,
                      org.apache.axis.encoding.SerializationContext context)
               throws IOException
Serialize an NSRange to an element named name, with the indicated attributes.

Parameters:
name - the element name which will appear in the XML
attributes - are the attributes...serialize is free to add more.
value - the NSRange 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.