## Uses of Class
com.fasterxml.aalto.in.PName

- Packages that use PName
  Package | Description
  --- | ---
  com.fasterxml.aalto.async | Package that contains implementations of asynchronous (non-blocking) parser.
  com.fasterxml.aalto.in |
  com.fasterxml.aalto.stax |

- - ### Uses of PName in com.fasterxml.aalto.async

    Fields in com.fasterxml.aalto.async declared as PName
    Modifier and Type | Field and Description
    --- | ---
    `protected PName` | AsyncByteScanner.`_elemAttrName`

    Methods in com.fasterxml.aalto.async that return PName
    Modifier and Type | Method and Description
    --- | ---
    `protected PName` | AsyncByteScanner.`findPName(int lastQuad, int lastByteCount)` Method called to process a sequence of bytes that is likely to be a PName.
    `protected PName` | AsyncByteBufferScanner.`parseEntityName()`
    `protected PName` | AsyncByteArrayScanner.`parseEntityName()`
    `protected PName` | AsyncByteBufferScanner.`parseNewEntityName(byte b)`
    `protected PName` | AsyncByteArrayScanner.`parseNewEntityName(byte b)`
    `protected PName` | AsyncByteBufferScanner.`parseNewName(byte b)`
    `protected PName` | AsyncByteArrayScanner.`parseNewName(byte b)`
    `protected PName` | AsyncByteBufferScanner.`parsePName()` This method can (for now?) be shared between all Ascii-based encodings, since it only does coarse validity checking -- real checks are done in different method.
    `protected PName` | AsyncByteArrayScanner.`parsePName()` This method can (for now?) be shared between all Ascii-based encodings, since it only does coarse validity checking -- real checks are done in different method.

    Methods in com.fasterxml.aalto.async with parameters of type PName
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | AsyncByteScanner.`checkPITargetName(PName targetName)`
    `protected int` | AsyncByteBufferScanner.`decodeGeneralEntity(PName entityName)` Method that verifies that given named entity is followed by a semi-colon (meaning next byte must be available for reading); and if so, whether it is one of pre-defined general entities.
    `protected int` | AsyncByteArrayScanner.`decodeGeneralEntity(PName entityName)` Method that verifies that given named entity is followed by a semi-colon (meaning next byte must be available for reading); and if so, whether it is one of pre-defined general entities.

  - ### Uses of PName in com.fasterxml.aalto.in

    Subclasses of PName in com.fasterxml.aalto.in
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ByteBasedPName` This intermediate abstract class defines more specialized API needed by components like symbol tables, which need to provide efficient access to byte-based PNames.
    `class` | `PName1` Specialized implementation of PName: can be used for short Strings that consists of at most 4 bytes.
    `class` | `PName2` Specialized implementation of PName: can be used for short Strings that consists of at most 8 bytes.
    `class` | `PName3` Specialized implementation of PName: can be used for medium-sized Strings that consists of at most 9-12 bytes.
    `class` | `PNameC` An alternate implementation of PName: instead of coming straight from byte contents, it is actually just built from a character array.
    `class` | `PNameN` General implementation of PName to be used with longer names (ones that consist of more than 8 bytes).

    Fields in com.fasterxml.aalto.in declared as PName
    Modifier and Type | Field and Description
    --- | ---
    `protected PName[]` | XmlScanner.`_nsBindingCache` Although unbound pname instances can be easily and safely reused, bound ones are per-document.
    `protected PName` | XmlScanner.`_tokenName` Current name associated with the token, if any.

    Methods in com.fasterxml.aalto.in that return PName
    Modifier and Type | Method and Description
    --- | ---
    `protected PName` | ReaderScanner.`addPName(char[] nameBuffer, int nameLen, int hash)`
    `protected PName` | ByteBasedScanner.`addPName(int hash, int[] quads, int qlen, int lastQuadBytes)`
    `protected PName` | ByteBasedScanner.`addUtfPName(XmlCharTypes charTypes, int hash, int[] quads, int qlen, int lastQuadBytes)` Conceptually, this method really does NOT belong here.
    `protected PName` | XmlScanner.`bindName(PName name, String prefix)` This method is called to find/create a fully qualified (bound) name (element / attribute), for a name with prefix.
    `PName` | PNameN.`createBoundName(com.fasterxml.aalto.in.NsBinding nsb)`
    `PName` | PNameC.`createBoundName(com.fasterxml.aalto.in.NsBinding nsb)`
    `PName` | PName3.`createBoundName(com.fasterxml.aalto.in.NsBinding nsb)`
    `PName` | PName2.`createBoundName(com.fasterxml.aalto.in.NsBinding nsb)`
    `PName` | PName1.`createBoundName(com.fasterxml.aalto.in.NsBinding nsb)`
    `abstract PName` | PName.`createBoundName(com.fasterxml.aalto.in.NsBinding nsb)`
    `PName` | XmlScanner.`getName()`
    `PName` | ElementScope.`getName()`
    `PName` | AttributeCollector.`getName(int index)`
    `protected PName` | StreamScanner.`parsePName(byte b)` This method can (for now?) be shared between all Ascii-based encodings, since it only does coarse validity checking -- real checks are done in different method.
    `protected PName` | ReaderScanner.`parsePName(char c)`
    `protected PName` | StreamScanner.`parsePNameLong(int q, int[] quads)`
    `protected PName` | StreamScanner.`parsePNameMedium(int i2, int q1)`
    `protected PName` | StreamScanner.`parsePNameSlow(byte b)`

    Methods in com.fasterxml.aalto.in with parameters of type PName
    Modifier and Type | Method and Description
    --- | ---
    `protected PName` | XmlScanner.`bindName(PName name, String prefix)` This method is called to find/create a fully qualified (bound) name (element / attribute), for a name with prefix.
    `protected void` | XmlScanner.`bindNs(PName name, String uri)` Method called when we are ready to bind a declared namespace.
    `boolean` | PName.`boundEquals(PName other)` Method that compares two bound PNames for semantic equality.
    `protected void` | XmlScanner.`reportUnboundPrefix(PName name, boolean isAttr)`
    `protected void` | XmlScanner.`reportUnexpandedEntityInAttr(PName name, boolean isNsDecl)` Method called when a call to expand an entity within attribute value fails to expand it.
    `char[]` | AttributeCollector.`startNewValue(PName attrName, int currOffset)` Method called by the parser right after attribute name has been parsed, but before value has been parsed.
    `boolean` | PName.`unboundEquals(PName other)`

    Constructors in com.fasterxml.aalto.in with parameters of type PName
    Constructor and Description
    `ElementScope(PName name, ElementScope parent)`

  - ### Uses of PName in com.fasterxml.aalto.stax

    Fields in com.fasterxml.aalto.stax declared as PName
    Modifier and Type | Field and Description
    --- | ---
    `protected PName` | StreamReaderImpl.`_currName` Prefixed name associated with the current event, if any.
    `protected PName` | StreamReaderImpl.`_dtdRootName` Prefixed root-name DOCTYPE declaration gave us, if any (note: also serves as a marker to know if we have seen DOCTYPE yet)

Copyright © 2018 FasterXML. All rights reserved.