| |
|
| java.lang.Object java.lang.Throwable java.lang.Exception com.jclark.xml.tok.TokenException com.jclark.xml.tok.InvalidTokenException
InvalidTokenException | public class InvalidTokenException extends TokenException (Code) | | 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.
version: $Revision: 1.3 $ $Date: 1998/02/17 04:24:08 $ |
Field Summary | |
final public static byte | DUPLICATE_ATTRIBUTE A duplicate attribute was specified. | final public static byte | ILLEGAL_CHAR The character or byte at the specified offset is not allowed
at that point. | final public static byte | XML_TARGET The target of a processing instruction was XML. |
Method Summary | |
final public int | getOffset() Returns the offset after the longest initial subarray
which could start a legal XML token. | final public byte | getType() |
DUPLICATE_ATTRIBUTE | final public static byte DUPLICATE_ATTRIBUTE(Code) | | A duplicate attribute was specified.
|
ILLEGAL_CHAR | final public static byte ILLEGAL_CHAR(Code) | | The character or byte at the specified offset is not allowed
at that point.
|
XML_TARGET | final public static byte XML_TARGET(Code) | | The target of a processing instruction was XML.
|
InvalidTokenException | InvalidTokenException(int offset, byte type)(Code) | | |
InvalidTokenException | InvalidTokenException(int offset)(Code) | | |
getOffset | final public int getOffset()(Code) | | Returns the offset after the longest initial subarray
which could start a legal XML token.
|
getType | final public byte getType()(Code) | | |
|
|
|