Package org.apache.jasper.compiler
Class Mark
- java.lang.Object
-
- org.apache.jasper.compiler.Mark
-
public final class Mark extends java.lang.ObjectMark represents a point in the JSP input.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)intgetColumnNumber()Get the column number.java.lang.StringgetFile()Get the file name.intgetLineNumber()Get the line number.java.net.URLgetURL()Gets the URL of the resource with which this Mark is associatedinthashCode()java.lang.StringtoString()
-
-
-
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:
toStringin classjava.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.MalformedURLExceptionGets 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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-