public class CmsNoAutoCloseTag
extends org.htmlparser.nodes.TagNode
TagNode
with an arbitrary name which is misused for avoiding the creation of
the corresponding end tag in case the HTML to parse is not balanced.
The trick is: The free name (constructor) is used by the tag factory which allows to use these
tags as replacement for the regular ones. And these tags do not extend
: They are not supposed to have a closing tag and following tags are
not treated as their children but siblings. CompositeTag
限定符和类型 | 方法和说明 |
---|---|
java.lang.String[] |
getIds() |
accept, breaksFlow, getAttribute, getAttributeEx, getAttributesEx, getEnders, getEndingLineNumber, getEndTag, getEndTagEnders, getRawTagName, getStartingLineNumber, getTagBegin, getTagEnd, getTagName, getText, getThisScanner, isEmptyXmlTag, isEndTag, removeAttribute, setAttribute, setAttribute, setAttribute, setAttributeEx, setAttributesEx, setEmptyXmlTag, setEndTag, setTagBegin, setTagEnd, setTagName, setText, setThisScanner, toHtml, toPlainTextString, toString