public final class OutputCharTypes extends XmlCharTypes
Modifier and Type | Field and Description |
---|---|
static int |
CT_OUTPUT_MUST_QUOTE |
static int |
CT_OUTPUT_NAME_ANY_MB2 |
static int |
CT_OUTPUT_NAME_NONFIRST_MB2 |
static int |
CT_OUTPUT_NAME_UNENCODABLE
Unencodable means that while the name char may be acceptable
per se, it can not be encode using current encoding
|
(package private) static int |
MAIN_TABLE_SIZE
Although many encodings (Latin1, Ascii) could use shorter tables,
for UTF-8 2k makes sense, as it will then cover both one and
type byte sequences.
|
private static XmlCharTypes |
sAsciiCharTypes |
private static XmlCharTypes |
sLatin1CharTypes |
private static XmlCharTypes |
sUtf8CharTypes |
ATTR_CHARS, CT_AMP, CT_ATTR_QUOTE, CT_DTD_GT, CT_DTD_LT, CT_DTD_PERCENT, CT_DTD_QUOTE, CT_DTD_RBRACKET, CT_GT, CT_HYPHEN, CT_INVALID, CT_LBRACKET, CT_LT, CT_MULTIBYTE_2, CT_MULTIBYTE_3, CT_MULTIBYTE_4, CT_MULTIBYTE_N, CT_NAME_ANY, CT_NAME_COLON, CT_NAME_NONE, CT_NAME_NONFIRST, CT_OK, CT_QMARK, CT_RBRACKET, CT_WS_CR, CT_WS_LF, CT_WS_TAB, DTD_CHARS, NAME_CHARS, OTHER_CHARS, PUBID_CHARS, PUBID_INVALID, PUBID_OK, TEXT_CHARS
Constructor and Description |
---|
OutputCharTypes() |
Modifier and Type | Method and Description |
---|---|
static XmlCharTypes |
getAsciiCharTypes() |
static XmlCharTypes |
getLatin1CharTypes() |
static XmlCharTypes |
getUtf8CharTypes() |
private static void |
modifyAsciiNames(int[] charTable) |
private static void |
modifyForAscii(int[] charTable) |
private static void |
modifyForAttrWrite(int[] charTable) |
private static void |
modifyForLatin1(int[] charTable) |
private static void |
modifyForUtf8(int[] charTable) |
private static void |
modifyLatin1Names(int[] charTable) |
private static void |
modifyUtf8Names(int[] charTable) |
private static void |
requireQuotingAfter(int[] charTable,
int lastValid) |
fillIn8BitAttrRange, fillIn8BitDtdRange, fillIn8BitNameRange, fillIn8BitTextRange, fillInLatin1Chars
static final int MAIN_TABLE_SIZE
public static final int CT_OUTPUT_MUST_QUOTE
public static final int CT_OUTPUT_NAME_UNENCODABLE
public static final int CT_OUTPUT_NAME_NONFIRST_MB2
public static final int CT_OUTPUT_NAME_ANY_MB2
private static XmlCharTypes sAsciiCharTypes
private static XmlCharTypes sLatin1CharTypes
private static final XmlCharTypes sUtf8CharTypes
public static final XmlCharTypes getUtf8CharTypes()
public static final XmlCharTypes getLatin1CharTypes()
public static final XmlCharTypes getAsciiCharTypes()
private static void modifyForLatin1(int[] charTable)
private static void modifyLatin1Names(int[] charTable)
private static void modifyForUtf8(int[] charTable)
private static void modifyUtf8Names(int[] charTable)
private static void modifyForAscii(int[] charTable)
private static void modifyAsciiNames(int[] charTable)
private static void modifyForAttrWrite(int[] charTable)
private static void requireQuotingAfter(int[] charTable, int lastValid)