Class 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 Detail

      • Location

        public Location​(String path,
                        int line,
                        int column)
    • Method Detail

      • getColumn

        public int getColumn()

        Return the estimated character column.

        Returns:
        the column
      • getLine

        public int getLine()

        Return the line number in the page for this location.

        Returns:
        the line number
      • getPath

        public String getPath()

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

        Returns:
        the file path