Uses of Class
org.codehaus.jackson.sym.Name

Packages that use Name
Package
Description
Parser and generator implementation classes that Jackson defines and uses.
Internal implementation classes for efficient handling of of symbols in JSON (field names in Objects)
  • Uses of Name in org.codehaus.jackson.impl

    Methods in org.codehaus.jackson.impl that return Name
    Modifier and Type
    Method
    Description
    protected final Name
    Utf8StreamParser._handleUnusualFieldName(int ch)
    Method called when we see non-white space character other than double quote, when expecting a field name.
    protected final Name
    Utf8StreamParser._parseApostropheFieldName()
     
    protected final 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 final Name
    Utf8StreamParser.parseMediumFieldName(int q2, int[] codes)
     
    protected Name
    Utf8StreamParser.slowParseFieldName()
    Method called when not even first 8 bytes are guaranteed to come consequtively.
  • Uses of Name in org.codehaus.jackson.sym

    Modifier and Type
    Class
    Description
    final class 
    Specialized implementation of PName: can be used for short Strings that consists of at most 4 bytes.
    final class 
    Specialized implementation of PName: can be used for short Strings that consists of 5 to 8 bytes.
    final class 
    Specialized implementation of PName: can be used for short Strings that consists of 9 to 12 bytes.
    final class 
    Generic implementation of PName used for "long" names, where long means that its byte (UTF-8) representation is 13 bytes or more.
    Fields in org.codehaus.jackson.sym declared as Name
    Modifier and Type
    Field
    Description
    protected Name[]
    BytesToNameCanonicalizer._mainNames
    Array that contains Name instances matching entries in _mainHash.
    Methods in org.codehaus.jackson.sym that return Name
    Modifier and Type
    Method
    Description
    BytesToNameCanonicalizer.addName(String symbolStr, int[] quads, int qlen)
     
    BytesToNameCanonicalizer.addName(String symbolStr, int q1, int q2)
     
    BytesToNameCanonicalizer.findName(int firstQuad)
    Finds and returns name matching the specified symbol, if such name already exists in the table.
    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.
    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()