Class XMLStringBuilderSource

    • Constructor Detail

      • XMLStringBuilderSource

        public XMLStringBuilderSource​(StringBuilder data)
    • Method Detail

      • length

        public int length()
        Description copied from interface: XMLSource
        The length (number of characters) in the source
        Specified by:
        length in interface XMLSource
      • charAt

        public char charAt​(int offset)
        Description copied from interface: XMLSource
        A character at a specific offset in the source
        Specified by:
        charAt in interface XMLSource
      • substring

        public String substring​(int start,
                                int end)
        Description copied from interface: XMLSource
        A piece of text between two offsets.

        Note: start <= end

        Specified by:
        substring in interface XMLSource