public class ERXWOXMLCoder extends WOXMLCoder
Modifier and Type | Class and Description |
---|---|
static class |
ERXWOXMLCoder.XMLData
Quick and dirty class to en- and decode the generic xml data to full-fledged objects that
can be bound in the edit interface.
|
_buffer, _encodedClasses, _idMap, xmlDeclaration
Constructor and Description |
---|
ERXWOXMLCoder(String s) |
Modifier and Type | Method and Description |
---|---|
protected void |
_encodeEO(EOEnterpriseObject eoenterpriseobject) |
protected void |
_encodeNullForKey(String s) |
protected void |
encodeArrayWithXMLTag(NSArray arr,
String tag,
boolean codeBasedOnClass,
int outputTags) |
void |
encodeBooleanForKey(boolean flag,
String s) |
protected void |
encodeDictionaryWithXMLTag(NSDictionary dict,
String tag) |
void |
encodeDoubleForKey(double d,
String s) |
void |
encodeFloatForKey(float f,
String s) |
void |
encodeIntForKey(int i,
String s) |
void |
encodeObjectForKey(Object obj,
String key) |
void |
encodeObjectWithXMLTag(Object obj,
String baseTag,
boolean codeBasedOnClass,
int outputTags) |
String |
encodeRootObjectForKey(Object obj,
String s) |
protected NSArray |
sortedArray(NSArray arr) |
protected Enumeration |
sortedEnumeration(Enumeration e) |
String |
xmlTagForClassNamed(String className) |
String |
xmlTagForPropertyKey(String key,
String className) |
_encodeArrayForKey, _encodeBooleanForKey, _encodeDataForKey, _encodeDateForKey, _encodeDictionaryForKey, _encodeEOEnterpriseObjectForKey, _encodeNumberForKey, _encodeStringForKey, _encodeWOXMLCodingForKey, coder, coderWithMapping, cr, encodedClassName, encodeObjectInTag, encodeReferenceInTag, encodeStringInTag, escapeString, setXmlDeclaration, setXmlDeclaration, typeNeedsIndentation, xmlDeclaration
public ERXWOXMLCoder(String s)
public String xmlTagForClassNamed(String className)
xmlTagForClassNamed
in class WOXMLCoder
public String xmlTagForPropertyKey(String key, String className)
xmlTagForPropertyKey
in class WOXMLCoder
protected void _encodeEO(EOEnterpriseObject eoenterpriseobject)
protected Enumeration sortedEnumeration(Enumeration e)
protected void encodeDictionaryWithXMLTag(NSDictionary dict, String tag)
protected void encodeArrayWithXMLTag(NSArray arr, String tag, boolean codeBasedOnClass, int outputTags)
public void encodeObjectForKey(Object obj, String key)
encodeObjectForKey
in class WOXMLCoder
public void encodeObjectWithXMLTag(Object obj, String baseTag, boolean codeBasedOnClass, int outputTags)
public void encodeBooleanForKey(boolean flag, String s)
encodeBooleanForKey
in class WOXMLCoder
public void encodeIntForKey(int i, String s)
encodeIntForKey
in class WOXMLCoder
public void encodeFloatForKey(float f, String s)
encodeFloatForKey
in class WOXMLCoder
public void encodeDoubleForKey(double d, String s)
encodeDoubleForKey
in class WOXMLCoder
protected void _encodeNullForKey(String s)
_encodeNullForKey
in class WOXMLCoder
public String encodeRootObjectForKey(Object obj, String s)
encodeRootObjectForKey
in class WOXMLCoder
Copyright © 2002 – 2024 Project Wonder.