|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ipdr.xml.XMLElement
public class XMLElement
The XML Element is a structure to hold the attributes of the Element read from XML. It provides setter and getter methods.
Field Summary | |
---|---|
protected java.util.ArrayList |
attributes_
This varable will store the XML Attributes. |
protected java.lang.String |
name_
This varable will store the XML Name. |
protected java.lang.String |
rawName_
This varable will store the Raw XML Name. |
protected java.lang.String |
value_
This varable will store the XML Value. |
Constructor Summary | |
---|---|
XMLElement()
|
Method Summary | |
---|---|
java.util.ArrayList |
getAttributes()
Method to get the XML Attributes. |
java.lang.String |
getName()
Method to get the XML Name. |
java.lang.String |
getRawName()
Method to get the Raw XML Name. |
java.lang.String |
getValue()
Method to get the XML Value. |
void |
setAttributes(java.util.ArrayList atts)
Method to set the XML Attributes. |
void |
setName(java.lang.String name)
Method to set the XML Name. |
void |
setRawName(java.lang.String name)
Method to set the Raw XML Name. |
void |
setValue(java.lang.String val)
Method to set the XML Value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String name_
protected java.lang.String rawName_
protected java.lang.String value_
protected java.util.ArrayList attributes_
Constructor Detail |
---|
public XMLElement()
Method Detail |
---|
public void setName(java.lang.String name)
name
- XML Namepublic void setRawName(java.lang.String name)
name
- Raw XML Namepublic void setValue(java.lang.String val)
val
- XML Valuepublic void setAttributes(java.util.ArrayList atts)
atts
- XML Attributespublic java.lang.String getName()
public java.lang.String getRawName()
public java.lang.String getValue()
public java.util.ArrayList getAttributes()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |