JavaScript is disabled on your browser.
Skip navigation links
  • Detail:
  • Field |
  • Constr |
  • Method
gnu.text

Interface SourceLocator

  • All Superinterfaces:
    org.xml.sax.Locator, javax.xml.transform.SourceLocator


    public interface SourceLocator
    extends javax.xml.transform.SourceLocator, org.xml.sax.Locator
    • Nested Class Summary

      Nested Classes
      Modifier and Type Interface and Description
      static class SourceLocator.Simple
    • Method Summary

      All Methods
      Modifier and Type Method and Description
      int getColumnNumber ()
      Return current column number.
      int getEndColumn ()
      Column (one-origin) of end of range; unknown/unspecified is -1.
      int getEndLine ()
      Line number (one-origin) of end of range; unknown/unspecified is -1.
      java.lang.String getFileName ()
      Normally same as getSystemId.
      int getLineNumber ()
      Return current line number.
      java.lang.String getPublicId ()
      int getStartColumn ()
      Column (one-origin) of start of range; unknown/unspecified is -1.
      int getStartLine ()
      Line number (one-origin) of start of range; unknown/unspecified is -1.
      java.lang.String getSystemId ()
      boolean isStableSourceLocation ()
      True if position is unlikely to change.
    • Method Detail

      • getLineNumber

        int getLineNumber()
        Return current line number. Normally the same as getStartLine(). The "first" line is line 1; unknown is -1.
        Specified by:
        getLineNumber in interface org.xml.sax.Locator
        Specified by:
        getLineNumber in interface javax.xml.transform.SourceLocator
      • getColumnNumber

        int getColumnNumber()
        Return current column number. Normally the same as getStartColumn(). The "first" column is column 1; unknown is -1.
        Specified by:
        getColumnNumber in interface org.xml.sax.Locator
        Specified by:
        getColumnNumber in interface javax.xml.transform.SourceLocator
      • getStartLine

        int getStartLine()
        Line number (one-origin) of start of range; unknown/unspecified is -1.
      • getStartColumn

        int getStartColumn()
        Column (one-origin) of start of range; unknown/unspecified is -1.
      • getEndLine

        int getEndLine()
        Line number (one-origin) of end of range; unknown/unspecified is -1.
      • getEndColumn

        int getEndColumn()
        Column (one-origin) of end of range; unknown/unspecified is -1.
      • getPublicId

        java.lang.String getPublicId()
        Specified by:
        getPublicId in interface org.xml.sax.Locator
        Specified by:
        getPublicId in interface javax.xml.transform.SourceLocator
      • getSystemId

        java.lang.String getSystemId()
        Specified by:
        getSystemId in interface org.xml.sax.Locator
        Specified by:
        getSystemId in interface javax.xml.transform.SourceLocator
      • getFileName

        java.lang.String getFileName()
        Normally same as getSystemId.
      • isStableSourceLocation

        boolean isStableSourceLocation()
        True if position is unlikely to change. True for an expression but not an input file.
Skip navigation links
  • Detail:
  • Field |
  • Constr |
  • Method

AltStyle によって変換されたページ (->オリジナル) /