org.zkoss.idom.util
Class SimpleLocator
java.lang.Object
org.zkoss.idom.util.SimpleLocator
- All Implemented Interfaces:
- Serializable, SourceLocator, Locator
public class SimpleLocator
- extends Object
- implements Locator, Serializable
The locator implementation. Useful to assign the location information
to vertices.
- Author:
- tomyeh
- See Also:
Item,
Serialized Form
_colno
protected int _colno
_lnno
protected int _lnno
_pubId
protected String _pubId
_sysId
protected String _sysId
SimpleLocator
public SimpleLocator(Locator loc)
- Constructor with another locator.
SimpleLocator
public SimpleLocator(SourceLocator loc)
- Constructor with another locator.
SimpleLocator
public SimpleLocator(int colno,
int lnno,
String pubId,
String sysId)
- Constructor.
toString
public static final String toString(Locator loc)
getColumnNumber
public final int getColumnNumber()
- Specified by:
getColumnNumber in interface SourceLocator- Specified by:
getColumnNumber in interface Locator
getLineNumber
public final int getLineNumber()
- Specified by:
getLineNumber in interface SourceLocator- Specified by:
getLineNumber in interface Locator
getPublicId
public final String getPublicId()
- Specified by:
getPublicId in interface SourceLocator- Specified by:
getPublicId in interface Locator
getSystemId
public final String getSystemId()
- Specified by:
getSystemId in interface SourceLocator- Specified by:
getSystemId in interface Locator
toString
public final String toString()
- Overrides:
toString in class Object
Copyright © 2011. All Rights Reserved.