|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.lightdev.lib.xml.XmlTag
public class XmlTag
An xml tag with optional storage of data.
| Constructor Summary | |
|---|---|
XmlTag(String tag,
Object data,
AttributeSet attributes)
constructor |
|
XmlTag(String tag,
Object data,
AttributeSet attributes,
boolean maskSpecialChars)
|
|
| Method Summary | |
|---|---|
void |
appendChild(XmlTag tag)
|
boolean |
doMaskSpecialChars()
|
AttributeSet |
getAttributes()
get the attributes of this tag |
int |
getChildCount()
|
Enumeration |
getChildren()
|
Object |
getData()
get the data of this tag |
XmlTag |
getParent()
|
String |
getTag()
get the tag name |
boolean |
hasChildren()
|
boolean |
hasData()
determine whether or not this tag has data |
void |
setAttributes(AttributeSet a)
set the attributes of this tag |
void |
setData(Object data)
set the data of this tag |
void |
setParent(XmlTag tag)
|
String |
toString()
get a string representation for this tag |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XmlTag(String tag,
Object data,
AttributeSet attributes)
tag - String tag namedata - Object tag dataattributes - AttributeSet attributes this tag has
public XmlTag(String tag,
Object data,
AttributeSet attributes,
boolean maskSpecialChars)
| Method Detail |
|---|
public void appendChild(XmlTag tag)
public boolean hasChildren()
public Enumeration getChildren()
public void setParent(XmlTag tag)
public XmlTag getParent()
public int getChildCount()
public String toString()
toString in class Objectpublic void setData(Object data)
data - Objectpublic String getTag()
public Object getData()
public AttributeSet getAttributes()
public void setAttributes(AttributeSet a)
a - AttributeSet the tag attributes to setpublic boolean hasData()
public boolean doMaskSpecialChars()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||