Interface XMLSource

All Known Implementing Classes:
Location.ReusableXMLSource, XMLIOSource, XMLStringBufferSource, XMLStringBuilderSource, XMLStringSource

public interface XMLSource
This is the interface for a source of XML characters.
  • Method Summary

    Modifier and Type
    Method
    Description
    char
    charAt(int offset)
    A character at a specific offset in the source
    int
    The length (number of characters) in the source
    substring(int start, int end)
    A piece of text between two offsets.
  • Method Details

    • length

      int length()
      The length (number of characters) in the source
    • charAt

      char charAt(int offset)
      A character at a specific offset in the source
    • substring

      String substring(int start, int end)
      A piece of text between two offsets.

      Note: start invalid input: '<'= end