|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.apache.xml.dtm.ref.NodeLocator
NodeLocator maintains information on an XML source
node.
| Constructor Summary | |
|---|---|
NodeLocator(java.lang.String publicId,
java.lang.String systemId,
int lineNumber,
int columnNumber)
Creates a new NodeLocator instance. |
|
| Method Summary | |
|---|---|
int |
getColumnNumber()
getColumnNumber returns the column number of the
node. |
int |
getLineNumber()
getLineNumber returns the line number of the node. |
java.lang.String |
getPublicId()
getPublicId returns the public ID of the node. |
java.lang.String |
getSystemId()
getSystemId returns the system ID of the node. |
java.lang.String |
toString()
toString returns a string representation of this
NodeLocator instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public NodeLocator(java.lang.String publicId,
java.lang.String systemId,
int lineNumber,
int columnNumber)
NodeLocator instance.
publicId - a String valuesystemId - a String valuelineNumber - an int valuecolumnNumber - an int value| Method Detail |
public java.lang.String getPublicId()
getPublicId returns the public ID of the node.
getPublicId in interface SourceLocatorString valueSourceLocator.getSystemId()public java.lang.String getSystemId()
getSystemId returns the system ID of the node.
getSystemId in interface SourceLocatorString valueSourceLocator.getPublicId()public int getLineNumber()
getLineNumber returns the line number of the node.
getLineNumber in interface SourceLocatorint valueSourceLocator.getColumnNumber()public int getColumnNumber()
getColumnNumber returns the column number of the
node.
getColumnNumber in interface SourceLocatorint valueSourceLocator.getLineNumber()public java.lang.String toString()
toString returns a string representation of this
NodeLocator instance.
String value
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||