|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.jdc.lang.Object
|
+--com.jdc.lang.ObjectState
|
+--com.jdc.lang.ObjectXML
ObjectXML is an XML representation of an Object.
ObjectString| Field Summary |
| Fields inherited from class com.jdc.lang.ObjectState |
object |
| Fields inherited from class com.jdc.lang.Object |
string |
| Constructor Summary | |
ObjectXML(Object object)
Constructs a new ObjectXML object for the specified object. |
|
| Method Summary | |
ObjectXML |
exclude(Object field)
Excludes the requested field name in an XML representation of an object. |
ObjectXML |
exclude(Object[] fields)
Excludes the requested field names in an XML representation of an object. |
ObjectXML |
include(String fieldName)
Includes the requested field name in an XML representation of an object. |
ObjectXML |
include(String[] fieldNames)
Includes the requested field names in an XML representation of an object. |
ObjectXML |
include(String[] fieldNames,
String[] xmlNames)
Includes the requested field names and XML aliases in an XML representation of an object. |
ObjectXML |
include(String fieldName,
String xmlName)
Includes the requested field name in an XML representation of an object. |
static void |
main(String[] args)
Tests the ObjectXML class. |
ObjectXML |
setLowerCase()
Sets the isLowerCase flag. |
ObjectXML |
setMixedCase()
Sets the isMixedCase flag. |
ObjectXML |
setUpperCase()
Sets the isUpperCase flag. |
String |
toString()
Returns an XML representation of an object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ObjectXML(Object object)
| Method Detail |
public ObjectXML exclude(Object field)
public ObjectXML exclude(Object[] fields)
public ObjectXML include(String fieldName)
public ObjectXML include(String fieldName,
String xmlName)
public ObjectXML include(String[] fieldNames)
public ObjectXML include(String[] fieldNames,
String[] xmlNames)
public ObjectXML setLowerCase()
public ObjectXML setMixedCase()
public ObjectXML setUpperCase()
public String toString()
toString in class Objectpublic static void main(String[] args)
|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||