Constructor and Description |
---|
StateController(XMLParser parser, boolean isHTML)
Constructs a StateController with the given parser.
|
public StateController(XMLParser parser, boolean isHTML)
parser
- the Parser
isHTML
- true if this parser is going to parse HTML, this results in different whitespace handling.
public XMLParser setState(State state)
state
- the state to set as current state.
public XMLParser previousState()
public XMLParser unknown()
UnknownState
.
public XMLParser tagEncountered()
TagEncounteredState
.
public XMLParser tagAttributes()
TagAttributeState
.
public XMLParser inTag()
InsideTagState
.
public XMLParser attributeValue()
AttributeValueState
.
public XMLParser singleQuotedAttr()
SingleQuotedAttrValueState
.
public XMLParser doubleQuotedAttr()
DoubleQuotedAttrValueState
.
public XMLParser processingInstructions()
ProcessingInstructionEncounteredState
.
public XMLParser selfClosing()
SelfClosingTagState
.
public XMLParser specialChar()
SpecialCharState
.
public XMLParser closingTag()
ClosingTagState
.
public XMLParser comment()
CommentState
.
public XMLParser closeComment()
CloseCommentState
.
public XMLParser cdata()
CdataState
.
public XMLParser doctype()
DocTypeState
.
public XMLParser unquotedAttr()
UnquotedAttrState
.
public XMLParser starComment()
StarCommentState
.
public XMLParser closeStarComment()
CloseStarCommentState
.
public State getPreviousState()
Copyright © 1998–2017. All rights reserved.