org.apache.cocoon.components
Class EnvironmentStack

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.ArrayList
                    |
                    +--org.apache.commons.collections.ArrayStack
                          |
                          +--org.apache.cocoon.components.EnvironmentStack
All Implemented Interfaces:
org.apache.commons.collections.Buffer, java.lang.Cloneable, java.util.Collection, java.util.List, java.io.Serializable

public final class EnvironmentStack
extends org.apache.commons.collections.ArrayStack
implements java.lang.Cloneable

The stack for the processing environment. This is a special implementation of a stack for the handling of the cocoon protocol.

Version:
CVS $Id: CocoonComponentManager.java,v 1.39 2002/11/20 10:08:24 cziegeler Exp $
Author:
Carsten Ziegeler
See Also:
Serialized Form

Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
EnvironmentStack()
           
 
Method Summary
 java.lang.Object clone()
           
 void decOffset()
           
 java.lang.Object getCurrent()
           
 int getOffset()
           
 void incOffset()
           
 void resetOffset(int value)
           
 
Methods inherited from class org.apache.commons.collections.ArrayStack
empty, get, peek, peek, pop, push, remove, search
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, remove, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList
 

Constructor Detail

EnvironmentStack

public EnvironmentStack()
Method Detail

getCurrent

public java.lang.Object getCurrent()

incOffset

public void incOffset()

decOffset

public void decOffset()

resetOffset

public void resetOffset(int value)

getOffset

public int getOffset()

clone

public java.lang.Object clone()
Overrides:
clone in class java.util.ArrayList


Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.