|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.xeril.xml.XmlMapDescriptor
This class holds the information for mapping a java field to an XML tag, and also to a type if necessary.
By default there are no mapper, no indexed mapper and the field is shown
Constructor Summary | |
XmlMapDescriptor(java.lang.String field_name)
Builds a map descriptor by providing the field name. |
|
XmlMapDescriptor(java.lang.String field_name,
java.lang.String xml_name)
Builds a map descriptor by providing the field name and the xml name |
Method Summary | |
java.lang.String |
getFieldName()
Access function |
XmlMapper |
getIndexedMapper()
Access function. |
XmlMapper |
getMapper()
Access function. |
java.lang.String |
getXmlName()
Access function |
void |
hide()
Hides this field |
boolean |
isHidden()
Access function. |
void |
setIndexedMapper(XmlMapper indexed_mapper)
Access function. |
void |
setMapper(XmlMapper mapper)
Access function. |
void |
setXmlName(java.lang.String xml_name)
Access function. |
void |
show()
Shows this field |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XmlMapDescriptor(java.lang.String field_name, java.lang.String xml_name)
field_name
- the name of the fieldxml_name
- the name of the xml tagpublic XmlMapDescriptor(java.lang.String field_name)
field_name
- the name of the fieldMethod Detail |
public java.lang.String getFieldName()
public java.lang.String getXmlName()
public void setXmlName(java.lang.String xml_name)
xml_name
- the name of the xml tagpublic XmlMapper getMapper()
public void setMapper(XmlMapper mapper)
mapper
- the mapper to setpublic XmlMapper getIndexedMapper()
public void setIndexedMapper(XmlMapper indexed_mapper)
indexed_mapper
- the indexed mapper to setpublic boolean isHidden()
public void hide()
public void show()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |