Package de.pdark.decentxml
Interface XMLSource
-
- All Known Implementing Classes:
Location.ReusableXMLSource,XMLIOSource,XMLStringBufferSource,XMLStringBuilderSource,XMLStringSource
public interface XMLSourceThis is the interface for a source of XML characters.- Author:
- digulla
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description charcharAt(int offset)A character at a specific offset in the sourceintlength()The length (number of characters) in the sourceStringsubstring(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
String substring(int start, int end)
A piece of text between two offsets.Note:
start <= end
-
-