Package org.codelibs.nekohtml
Class HTMLTagBalancer.InfoStack
- java.lang.Object
-
- org.codelibs.nekohtml.HTMLTagBalancer.InfoStack
-
- Enclosing class:
- HTMLTagBalancer
public static class HTMLTagBalancer.InfoStack extends java.lang.ObjectUnsynchronized stack of element information.
-
-
Field Summary
Fields Modifier and Type Field Description HTMLTagBalancer.Info[]dataThe stack data.inttopThe top of the stack.
-
Constructor Summary
Constructors Constructor Description InfoStack()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HTMLTagBalancer.Infopeek()Peeks at the top of the stack.HTMLTagBalancer.Infopop()Pops the top item off of the stack.voidpush(HTMLTagBalancer.Info info)Pushes element information onto the stack.java.lang.StringtoString()Simple representation to make debugging easier
-
-
-
Field Detail
-
top
public int top
The top of the stack.
-
data
public HTMLTagBalancer.Info[] data
The stack data.
-
-
Method Detail
-
push
public void push(HTMLTagBalancer.Info info)
Pushes element information onto the stack.
-
peek
public HTMLTagBalancer.Info peek()
Peeks at the top of the stack.
-
pop
public HTMLTagBalancer.Info pop()
Pops the top item off of the stack.
-
toString
public java.lang.String toString()
Simple representation to make debugging easier- Overrides:
toStringin classjava.lang.Object
-
-