Save This Page
Home » apache-tomcat-6.0.16-src » org.apache » jasper » compiler » [javadoc | source]
org.apache.jasper.compiler
final class: Mark [javadoc | source]
java.lang.Object
   org.apache.jasper.compiler.Mark
Mark represents a point in the JSP input.
Nested Class Summary:
class  Mark.IncludeState  Keep track of parser before parsing an included file. This class keeps track of the parser before we switch to parsing an included file. In other words, it's the parser's continuation to be reinstalled after the included file parsing is done. 
Field Summary
 int cursor     
 int line     
 int col     
 String baseDir     
 char[] stream     
Constructor:
 Mark(Mark other) 
    Constructor
 Mark(JspCompilationContext ctxt,
    String filename,
    int line,
    int col) 
    Constructor
 Mark(JspReader reader,
    char[] inStream,
    int fileId,
    String name,
    String inBaseDir,
    String inEncoding) 
    Constructor
    Parameters:
    reader - JspReader this mark belongs to
    inStream - current stream for this mark
    fileId - id of requested jsp file
    name - JSP file name
    inBaseDir - base directory of requested jsp file
    inEncoding - encoding of current file
Method from org.apache.jasper.compiler.Mark Summary:
equals,   getColumnNumber,   getFile,   getLineNumber,   getPublicId,   getSystemId,   getURL,   isGreater,   popStream,   pushStream,   toShortString,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jasper.compiler.Mark Detail:
 public boolean equals(Object other) 
 public int getColumnNumber() 
 public String getFile() 
 public int getLineNumber() 
 public String getPublicId() 
 public String getSystemId() 
 public URL getURL() throws MalformedURLException 
    Gets the URL of the resource with which this Mark is associated
 public boolean isGreater(Mark other) 
 public Mark popStream() 
    Restores this mark's state to a previously stored stream.
 public  void pushStream(char[] inStream,
    int inFileId,
    String name,
    String inBaseDir,
    String inEncoding) 
    Sets this mark's state to a new stream. It will store the current stream in it's includeStack.
 public String toShortString() 
 public String toString()