org.openprivacy.reptile.xslt
Class StylesheetStack
java.lang.Object
|
+--org.openprivacy.reptile.xslt.StylesheetStack
- public class StylesheetStack
- extends java.lang.Object
Represents a stack(FIFO) of stylesheets which will be processed on the order
they added by a StylesheetEngine
For example if you have the following code:
addStylesheet( "one.xsl" )
addStylesheet( "two.xsl" )
addStylesheet( "three.xsl" )
A StylesheetEngine will process the files as one.xsl, two.xsl and then three.xsl
- Version:
- $Id: StylesheetStack.java,v 1.1 2001/12/12 09:29:08 burton Exp $
- Author:
- Kevin A. Burton
|
Method Summary |
void |
addStylesheet(java.lang.String uri)
Add a new stylesheet. |
void |
addStylesheet(talon.util.net.URI uri)
|
boolean |
equals(java.lang.Object obj)
|
java.util.Iterator |
getIterator()
Get an iterator for this StylesheetStack so that we can go over it... |
protected java.util.List |
getStack()
Get the vector used to represent this stack. |
int |
hashCode()
|
int |
size()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
StylesheetStack
public StylesheetStack()
addStylesheet
public void addStylesheet(talon.util.net.URI uri)
- See Also:
addStylesheet(talon.util.net.URI)
addStylesheet
public void addStylesheet(java.lang.String uri)
- Add a new stylesheet.
getStack
protected java.util.List getStack()
- Get the vector used to represent this stack.
getIterator
public java.util.Iterator getIterator()
- Get an iterator for this StylesheetStack so that we can go over it...
size
public int size()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
- See Also:
Object.equals(java.lang.Object)
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
- See Also:
Object.hashCode()