Class Mark

java.lang.Object
org.apache.jasper.compiler.Mark

public final class Mark extends Object
Mark represents a point in the JSP input.
  • Method Details

    • getLineNumber

      public int getLineNumber()
      Get the line number.
      Returns:
      the line number
    • getColumnNumber

      public int getColumnNumber()
      Get the column number.
      Returns:
      the column number
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getFile

      public String getFile()
      Get the file name.
      Returns:
      the file name
    • getURL

      public URL getURL() throws MalformedURLException
      Gets the URL of the resource with which this Mark is associated
      Returns:
      URL of the resource with which this Mark is associated
      Throws:
      MalformedURLException - if the resource pathname is incorrect
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object