org.apache.xml.dtm.ref
Class NodeLocator
java.lang.Objectorg.apache.xml.dtm.ref.NodeLocator
- SourceLocator
public class NodeLocator
extends java.lang.Object
implements SourceLocator
NodeLocator maintains information on an XML source
node.
NodeLocator(String publicId, String systemId, int lineNumber, int columnNumber)- Creates a new
NodeLocator instance.
|
int | getColumnNumber()-
getColumnNumber returns the column number of the
node.
|
int | getLineNumber()-
getLineNumber returns the line number of the node.
|
String | getPublicId()-
getPublicId returns the public ID of the node.
|
String | getSystemId()-
getSystemId returns the system ID of the node.
|
String | toString()-
toString returns a string representation of this
NodeLocator instance.
|
NodeLocator
public NodeLocator(String publicId,
String systemId,
int lineNumber,
int columnNumber) Creates a new NodeLocator instance.
publicId - a String valuesystemId - a String valuelineNumber - an int valuecolumnNumber - an int value
getColumnNumber
public int getColumnNumber()
getColumnNumber returns the column number of the
node.
getLineNumber
public int getLineNumber()
getLineNumber returns the line number of the node.
getPublicId
public String getPublicId()
getPublicId returns the public ID of the node.
getSystemId
public String getSystemId()
getSystemId returns the system ID of the node.
toString
public String toString()
toString returns a string representation of this
NodeLocator instance.
Copyright B) 2004 Apache XML Project. All Rights Reserved.