Xj3D 2.0 VRML/X3D Code API

org.web3d.vrml.sav
Interface Locator

All Known Implementing Classes:
DefaultLocator

public interface Locator

Callback into the parser to ask for information about where we are in the parsing process.

If a parser supports Locators, it must at least support line numbers. Column numbers are optional.


Method Summary
 int getColumnNumber()
          Get the current column number at the end of the last processing event.
 int getLineNumber()
          Get the current line number of the last event processing step.
 

Method Detail

getColumnNumber

int getColumnNumber()
Get the current column number at the end of the last processing event. If column number support is not provided, this should always return -1.

Returns:
The column number of the last processing event

getLineNumber

int getLineNumber()
Get the current line number of the last event processing step. If the last processing step takes more than one line, this is the first line of the processing that called the callback event.

Returns:
The line number of the last processing step.

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium