org.cyberneko.html
Class HTMLTagBalancer.InfoStack

java.lang.Object
  extended by org.cyberneko.html.HTMLTagBalancer.InfoStack
Enclosing class:
HTMLTagBalancer

public static class HTMLTagBalancer.InfoStack
extends java.lang.Object

Unsynchronized stack of element information.


Field Summary
 HTMLTagBalancer.Info[] data
          The stack data.
 int top
          The top of the stack.
 
Constructor Summary
HTMLTagBalancer.InfoStack()
           
 
Method Summary
 HTMLTagBalancer.Info peek()
          Peeks at the top of the stack.
 HTMLTagBalancer.Info pop()
          Pops the top item off of the stack.
 void push(HTMLTagBalancer.Info info)
          Pushes element information onto the stack.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

top

public int top
The top of the stack.


data

public HTMLTagBalancer.Info[] data
The stack data.

Constructor Detail

HTMLTagBalancer.InfoStack

public HTMLTagBalancer.InfoStack()
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.



(C) Copyright 2002-2008, Andy Clark. All rights reserved.