程序包 | 说明 |
---|---|
org.codehaus.jackson.impl |
Parser and generator implementation classes that Jackson
defines and uses.
|
org.codehaus.jackson.sym |
Internal implementation classes for efficient handling of
of symbols in JSON (field names in Objects)
|
限定符和类型 | 方法和说明 |
---|---|
protected Name |
Utf8StreamParser._handleUnusualFieldName(int ch)
Method called when we see non-white space character other
than double quote, when expecting a field name.
|
protected Name |
Utf8StreamParser._parseApostropheFieldName() |
protected Name |
Utf8StreamParser._parseFieldName(int i) |
protected Name |
Utf8StreamParser.parseEscapedFieldName(int[] quads,
int qlen,
int currQuad,
int ch,
int currQuadBytes)
Slower parsing method which is generally branched to when
an escape sequence is detected (or alternatively for long
names, or ones crossing input buffer boundary).
|
protected Name |
Utf8StreamParser.parseLongFieldName(int q) |
protected Name |
Utf8StreamParser.parseMediumFieldName(int q2,
int[] codes) |
protected Name |
Utf8StreamParser.slowParseFieldName()
Method called when not even first 8 bytes are guaranteed
to come consequtively.
|
限定符和类型 | 类和说明 |
---|---|
class |
Name1
Specialized implementation of PName: can be used for short Strings
that consists of at most 4 bytes.
|
class |
Name2
Specialized implementation of PName: can be used for short Strings
that consists of 5 to 8 bytes.
|
class |
Name3
Specialized implementation of PName: can be used for short Strings
that consists of 9 to 12 bytes.
|
class |
NameN
Generic implementation of PName used for "long" names, where long
means that its byte (UTF-8) representation is 13 bytes or more.
|
限定符和类型 | 字段和说明 |
---|---|
protected Name[] |
BytesToNameCanonicalizer._mainNames
Array that contains
Name instances matching
entries in _mainHash . |
限定符和类型 | 方法和说明 |
---|---|
Name |
BytesToNameCanonicalizer.addName(String symbolStr,
int[] quads,
int qlen) |
Name |
BytesToNameCanonicalizer.addName(String symbolStr,
int q1,
int q2) |
Name |
BytesToNameCanonicalizer.findName(int firstQuad)
Finds and returns name matching the specified symbol, if such
name already exists in the table.
|
Name |
BytesToNameCanonicalizer.findName(int[] quads,
int qlen)
Finds and returns name matching the specified symbol, if such
name already exists in the table; or if not, creates name object,
adds to the table, and returns it.
|
Name |
BytesToNameCanonicalizer.findName(int firstQuad,
int secondQuad)
Finds and returns name matching the specified symbol, if such
name already exists in the table.
|
static Name |
BytesToNameCanonicalizer.getEmptyName() |