public class ERXWOXMLCoder
extends com.webobjects.appserver.xml.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.
|
Constructor and Description |
---|
ERXWOXMLCoder(String s) |
Modifier and Type | Method and Description |
---|---|
protected void |
_encodeEO(com.webobjects.eocontrol.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 com.webobjects.appserver.xml.WOXMLCoder
public String xmlTagForPropertyKey(String key, String className)
xmlTagForPropertyKey
in class com.webobjects.appserver.xml.WOXMLCoder
protected void _encodeEO(com.webobjects.eocontrol.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 com.webobjects.appserver.xml.WOXMLCoder
public void encodeObjectWithXMLTag(Object obj, String baseTag, boolean codeBasedOnClass, int outputTags)
public void encodeBooleanForKey(boolean flag, String s)
encodeBooleanForKey
in class com.webobjects.appserver.xml.WOXMLCoder
public void encodeIntForKey(int i, String s)
encodeIntForKey
in class com.webobjects.appserver.xml.WOXMLCoder
public void encodeFloatForKey(float f, String s)
encodeFloatForKey
in class com.webobjects.appserver.xml.WOXMLCoder
public void encodeDoubleForKey(double d, String s)
encodeDoubleForKey
in class com.webobjects.appserver.xml.WOXMLCoder
protected void _encodeNullForKey(String s)
_encodeNullForKey
in class com.webobjects.appserver.xml.WOXMLCoder
Copyright © 2002 – 2020 Project Wonder.