Class Mark


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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      int getColumnNumber()
      Get the column number.
      java.lang.String getFile()
      Get the file name.
      int getLineNumber()
      Get the line number.
      java.net.URL getURL()
      Gets the URL of the resource with which this Mark is associated
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • 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 java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getFile

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

        public java.net.URL getURL()
                            throws java.net.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:
        java.net.MalformedURLException - if the resource pathname is incorrect
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object