Package com.steadystate.css.parser
Class LocatorImpl
- java.lang.Object
-
- com.steadystate.css.parser.LocatorImpl
-
-
Constructor Summary
Constructors Constructor Description LocatorImpl()Creates new LocatorImpl
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetColumnNumber()Return the column number where the current document event ends.intgetLineNumber()Return the line number where the current document event ends.java.lang.StringgetURI()Return the URI for the current document event.
-
-
-
Method Detail
-
getLineNumber
public int getLineNumber()
Return the line number where the current document event ends. Note that this is the line position of the first character after the text associated with the document event.- Specified by:
getLineNumberin interfaceLocator- Returns:
- The line number, or -1 if none is available.
- See Also:
getColumnNumber()
-
getURI
public java.lang.String getURI()
Return the URI for the current document event.The parser must resolve the URI fully before passing it to the application.
-
getColumnNumber
public int getColumnNumber()
Return the column number where the current document event ends. Note that this is the column number of the first character after the text associated with the document event. The first column in a line is position 1.- Specified by:
getColumnNumberin interfaceLocator- Returns:
- The column number, or -1 if none is available.
- See Also:
getLineNumber()
-
-