java.lang.Object
com.steadystate.css.parser.LocatorImpl
- All Implemented Interfaces:
- org.w3c.css.sac.Locator
- public class LocatorImpl
- extends java.lang.Object
- implements org.w3c.css.sac.Locator
- Version:
- $Release$
|
Constructor Summary |
LocatorImpl()
Creates new LocatorImpl |
|
Method Summary |
int |
getColumnNumber()
Return the column number where the current document event ends. |
int |
getLineNumber()
Return the line number where the current document event ends. |
java.lang.String |
getURI()
Return the URI for the current document event. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_uri
private java.lang.String _uri
_line
private int _line
_column
private int _column
LocatorImpl
public LocatorImpl()
- Creates new LocatorImpl
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:
getLineNumber in interface org.w3c.css.sac.Locator
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.
- Specified by:
getURI in interface org.w3c.css.sac.Locator
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:
getColumnNumber in interface org.w3c.css.sac.Locator