|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--org.xeril.xml.SimpleXmlInfo
This class simply implements the XmlInfo by providing some default values.
| Constructor Summary | |
SimpleXmlInfo()
|
|
| Method Summary | |
XmlMapDescriptor[] |
getXmlMapDescriptors()
You can associate a map descriptor with each field of your object. |
java.lang.String |
getXmlName()
Returns the xml name that will be used. |
static XmlMapDescriptor |
hide(java.lang.String field_name)
This is a convenient method that returns and XmlMapDescriptor which simply hides the element. |
static XmlMapDescriptor |
rename(java.lang.String field_name,
java.lang.String xml_name)
This is a convenient method that returns and XmlMapDescriptor which simply renames the element. |
static XmlMapDescriptor |
setIndexedMapper(java.lang.String field_name,
java.lang.String xml_name,
XmlMapper indexed_mapper)
This is a convenient method that returns and XmlMapDescriptor which sets an indexed mapper and rename |
static XmlMapDescriptor |
setIndexedMapper(java.lang.String field_name,
XmlMapper indexed_mapper)
This is a convenient method that returns and XmlMapDescriptor which sets an indexed mapper. |
static XmlMapDescriptor |
setMapper(java.lang.String field_name,
java.lang.String xml_name,
XmlMapper mapper)
This is a convenient method that returns and XmlMapDescriptor which sets a mapper and rename |
static XmlMapDescriptor |
setMapper(java.lang.String field_name,
XmlMapper mapper)
This is a convenient method that returns and XmlMapDescriptor which sets a mapper. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimpleXmlInfo()
| Method Detail |
public XmlMapDescriptor[] getXmlMapDescriptors()
getXmlMapDescriptors in interface XmlInfoXmlMapDescriptorpublic java.lang.String getXmlName()
getXmlName in interface XmlInfopublic static XmlMapDescriptor hide(java.lang.String field_name)
field_name - the name of the field to hide
public static XmlMapDescriptor rename(java.lang.String field_name,
java.lang.String xml_name)
field_name - the name of the field to renamexml_name - the name of the xml tag
public static XmlMapDescriptor setMapper(java.lang.String field_name,
XmlMapper mapper)
field_name - the name of the field to renamemapper - the mapper to set
public static XmlMapDescriptor setMapper(java.lang.String field_name,
java.lang.String xml_name,
XmlMapper mapper)
field_name - the name of the field to renamexml_name - the name of the xml tagmapper - the mapper to set
public static XmlMapDescriptor setIndexedMapper(java.lang.String field_name,
XmlMapper indexed_mapper)
field_name - the name of the field to renameindexed_mapper - the indexed mapper to set
public static XmlMapDescriptor setIndexedMapper(java.lang.String field_name,
java.lang.String xml_name,
XmlMapper indexed_mapper)
field_name - the name of the field to renamexml_name - the name of the xml tagindexed_mapper - the indexed mapper to set
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||