com.steadystate.css.parser
Class LocatorImpl
java.lang.Object
com.steadystate.css.parser.LocatorImpl
- Locator
public class LocatorImpl
extends java.lang.Object
int | getColumnNumber() - Return the column number where the current document event ends.
|
int | getLineNumber() - Return the line number where the current document event ends.
|
String | getURI() - Return the URI for the current document event.
|
LocatorImpl
public LocatorImpl()
Creates new LocatorImpl
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.
- getColumnNumber in interface Locator
- The column number, or -1 if none is available.
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.
- getLineNumber in interface Locator
- The line number, or -1 if none is available.
getURI
public String getURI()
Return the URI for the current document event.
The parser must resolve the URI fully before passing it to the
application.
- getURI in interface Locator
- A string containing the URI, or null
if none is available.