de.pdark.decentxml
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.

Author:
digulla

Method Summary
 char charAt(int offset)
          A character at a specific offset in the source
 int length()
          The length (number of characters) in the source
 java.lang.String substring(int start, int end)
          A piece of text between two offsets.
 

Method Detail

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

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

Note: start <= end



Copyright © 2008-2011. All Rights Reserved.