Interface TreeBuilderState<T>
- All Known Implementing Classes:
CoalescingTreeBuilder, DOMTreeBuilder, SAXStreamer, SAXTreeBuilder, StateSnapshot, TreeBuilder, XOMTreeBuilder
public interface TreeBuilderState<T>
Interface for exposing the state of the HTML5 tree builder so that the
interface can be implemented by the tree builder itself and by snapshots.
- Version:
- $Id$
-
Method Summary
Modifier and TypeMethodDescriptionReturns the deepTreeSurrogateParent.Returns the formPointer.Returns the headPointer.Returns the listOfActiveFormattingElements.intReturn the length of the list of active formatting elements.intgetMode()Returns the mode.intReturns the originalMode.getStack()Returns the stack.intReturn the length of the stack.booleanReturns the framesetOk.booleanReturns the needToDropLF.booleanisQuirks()Returns the quirks.
-
Method Details
-
getStack
-
getListOfActiveFormattingElements
-
getFormPointer
-
getHeadPointer
-
getDeepTreeSurrogateParent
T getDeepTreeSurrogateParent()Returns the deepTreeSurrogateParent.- Returns:
- the deepTreeSurrogateParent
-
getMode
int getMode()Returns the mode.- Returns:
- the mode
-
getOriginalMode
int getOriginalMode()Returns the originalMode.- Returns:
- the originalMode
-
isFramesetOk
boolean isFramesetOk()Returns the framesetOk.- Returns:
- the framesetOk
-
isNeedToDropLF
boolean isNeedToDropLF()Returns the needToDropLF.- Returns:
- the needToDropLF
-
isQuirks
boolean isQuirks()Returns the quirks.- Returns:
- the quirks
-
getStackLength
int getStackLength()Return the length of the stack.- Returns:
- the length of the stack.
-
getListOfActiveFormattingElementsLength
int getListOfActiveFormattingElementsLength()Return the length of the list of active formatting elements.- Returns:
- the length of the list of active formatting elements.
-