javax.faces.view

## Class Location

- java.lang.Object
- - javax.faces.view.Location

- All Implemented Interfaces:
    Serializable

      public class Location
      extends Object
      implements Serializable

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

  Since:
    2.0
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Location(String path, int line, int column)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getColumn()` Return the estimated character column.
    `int` | `getLine()` Return the line number in the page for this location.
    `String` | `getPath()` Return the file path to the page represented by this location.
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### Location

          public Location(String path,
                  int line,
                  int column)

  - ### Method Detail

    - #### getColumn

          public int getColumn()

      Return the estimated character column.

    - #### getLine

          public int getLine()

      Return the line number in the page for this location.

    - #### getPath

          public String getPath()

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

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.