Package org.opencypher.tools.xml
Interface LocationAware
-
- All Known Implementing Classes:
Grammar.CharacterSet
public interface LocationAwareImplemented 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidlocation(String path, int lineNumber, int columnNumber)Invoked with the location of this element.
-
-
-
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.
-
-