Top Description Fields Constructors Methods
javax.faces.view

public Class Location

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Imports
java.io.Serializable

An object that represents the Location of a tag or attribute of a tag in a View Declaration Language file.

Since
2.0

Field Summary

Modifier and TypeField and Description
private final int
private final int
private final String
private static final long

Constructor Summary

AccessConstructor and Description
public
Location(String path, int line, int column)

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the column
getColumn
()

Return the estimated character column.

public int

Returns:

the line number
getLine
()

Return the line number in the page for this location.

public String

Returns:

the file path
getPath
()

Return the file path to the page represented by this location.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

columnback to summary
private final int column
lineback to summary
private final int line
pathback to summary
private final String path
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

Locationback to summary
public Location(String path, int line, int column)

Method Detail

getColumnback to summary
public int getColumn()

Return the estimated character column.

Returns:int

the column

getLineback to summary
public int getLine()

Return the line number in the page for this location.

Returns:int

the line number

getPathback to summary
public String getPath()

Return the file path to the page represented by this location.

Returns:String

the file path

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override