Javolution 6.0.0 java
javolution.xml.stream.Location Interface Reference
Inheritance diagram for javolution.xml.stream.Location:
[legend]

Public Member Functions

int getLineNumber ()
 
int getColumnNumber ()
 
int getCharacterOffset ()
 
String getPublicId ()
 
String getSystemId ()
 

Detailed Description

Provides information on the location of an event.

Author
Jean-Marie Dautelle
Version
3.8, May 22, 2006

Definition at line 17 of file Location.java.

Member Function Documentation

◆ getCharacterOffset()

int javolution.xml.stream.Location.getCharacterOffset ( )

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.

Returns
the current offset

Implemented in javolution.xml.internal.stream.XMLStreamReaderImpl.LocationImpl.

◆ getColumnNumber()

int javolution.xml.stream.Location.getColumnNumber ( )

Return the column number where the current event ends, returns -1 if none is available.

Returns
the current column number

Implemented in javolution.xml.internal.stream.XMLStreamReaderImpl.LocationImpl.

Referenced by javolution.xml.stream.XMLStreamException.toString().

Here is the caller graph for this function:

◆ getLineNumber()

int javolution.xml.stream.Location.getLineNumber ( )

Return the line number where the current event ends, returns -1 if none is available.

Returns
the current line number

Implemented in javolution.xml.internal.stream.XMLStreamReaderImpl.LocationImpl.

Referenced by javolution.xml.stream.XMLStreamException.toString().

Here is the caller graph for this function:

◆ getPublicId()

String javolution.xml.stream.Location.getPublicId ( )

Returns the public ID of the XML

Returns
the public ID, or null if not available

Implemented in javolution.xml.internal.stream.XMLStreamReaderImpl.LocationImpl.

◆ getSystemId()

String javolution.xml.stream.Location.getSystemId ( )

Returns the system ID of the XML

Returns
the system ID, or null if not available

Implemented in javolution.xml.internal.stream.XMLStreamReaderImpl.LocationImpl.


The documentation for this interface was generated from the following file: