com.ibm.xml.xapi
Interface XSourceLocation
- public interface XSourceLocation
XMessageHandler
report method
to indicate the location of the error or message.
See Also:
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getEndColumn()
Get the end column number within the document.
|
|
getEndLine()
Get the end line number within the document.
|
|
getPublicId()
Get the public identifier for the document.
|
|
getStartColumn()
Get the start column number within the document.
|
|
getStartLine()
Get the start line number within the document.
|
|
getSystemId()
Get the system identifier for the document.
|
Method Detail
getSystemId
- java.lang.String getSystemId()
Get the system identifier for the document. May return null
if not known.
Returns:
The system identifier.
getPublicId
- java.lang.String getPublicId()
Get the public identifier for the document. May return null
if not known.
Returns:
The public identifier.
getStartLine
- int getStartLine()
Get the start line number within the document. May return -1 if
not known.
Returns:
The start line number.
getStartColumn
- int getStartColumn()
Get the start column number within the document. May return -1 if
not known.
Returns:
The start column number.
getEndLine
- int getEndLine()
Get the end line number within the document. May return -1
if not known.
Returns:
The end line number.
getEndColumn
- int getEndColumn()
Get the end column number within the document. May return -1
if not known.
Returns:
The end column number.