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 formPointer.Returns the headPointer.nu.validator.htmlparser.impl.StackNode<T>[]Returns the listOfActiveFormattingElements.intReturn the length of the list of active formatting elements.intgetMode()Returns the mode.intReturns the originalMode.nu.validator.htmlparser.impl.StackNode<T>[]getStack()Returns the stack.intReturn the length of the stack.int[]Returns the stack of template insertion modes.intReturn the length of the stack of template insertion modes.booleanReturns the framesetOk.booleanReturns the needToDropLF.booleanisQuirks()Returns the quirks.
-
Method Details
-
getStack
Description copied from interface:TreeBuilderStateReturns the stack.- Specified by:
getStackin interfaceTreeBuilderState<T>- Returns:
- the stack
- See Also:
-
getTemplateModeStack
public int[] getTemplateModeStack()Description copied from interface:TreeBuilderStateReturns the stack of template insertion modes.- Specified by:
getTemplateModeStackin interfaceTreeBuilderState<T>- Returns:
- the stack of template insertion modes
- See Also:
-
getListOfActiveFormattingElements
Description copied from interface:TreeBuilderStateReturns the listOfActiveFormattingElements.- Specified by:
getListOfActiveFormattingElementsin interfaceTreeBuilderState<T>- Returns:
- the listOfActiveFormattingElements
- See Also:
-
getFormPointer
Description copied from interface:TreeBuilderStateReturns the formPointer.- Specified by:
getFormPointerin interfaceTreeBuilderState<T>- Returns:
- the formPointer
- See Also:
-
getHeadPointer
Returns the headPointer.- Specified by:
getHeadPointerin interfaceTreeBuilderState<T>- Returns:
- the headPointer
-
getMode
public int getMode()Returns the mode.- Specified by:
getModein interfaceTreeBuilderState<T>- Returns:
- the mode
-
getOriginalMode
public int getOriginalMode()Returns the originalMode.- Specified by:
getOriginalModein interfaceTreeBuilderState<T>- Returns:
- the originalMode
-
isFramesetOk
public boolean isFramesetOk()Returns the framesetOk.- Specified by:
isFramesetOkin interfaceTreeBuilderState<T>- Returns:
- the framesetOk
-
isNeedToDropLF
public boolean isNeedToDropLF()Returns the needToDropLF.- Specified by:
isNeedToDropLFin interfaceTreeBuilderState<T>- Returns:
- the needToDropLF
-
isQuirks
public boolean isQuirks()Returns the quirks.- Specified by:
isQuirksin interfaceTreeBuilderState<T>- Returns:
- the quirks
-
getListOfActiveFormattingElementsLength
public int getListOfActiveFormattingElementsLength()Description copied from interface:TreeBuilderStateReturn the length of the list of active formatting elements.- Specified by:
getListOfActiveFormattingElementsLengthin interfaceTreeBuilderState<T>- Returns:
- the length of the list of active formatting elements.
- See Also:
-
getStackLength
public int getStackLength()Description copied from interface:TreeBuilderStateReturn the length of the stack.- Specified by:
getStackLengthin interfaceTreeBuilderState<T>- Returns:
- the length of the stack.
- See Also:
-
getTemplateModeStackLength
public int getTemplateModeStackLength()Description copied from interface:TreeBuilderStateReturn the length of the stack of template insertion modes.- Specified by:
getTemplateModeStackLengthin interfaceTreeBuilderState<T>- Returns:
- the length of the stack of template insertion modes.
- See Also:
-