|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XTag
Method Summary | |
---|---|
void |
addTagListener(XTagListener tagListener)
|
boolean |
equals(java.lang.Object o)
|
java.util.Collection |
getAttributeNames()
Returns all tag attribute names, in the order they occur in the source. |
java.lang.String |
getAttributeValue(java.lang.String attributeName)
Returns the value of the tag parameter with the given name, or null if none exist; |
XDoc |
getDoc()
Returns the XDoc object we belong to. |
java.lang.String |
getInfo()
|
int |
getLineNumber()
|
java.lang.String |
getName()
Returns the full name of the tag, excluding the @ |
java.lang.String |
getValue()
Returns the full value of the tag. |
int |
hashCode()
|
java.lang.String |
removeAttribute(java.lang.String attributeName)
|
void |
removeTagListener(XTagListener tagListener)
|
void |
setAttribute(java.lang.String attributeName,
java.lang.String attributeValue)
Adds a parameter |
void |
validate()
Validates the tag. |
Method Detail |
---|
java.lang.String getAttributeValue(java.lang.String attributeName)
attributeName
- Describe what the parameter does
java.util.Collection getAttributeNames()
java.lang.String getName()
java.lang.String getValue()
XDoc getDoc()
int getLineNumber()
java.lang.String getInfo()
void setAttribute(java.lang.String attributeName, java.lang.String attributeValue)
attributeName
- name of the attributeattributeValue
- value of the attributejava.lang.String removeAttribute(java.lang.String attributeName)
void addTagListener(XTagListener tagListener)
void removeTagListener(XTagListener tagListener)
boolean equals(java.lang.Object o)
equals
in class java.lang.Object
int hashCode()
hashCode
in class java.lang.Object
void validate() throws TagValidationException
TagValidationException
- if the content of the tag is somehow
invalid
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |