org.tp23.jasper.compiler
Class Mark
java.lang.Object
|
+--org.tp23.jasper.compiler.Mark
- public final class Mark
- extends java.lang.Object
Mark represents a point in the JSP input.
- Author:
- Anil K. Vijendran, Paul Hinds
Method Summary |
boolean |
equals(java.lang.Object other)
|
java.lang.String |
getFile()
|
boolean |
popStream()
Restores this mark's state to a previously stored stream. |
void |
pushStream(char[] inStream,
int inFileid,
java.lang.String name,
java.lang.String inBaseDir,
java.lang.String inEncoding)
Sets this mark's state to a new stream. |
java.lang.String |
toShortString()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
pushStream
public void pushStream(char[] inStream,
int inFileid,
java.lang.String name,
java.lang.String inBaseDir,
java.lang.String inEncoding)
- Sets this mark's state to a new stream.
It will store the current stream in it's includeStack.
- Parameters:
inStream
- new stream for markinFileid
- id of new file from which stream comes frominBaseDir
- directory of fileinEncoding
- encoding of new file
popStream
public boolean popStream()
- Restores this mark's state to a previously stored stream.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getFile
public java.lang.String getFile()
toShortString
public java.lang.String toShortString()
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class java.lang.Object