|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.fasterxml.aalto.util.XmlCharTypes
public class XmlCharTypes
This is a simple container class, mostly used to encapsulate details of character typing out of parser/scanner/writer classes, while still making int arrays auto-generated only if needed (esp. for encodings never needed, which may be the case for ascii etc).
| Field Summary | |
|---|---|
int[] |
ATTR_CHARS
Character type table used for attribute values |
static int |
CT_AMP
|
static int |
CT_ATTR_QUOTE
|
static int |
CT_DTD_GT
|
static int |
CT_DTD_LT
|
static int |
CT_DTD_PERCENT
|
static int |
CT_DTD_QUOTE
|
static int |
CT_DTD_RBRACKET
|
static int |
CT_GT
|
static int |
CT_HYPHEN
|
static int |
CT_INVALID
|
static int |
CT_LBRACKET
|
static int |
CT_LT
|
static int |
CT_MULTIBYTE_2
|
static int |
CT_MULTIBYTE_3
|
static int |
CT_MULTIBYTE_4
|
static int |
CT_MULTIBYTE_N
|
static int |
CT_NAME_ANY
|
static int |
CT_NAME_COLON
|
static int |
CT_NAME_NONE
|
static int |
CT_NAME_NONFIRST
|
static int |
CT_OK
|
static int |
CT_QMARK
|
static int |
CT_RBRACKET
|
static int |
CT_WS_CR
|
static int |
CT_WS_LF
|
static int |
CT_WS_TAB
|
int[] |
DTD_CHARS
Character type table used for DTD subsets; contains a few additional types beyond most tables |
int[] |
NAME_CHARS
Character type table used for name characters (note: type ints used different from other tables) |
int[] |
OTHER_CHARS
Character type table used for events other than CHARACTERS or elements; ie. |
static int[] |
PUBID_CHARS
And finally, we also have shared table for valid public id characters... |
static int |
PUBID_INVALID
|
static int |
PUBID_OK
|
int[] |
TEXT_CHARS
Character type table used for regular textual content (for CHARACTERS event) |
| Constructor Summary | |
|---|---|
XmlCharTypes()
|
|
XmlCharTypes(int size)
|
|
| Method Summary | |
|---|---|
protected static void |
fillIn8BitAttrRange(int[] arr)
Called to set state of 7-bit chars in attribute values |
protected static void |
fillIn8BitDtdRange(int[] arr)
|
static void |
fillIn8BitNameRange(int[] arr)
|
protected static void |
fillIn8BitTextRange(int[] arr)
Called to set state of 7-bit chars in text content |
static void |
fillInLatin1Chars(int[] textChars,
int[] attrChars,
int[] nameChars,
int[] dtdChars,
int[] otherChars)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int CT_OK
public static final int CT_INVALID
public static final int CT_WS_CR
public static final int CT_WS_LF
public static final int CT_MULTIBYTE_N
public static final int CT_MULTIBYTE_2
public static final int CT_MULTIBYTE_3
public static final int CT_MULTIBYTE_4
public static final int CT_WS_TAB
public static final int CT_LT
public static final int CT_AMP
public static final int CT_RBRACKET
public static final int CT_QMARK
public static final int CT_HYPHEN
public static final int CT_ATTR_QUOTE
public static final int CT_LBRACKET
public static final int CT_GT
public static final int CT_DTD_QUOTE
public static final int CT_DTD_LT
public static final int CT_DTD_GT
public static final int CT_DTD_RBRACKET
public static final int CT_DTD_PERCENT
public static final int CT_NAME_NONE
public static final int CT_NAME_COLON
public static final int CT_NAME_NONFIRST
public static final int CT_NAME_ANY
public static final int PUBID_INVALID
public static final int PUBID_OK
public final int[] TEXT_CHARS
public final int[] ATTR_CHARS
public final int[] NAME_CHARS
public final int[] DTD_CHARS
public final int[] OTHER_CHARS
public static final int[] PUBID_CHARS
| Constructor Detail |
|---|
public XmlCharTypes()
public XmlCharTypes(int size)
| Method Detail |
|---|
public static void fillInLatin1Chars(int[] textChars,
int[] attrChars,
int[] nameChars,
int[] dtdChars,
int[] otherChars)
public static void fillIn8BitNameRange(int[] arr)
protected static void fillIn8BitTextRange(int[] arr)
protected static void fillIn8BitAttrRange(int[] arr)
protected static void fillIn8BitDtdRange(int[] arr)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||