org.opencms.jsp.parse
Class DivTag

java.lang.Object
  extended by org.htmlparser.nodes.AbstractNode
      extended by org.htmlparser.nodes.TagNode
          extended by org.opencms.jsp.parse.DivTag
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.htmlparser.Node, org.htmlparser.Tag

public class DivTag
extends org.htmlparser.nodes.TagNode

A Div for flat parsing (vs. nested) which is misued for avoiding the creation of the corresponding end tag in case the html to parse is not balanced.

Since:
6.2.2
Version:
$Revision: 1.3 $
Author:
Achim Westermann
See Also:
Serialized Form

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
 
Constructor Summary
DivTag()
           
 
Method Summary
 java.lang.String[] getEnders()
           
 java.lang.String[] getIds()
           
 
Methods inherited from class org.htmlparser.nodes.TagNode
accept, breaksFlow, getAttribute, getAttributeEx, getAttributesEx, 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
 

Constructor Detail

DivTag

public DivTag()
Method Detail

getEnders

public java.lang.String[] getEnders()
Specified by:
getEnders in interface org.htmlparser.Tag
Overrides:
getEnders in class org.htmlparser.nodes.TagNode
See Also:
TagNode.getEnders()

getIds

public java.lang.String[] getIds()
Specified by:
getIds in interface org.htmlparser.Tag
Overrides:
getIds in class org.htmlparser.nodes.TagNode
See Also:
TagNode.getIds()