net.sf.mmm.util.xml.api
Class ParserState
java.lang.Object
net.sf.mmm.util.xml.api.ParserState
public class ParserState
- extends Object
This Class contains the state of an HTML
parsing
process.
- Since:
- 1.0.2
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tagStartIndex
private int tagStartIndex
- See Also:
getTagStartIndex()
inAttribute
private char inAttribute
- See Also:
getInAttribute()
cdataCloseCount
private int cdataCloseCount
- See Also:
getCdataCloseCount()
ParserState
public ParserState()
- The constructor.
ParserState
public ParserState(ParserState other)
- The constructor.
- Parameters:
other
- is the state to continue with.
getTagStartIndex
public int getTagStartIndex()
- Returns:
- index of first char after '<' in string or 0 if not in tag.
setTagStartIndex
public void setTagStartIndex(int tagStartIndex)
- Parameters:
tagStartIndex
- is the tagStartIndex to set
getInAttribute
public char getInAttribute()
- Returns:
- the opening quotation char if inside attribute, else 0.
setInAttribute
public void setInAttribute(char inAttribute)
- Parameters:
inAttribute
- is the inAttribute to set
getCdataCloseCount
public int getCdataCloseCount()
- Returns:
- the CDATA close character count. This value is set to 3 at start of
CDATA section, count down for closing "]]>" but reset to 3 on
mismatch.
setCdataCloseCount
public void setCdataCloseCount(int cdataCloseCount)
- Parameters:
cdataCloseCount
- is the cdataCloseCount to set
Copyright © 2001-2010 mmm-Team. All Rights Reserved.