Package 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description char
charAt(int offset)
A character at a specific offset in the sourceint
length()
The length (number of characters) in the sourceString
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
String substring(int start, int end)
A piece of text between two offsets.Note:
start <= end
-
-