com.ibm.xml.xapi

Interface XSourceLocation



  • public interface XSourceLocation
    Represents a location in a document. Passed to the XMessageHandler report method to indicate the location of the error or message.
    See Also:
    XMessageHandler
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      int getEndColumn()
      Get the end column number within the document.
      int getEndLine()
      Get the end line number within the document.
      java.lang.String getPublicId()
      Get the public identifier for the document.
      int getStartColumn()
      Get the start column number within the document.
      int getStartLine()
      Get the start line number within the document.
      java.lang.String 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.
IBM WebSphere Application Server XML API JavadocTM
Release 9.0