com.webobjects.webservices.support.xml
Class  WOGlobalIDSerializer
com.webobjects.webservices.support.xml.WOGlobalIDSerializer
- All Implemented Interfaces: 
- WOSoapConstants
- public class WOGlobalIDSerializer- implements WOSoapConstants
WOGlobalIDSerializer serializes EOGlobalID instances.
 
| Fields inherited from interface com.webobjects.webservices.support.xml.WOSoapConstants | 
| EOENTERPRISEOBJECT_QNAME, EOGLOBALID_QNAME, NSKVCNULL_QNAME, NSRANGE_QNAME, NSTIMESTAMP_QNAME, NSTIMEZONE_QNAME, SOAP_ENC_PREFIX, SOAP_URI, WOSOAP_URI, WOSTRINGKEYMAP_QNAME, XSD_URI, XSI_TYPE, XSI_URI | 
 
 
| Method Summary | 
|  String | getMechanismType()
 | 
|  void | serialize(javax.xml.namespace.QName name,
          org.xml.sax.Attributes attributes,
          Object value,
          com.webobjects.webservices.support.xml.SerializationContext context)Serialize an EOGlobalID.
 | 
|  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.
 | 
 
WOGlobalIDSerializer
public WOGlobalIDSerializer()
getMechanismType
public String getMechanismType()
- 
 
serialize
public void serialize(javax.xml.namespace.QName name,
                      org.xml.sax.Attributes attributes,
                      Object value,
                      com.webobjects.webservices.support.xml.SerializationContext context)
               throws IOException
- Serialize an EOGlobalID. Will throw an IOException if valueis not an instance of EOGlobalID.
- 
 
- 
- Parameters:
- name- is the element name that will appear in the XML
- attributes- are the attributes...serialize is free to add more.
- value- is the EOGlobalID to be serialized
- context- is the SerializationContext
 
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.
- See Also: 
- Types
 
Copyright © 2003 Apple Computer, Inc.