|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.htmlparser.nodes.AbstractNode
org.htmlparser.nodes.TagNode
org.opencms.util.CmsNoAutoCloseTag
public class CmsNoAutoCloseTag
A 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.TagNode
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
| Field Summary |
|---|
| Fields inherited from class org.htmlparser.nodes.TagNode |
|---|
breakTags, mAttributes, mDefaultScanner |
| Fields inherited from class org.htmlparser.nodes.AbstractNode |
|---|
children, mPage, nodeBegin, nodeEnd, parent |
| Method Summary | |
|---|---|
java.lang.String[] |
getIds()
|
| Methods inherited from class org.htmlparser.nodes.TagNode |
|---|
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 |
| Methods inherited from class org.htmlparser.nodes.AbstractNode |
|---|
clone, collectInto, doSemanticAction, getChildren, getEndPosition, getFirstChild, getLastChild, getNextSibling, getPage, getParent, getPreviousSibling, getStartPosition, setChildren, setEndPosition, setPage, setParent, setStartPosition, toHtml |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.htmlparser.Node |
|---|
clone, collectInto, doSemanticAction, getChildren, getEndPosition, getFirstChild, getLastChild, getNextSibling, getPage, getParent, getPreviousSibling, getStartPosition, setChildren, setEndPosition, setPage, setParent, setStartPosition, toHtml |
| Method Detail |
|---|
public java.lang.String[] getIds()
getIds in interface org.htmlparser.TaggetIds in class org.htmlparser.nodes.TagNodeTagNode.getIds()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||