Package nu.validator.htmlparser.impl
Class StateSnapshot<T>
java.lang.Object
nu.validator.htmlparser.impl.StateSnapshot<T>
- All Implemented Interfaces:
TreeBuilderState<T>
-
Method Summary
Modifier and TypeMethodDescriptionReturns the deepTreeSurrogateParent.Returns the formPointer.Returns the headPointer.nu.validator.htmlparser.impl.StackNode<T>[]
Returns the listOfActiveFormattingElements.int
Return the length of the list of active formatting elements.int
getMode()
Returns the mode.int
Returns the originalMode.nu.validator.htmlparser.impl.StackNode<T>[]
getStack()
Returns the stack.int
Return the length of the stack.boolean
Returns the framesetOk.boolean
Returns the needToDropLF.boolean
isQuirks()
Returns the quirks.
-
Method Details
-
getStack
Description copied from interface:TreeBuilderState
Returns the stack.- Specified by:
getStack
in interfaceTreeBuilderState<T>
- Returns:
- the stack
- See Also:
-
getListOfActiveFormattingElements
Description copied from interface:TreeBuilderState
Returns the listOfActiveFormattingElements.- Specified by:
getListOfActiveFormattingElements
in interfaceTreeBuilderState<T>
- Returns:
- the listOfActiveFormattingElements
- See Also:
-
getFormPointer
Description copied from interface:TreeBuilderState
Returns the formPointer.- Specified by:
getFormPointer
in interfaceTreeBuilderState<T>
- Returns:
- the formPointer
- See Also:
-
getHeadPointer
Returns the headPointer.- Specified by:
getHeadPointer
in interfaceTreeBuilderState<T>
- Returns:
- the headPointer
-
getDeepTreeSurrogateParent
Returns the deepTreeSurrogateParent.- Specified by:
getDeepTreeSurrogateParent
in interfaceTreeBuilderState<T>
- Returns:
- the deepTreeSurrogateParent
-
getMode
public int getMode()Returns the mode.- Specified by:
getMode
in interfaceTreeBuilderState<T>
- Returns:
- the mode
-
getOriginalMode
public int getOriginalMode()Returns the originalMode.- Specified by:
getOriginalMode
in interfaceTreeBuilderState<T>
- Returns:
- the originalMode
-
isFramesetOk
public boolean isFramesetOk()Returns the framesetOk.- Specified by:
isFramesetOk
in interfaceTreeBuilderState<T>
- Returns:
- the framesetOk
-
isNeedToDropLF
public boolean isNeedToDropLF()Returns the needToDropLF.- Specified by:
isNeedToDropLF
in interfaceTreeBuilderState<T>
- Returns:
- the needToDropLF
-
isQuirks
public boolean isQuirks()Returns the quirks.- Specified by:
isQuirks
in interfaceTreeBuilderState<T>
- Returns:
- the quirks
-
getListOfActiveFormattingElementsLength
public int getListOfActiveFormattingElementsLength()Description copied from interface:TreeBuilderState
Return the length of the list of active formatting elements.- Specified by:
getListOfActiveFormattingElementsLength
in interfaceTreeBuilderState<T>
- Returns:
- the length of the list of active formatting elements.
- See Also:
-
getStackLength
public int getStackLength()Description copied from interface:TreeBuilderState
Return the length of the stack.- Specified by:
getStackLength
in interfaceTreeBuilderState<T>
- Returns:
- the length of the stack.
- See Also:
-