public class XMLFuzzyParseState extends TagParseState
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
lowerCaseAttributes |
protected boolean |
lowerCaseBTags |
protected boolean |
lowerCaseEscapeTags |
protected boolean |
lowerCaseQAttributes |
protected boolean |
lowerCaseQTags |
protected boolean |
lowerCaseTags |
accumBuffer, ampBuffer, bTagDepth, currentAttrList, currentAttrName, currentAttrNameBuffer, currentState, currentTagName, currentTagNameBuffer, currentValueBuffer, inAmpersand, mapLookup, TAGPARSESTATE_IN_ATTR_LOOKING_FOR_VALUE, TAGPARSESTATE_IN_ATTR_NAME, TAGPARSESTATE_IN_ATTR_VALUE, TAGPARSESTATE_IN_BANG_TOKEN, TAGPARSESTATE_IN_BRACKET_TOKEN, TAGPARSESTATE_IN_CDATA_BODY, TAGPARSESTATE_IN_COMMENT, TAGPARSESTATE_IN_DOUBLE_QUOTES_ATTR_VALUE, TAGPARSESTATE_IN_END_TAG_NAME, TAGPARSESTATE_IN_QTAG_ATTR_LOOKING_FOR_VALUE, TAGPARSESTATE_IN_QTAG_ATTR_NAME, TAGPARSESTATE_IN_QTAG_ATTR_VALUE, TAGPARSESTATE_IN_QTAG_DOUBLE_QUOTES_ATTR_VALUE, TAGPARSESTATE_IN_QTAG_NAME, TAGPARSESTATE_IN_QTAG_SAW_QUESTION, TAGPARSESTATE_IN_QTAG_SINGLE_QUOTES_ATTR_VALUE, TAGPARSESTATE_IN_QTAG_UNQUOTED_ATTR_VALUE, TAGPARSESTATE_IN_SINGLE_QUOTES_ATTR_VALUE, TAGPARSESTATE_IN_TAG_NAME, TAGPARSESTATE_IN_TAG_SAW_SLASH, TAGPARSESTATE_IN_UNQUOTED_ATTR_VALUE, TAGPARSESTATE_NEED_FINAL_BRACKET, TAGPARSESTATE_NORMAL, TAGPARSESTATE_SAWCOMMENTDASH, TAGPARSESTATE_SAWDASH, TAGPARSESTATE_SAWEXCLAMATION, TAGPARSESTATE_SAWLEFTANGLE, TAGPARSESTATE_SAWRIGHTBRACKET, TAGPARSESTATE_SAWSECONDCOMMENTDASH, TAGPARSESTATE_SAWSECONDRIGHTBRACKETcharBuffer| Constructor and Description |
|---|
XMLFuzzyParseState(boolean lowerCaseAttributes,
boolean lowerCaseTags,
boolean lowerCaseQAttributes,
boolean lowerCaseQTags,
boolean lowerCaseBTags,
boolean lowerCaseEscapeTags)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
noteBTag(String tagName)
This method is called for every ...
|
protected boolean |
noteBTagEx(String tagName)
New version of the noteBTag method.
|
protected boolean |
noteBTagToken(String token)
This method gets called for every token inside a btag.
|
protected boolean |
noteBTagTokenEx(String token)
New version of the noteBTagToken method.
|
protected boolean |
noteEndTag(String tagName)
This method gets called for every end tag.
|
protected boolean |
noteEndTagEx(String tagName,
String nameSpace,
String localName)
Note end tag.
|
protected boolean |
noteEscaped(String token)
Called for the start of every cdata-like tag, e.g.
|
protected boolean |
noteEscapedEx(String token)
New version of the noteEscapedTag method.
|
protected boolean |
noteQTag(String tagName,
List<AttrNameValue> attributes)
This method is called for every ...
|
protected boolean |
noteQTagEx(String tagName,
Map<String,String> attributes)
Map version of the noteQTag method.
|
protected boolean |
noteTag(String tagName,
List<AttrNameValue> attributes)
This method gets called for every tag.
|
protected boolean |
noteTagEx(String tagName,
String nameSpace,
String localName,
Map<String,String> attributes)
Map version of the noteTag method.
|
attributeDecode, dealWithCharacter, dumpValues, isPunctuation, isWhitespace, mapChunk, newBuffer, noteEndBTag, noteEndEscaped, noteEscapedCharacter, noteNormalCharacter, outputAmpBufferdealWithCharacters, dealWithRemainderfinishUpprotected final boolean lowerCaseAttributes
protected final boolean lowerCaseTags
protected final boolean lowerCaseQAttributes
protected final boolean lowerCaseQTags
protected final boolean lowerCaseBTags
protected final boolean lowerCaseEscapeTags
public XMLFuzzyParseState(boolean lowerCaseAttributes,
boolean lowerCaseTags,
boolean lowerCaseQAttributes,
boolean lowerCaseQTags,
boolean lowerCaseBTags,
boolean lowerCaseEscapeTags)
protected final boolean noteTag(String tagName, List<AttrNameValue> attributes) throws ManifoldCFException
noteTag in class TagParseStateManifoldCFExceptionprotected boolean noteTagEx(String tagName, String nameSpace, String localName, Map<String,String> attributes) throws ManifoldCFException
ManifoldCFExceptionprotected final boolean noteEndTag(String tagName) throws ManifoldCFException
noteEndTag in class TagParseStateManifoldCFExceptionprotected boolean noteEndTagEx(String tagName, String nameSpace, String localName) throws ManifoldCFException
ManifoldCFExceptionprotected final boolean noteQTag(String tagName, List<AttrNameValue> attributes) throws ManifoldCFException
noteQTag in class TagParseStateManifoldCFExceptionprotected boolean noteQTagEx(String tagName, Map<String,String> attributes) throws ManifoldCFException
ManifoldCFExceptionprotected final boolean noteBTag(String tagName) throws ManifoldCFException
noteBTag in class TagParseStateManifoldCFExceptionprotected boolean noteBTagEx(String tagName) throws ManifoldCFException
ManifoldCFExceptionprotected final boolean noteEscaped(String token) throws ManifoldCFException
noteEscaped in class TagParseStatetoken - may be empty!!!ManifoldCFExceptionprotected boolean noteEscapedEx(String token) throws ManifoldCFException
ManifoldCFExceptionprotected final boolean noteBTagToken(String token) throws ManifoldCFException
noteBTagToken in class TagParseStateManifoldCFExceptionprotected boolean noteBTagTokenEx(String token) throws ManifoldCFException
ManifoldCFException