com.jclark.xml.tok |
|
Java Source File Name | Type | Comment |
ASCIIEncoding.java | Class | |
Buffer.java | Class | |
ContentToken.java | Class | Represents information returned by Encoding.tokenizeContent . |
EmptyTokenException.java | Class | Thrown to indicate that the subarray being tokenized is empty. |
Encoding.java | Class | An Encoding object corresponds to a possible
encoding (a mapping from characters to sequences of bytes).
It provides operations on byte arrays
that represent all or part of a parsed XML entity in that encoding.
The set of ASCII characters excluding $@\^`{}~
have a special status; these are called XML significant
characters.
This class imposes certain restrictions on an encoding:
- the encoding must be stateless;
- a single byte must not encode more than one character;
- all XML significant characters must be encoded by the same number
of bytes, and no character may be encoded by fewer bytes.
Several methods operate on byte subarrays. |
EndOfPrologException.java | Class | Thrown to indicate that the end of the prolog has been detected. |
ExtensibleTokenException.java | Class | Thrown to indicate that the byte subarray being tokenized is a legal XML
token, but that subsequent bytes in the same entity could be part of
the token. |
InternalEncoding.java | Class | An Encoding for UTF-16 in big-endian byte order
(network byte order), but with newlines already normalized to U+000A. |
InvalidTokenException.java | Class | Thrown to indicate that the byte subarray being tokenized does not start
with a legal XML token and cannot start one if more bytes are added. |
ISO8859_1Encoding.java | Class | An Encoding for ISO 8859-1. |
PartialCharException.java | Class | Thrown to indicate that the subarray being tokenized is not the
complete encoding of one or more characters, but might be if
more bytes were added. |
PartialTokenException.java | Class | Thrown to indicate that the byte subarray being tokenized does not start
with a legal XML token but might be one if the subarray were extended. |
Position.java | Class | Represents a position in an entity. |
PrologParser.java | Class | Parses the prolog of an XML document. |
PrologSyntaxException.java | Class | Thrown for a syntax error in parsing the prolog. |
SingleByteEncoding.java | Class | An Encoding for an arbitrary encoding
that represents every character by exactly one byte. |
StringConversionCache.java | Class | Caches conversion of byte subarrays into Strings. |
TextDecl.java | Class | An XML TextDecl. |
Token.java | Class | Represents information returned by the tokenizing methods in
Encoding . |
TokenException.java | Class | The superclass of all checked exceptions thrown by methods in
Encoding . |
UTF16BigEndianEncoding.java | Class | |
UTF16LittleEndianEncoding.java | Class | An Encoding for UTF-16 in little-endian byte order
(least significant byte first). |
UTF8Encoding.java | Class | An Encoding for UTF-8. |
XmlDecl.java | Class | An XML declaration. |