Interface LocationAware

  • All Known Implementing Classes:
    Grammar.CharacterSet

    public interface LocationAware
    Implemented by XML element classes that need to know which file the element was read from, and where in that file (line / column) the element was read.
    • Method Detail

      • location

        void location​(String path,
                      int lineNumber,
                      int columnNumber)
        Invoked with the location of this element.
        Parameters:
        path - the path to the XML file this element was read from.
        lineNumber - the line number in that XML file at which this element was read.
        columnNumber - the column number in the line at which this element was read.