|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amx.duet.tools.xml.Attribute
The Attribute
class was created to hold attributes for XML Tag
objects,
but it also has the capabilities to hold HTML attributes. This class can be further
overwritten to handle the attribute of the user's choice.
Constructor Summary | |
Attribute(java.lang.String sName)
Ensure that we will always have an attribute name |
Method Summary | |
void |
dump()
Outputs all of the attribute data to the print stream |
java.lang.String |
getName()
Retrieve the name of this attribute |
java.lang.String |
getNameSpace()
Retrieve the name space for this attribute |
java.lang.String |
getPrefix()
Retrieve the prefix for this attribute |
java.lang.String |
getType()
Retrieve the type for the value of this attribute |
java.lang.String |
getValue()
Retrieve the value stored in this attribute |
void |
setName(java.lang.String sName)
Set the name for this attribute |
void |
setNameSpace(java.lang.String sNameSpace)
Set the name space for this attribute |
void |
setPrefix(java.lang.String sPrefix)
Set the prefix value for this attribute |
void |
setType(java.lang.String sType)
Set the type for the value of this attribute |
void |
setValue(java.lang.String sValue)
Set a value for this attribute |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Attribute(java.lang.String sName)
sName
- StringMethod Detail |
public void setName(java.lang.String sName)
sName
- Stringpublic void setNameSpace(java.lang.String sNameSpace)
sNameSpace
- Stringpublic void setPrefix(java.lang.String sPrefix)
sPrefix
- Stringpublic void setType(java.lang.String sType)
sType
- Stringpublic void setValue(java.lang.String sValue)
sValue
- Stringpublic java.lang.String getName()
public java.lang.String getNameSpace()
public java.lang.String getPrefix()
public java.lang.String getType()
public java.lang.String getValue()
public void dump()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |