| javolution.xml.stream.Location
Location | public interface Location (Code) | | Provides information on the location of an event.
author: Jean-Marie Dautelle version: 3.8, May 22, 2006 |
getCharacterOffset | int getCharacterOffset()(Code) | | Return the byte or character offset into the input source this location
is pointing to. If the input source is a file or a byte stream then
this is the byte offset into that stream, but if the input source is
a character media then the offset is the character offset.
Returns -1 if there is no offset available.
the current offset |
getColumnNumber | int getColumnNumber()(Code) | | Return the column number where the current event ends,
returns -1 if none is available.
the current column number |
getLineNumber | int getLineNumber()(Code) | | Return the line number where the current event ends,
returns -1 if none is available.
the current line number |
getPublicId | public String getPublicId()(Code) | | Returns the public ID of the XML
the public ID, or null if not available |
getSystemId | public String getSystemId()(Code) | | Returns the system ID of the XML
the system ID, or null if not available |
|
|