public class BodyTag extends CompositeTag
mDefaultCompositeScanner, mEndTag
breakTags, mAttributes, mDefaultScanner
Constructor and Description |
---|
BodyTag()
Create a new body tag.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBody()
Returns the textual contents of this
BODY tag. |
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 |
toString()
Return a string representation of this
BODY tag suitable for debugging. |
accept, 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, toString
breaksFlow, getAttribute, getAttributeEx, getAttributes, getAttributesEx, getEndingLineNumber, getParsed, getRawTagName, getStartingLineNumber, getTagBegin, getTagEnd, getTagName, getThisScanner, isEmptyXmlTag, isEndTag, removeAttribute, setAttribute, setAttribute, setAttribute, setAttributeEx, setAttributes, setAttributesEx, setEmptyXmlTag, setTagBegin, setTagEnd, setTagName, setText, setThisScanner
clone, doSemanticAction, getChildren, getEndPosition, getPage, getParent, getStartPosition, setChildren, setEndPosition, setPage, setParent, setStartPosition
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone, doSemanticAction, getChildren, getEndPosition, getPage, getParent, getStartPosition, setChildren, setEndPosition, setPage, setParent, setStartPosition
public java.lang.String[] getIds()
public java.lang.String[] getEnders()
public java.lang.String[] getEndTagEnders()
getEndTagEnders
in interface Tag
getEndTagEnders
in class TagNode
public java.lang.String getBody()
BODY
tag.
Equivalent to toPlainTextString()
.public java.lang.String toString()
BODY
tag suitable for debugging.toString
in interface Node
toString
in class CompositeTag
BODY
tag.HTML Parser is an open source library released under LGPL.