com.webobjects.webservices.support.xml
Class WOEnterpriseObjectDeserializer
java.lang.Object
|
+--DeserializerImpl
|
+--com.webobjects.webservices.support.xml.WOEnterpriseObjectDeserializer
- All Implemented Interfaces:
- WOSoapConstants
- public class WOEnterpriseObjectDeserializer
- extends DeserializerImpl
- implements WOSoapConstants
WOEnterpriseObjectDeserializer deserializes instances of classes implementing EOEnterpriseObject. Users must register
a separate WOEnterpriseObjectDeserializer for every class implementing WOEnterpriseObjectDeserializer which is not a
subclass of EOGenericRecord or EOCustomRecord.
- See Also:
- Serialized Form
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 |
protected Object |
mergeProperties(Object subject,
WOStringKeyMap properties,
String keyPathPrefix,
WOEnterpriseObjectSerializationStrategy strategy)
|
void |
onEndElement(String namespace,
String localName,
DeserializationContext context)
|
SOAPHandler |
onStartChild(String namespace,
String localName,
String prefix,
Attributes attributes,
DeserializationContext context)
|
void |
onStartElement(String namespace,
String localName,
String prefix,
Attributes attributes,
DeserializationContext context)
|
void |
setEntityName(Object name)
Set the name of the class to which an element will be deserialized. |
void |
setGlobalID(Object gid)
Set the globalID of the object to be instantiated. |
void |
setProperties(Object map)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WOEnterpriseObjectDeserializer
public WOEnterpriseObjectDeserializer()
mergeProperties
protected Object mergeProperties(Object subject,
WOStringKeyMap properties,
String keyPathPrefix,
WOEnterpriseObjectSerializationStrategy strategy)
onEndElement
public void onEndElement(String namespace,
String localName,
DeserializationContext context)
throws SAXException
SAXException
onStartChild
public SOAPHandler onStartChild(String namespace,
String localName,
String prefix,
Attributes attributes,
DeserializationContext context)
throws SAXException
SAXException
onStartElement
public void onStartElement(String namespace,
String localName,
String prefix,
Attributes attributes,
DeserializationContext context)
throws SAXException
SAXException
setEntityName
public void setEntityName(Object name)
throws SAXException
- Set the name of the class to which an element will be deserialized.
- Parameters:
name
- String name of the entity class to be instantiated
SAXException
setGlobalID
public void setGlobalID(Object gid)
throws SAXException
- Set the globalID of the object to be instantiated.
- Parameters:
gid
- the EOGlobalID for the object to be instantiated.
SAXException
setProperties
public void setProperties(Object map)
throws SAXException
SAXException
Copyright © 2003 Apple Computer, Inc.