public class OptionTag extends CompositeTag
children, mPage, nodeBegin, nodeEnd, parentmDefaultCompositeScanner, mEndTagbreakTags, mAttributes, mDefaultScanner| Constructor | Description |
|---|---|
OptionTag() |
Create a new option tag.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String[] |
getEnders() |
Return the set of tag names that cause this tag to finish.
|
java.lang.String[] |
getEndTagEnders() |
Return the set of end tag names that cause this tag to finish.
|
java.lang.String[] |
getIds() |
Return the set of names handled by this tag.
|
java.lang.String |
getOptionText() |
Get the text of this option.
|
java.lang.String |
getValue() |
Get the
VALUE attribute, if any. |
void |
setValue(java.lang.String value) |
Set the value of the value attribute.
|
java.lang.String |
toString() |
Return a string representation of this node suitable for debugging.
|
clone, doSemanticAction, getChildren, getEndPosition, getFirstChild, getLastChild, getNextSibling, getPage, getParent, getPreviousSibling, getStartPosition, setChildren, setEndPosition, setPage, setParent, setStartPosition, toHtmlaccept, childAt, children, collectInto, digupStringNode, elements, findPositionOf, findPositionOf, findPositionOf, getChild, getChildCount, getChildrenAsNodeArray, getChildrenHTML, getEndTag, getStringText, getText, putChildrenInto, putEndTagInto, removeChild, searchByName, searchFor, searchFor, searchFor, searchFor, setEndTag, toHtml, toPlainTextString, toStringclone, doSemanticAction, getChildren, getEndPosition, getFirstChild, getLastChild, getNextSibling, getPage, getParent, getPreviousSibling, getStartPosition, setChildren, setEndPosition, setPage, setParent, setStartPosition, toHtmlequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbreaksFlow, getAttribute, getAttributeEx, getAttributesEx, getEndingLineNumber, getRawTagName, getStartingLineNumber, getTagBegin, getTagEnd, getTagName, getThisScanner, isEmptyXmlTag, isEndTag, removeAttribute, setAttribute, setAttribute, setAttribute, setAttributeEx, setAttributesEx, setEmptyXmlTag, setTagBegin, setTagEnd, setTagName, setText, setThisScannerpublic java.lang.String[] getIds()
public java.lang.String[] getEnders()
public java.lang.String[] getEndTagEnders()
getEndTagEnders in interface TaggetEndTagEnders in class TagNodepublic java.lang.String getValue()
VALUE attribute, if any.VALUE attribute,
or null if the attribute doesn't exist.public void setValue(java.lang.String value)
value - The new value of the VALUE attribute.public java.lang.String getOptionText()
OPTION tag.public java.lang.String toString()
toString in interface NodetoString in class CompositeTagHTML Parser is an open source library released under LGPL.