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

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

    Fields in com.fasterxml.aalto.async declared as PName
    Modifier and Type
    Field
    Description
    protected PName
    AsyncByteScanner._elemAttrName
     
    Methods in com.fasterxml.aalto.async that return PName
    Modifier and Type
    Method
    Description
    protected final PName
    AsyncByteScanner._findXmlDeclName(int lastQuad, int lastByteCount)
     
    protected final PName
    AsyncByteScanner.addPName(ByteBasedPNameTable symbols, int hash, int[] quads, int qlen, int lastQuadBytes)
     
    static PName
    AsyncXmlDeclHelper.find(int quad1)
     
    static PName
    AsyncXmlDeclHelper.find(int quad1, int quad2)
     
    static PName
    AsyncXmlDeclHelper.find(int quad1, int quad2, int quad3)
     
    protected final PName
    AsyncByteScanner.findPName(int lastQuad, int lastByteCount)
    Method called to process a sequence of bytes that is likely to be a PName.
    protected final PName
    AsyncByteArrayScanner.parseEntityName()
     
    protected final PName
    AsyncByteBufferScanner.parseEntityName()
     
    protected final PName
    AsyncByteArrayScanner.parseNewEntityName(byte b)
     
    protected final PName
    AsyncByteBufferScanner.parseNewEntityName(byte b)
     
    protected final PName
    AsyncByteArrayScanner.parseNewName(byte b)
     
    protected final PName
    AsyncByteBufferScanner.parseNewName(byte b)
     
    protected abstract PName
    AsyncByteScanner.parseNewName(byte b)
     
    protected final PName
    AsyncByteArrayScanner.parsePName()
    This method can (for now?)
    protected final PName
    AsyncByteBufferScanner.parsePName()
    This method can (for now?)
    protected abstract PName
    AsyncByteScanner.parsePName()
     
    Methods in com.fasterxml.aalto.async with parameters of type PName
    Modifier and Type
    Method
    Description
    protected void
    AsyncByteScanner.checkPITargetName(PName targetName)
     
    protected final 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.
    protected final 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.
  • Uses of PName in com.fasterxml.aalto.in

    Subclasses of PName in com.fasterxml.aalto.in
    Modifier and Type
    Class
    Description
    class 
    This intermediate abstract class defines more specialized API needed by components like symbol tables, which need to provide efficient access to byte-based PNames.
    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 at most 8 bytes.
    final class 
    Specialized implementation of PName: can be used for medium-sized Strings that consists of at most 9-12 bytes.
    final class 
    An alternate implementation of PName: instead of coming straight from byte contents, it is actually just built from a character array.
    final class 
    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
    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
    Description
    protected final PName
    ReaderScanner.addPName(char[] nameBuffer, int nameLen, int hash)
     
    protected final PName
    StreamScanner.addPName(int hash, int[] quads, int qlen, int lastQuadBytes)
     
    protected final PName
    ByteBasedScanner.addUTFPName(ByteBasedPNameTable symbols, XmlCharTypes charTypes, int hash, int[] quads, int qlen, int lastQuadBytes)
    Conceptually, this method really does NOT belong here.
    protected final 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.
    abstract PName
    PName.createBoundName(com.fasterxml.aalto.in.NsBinding nsb)
     
    PName1.createBoundName(com.fasterxml.aalto.in.NsBinding nsb)
     
    PName2.createBoundName(com.fasterxml.aalto.in.NsBinding nsb)
     
    PName3.createBoundName(com.fasterxml.aalto.in.NsBinding nsb)
     
    PNameC.createBoundName(com.fasterxml.aalto.in.NsBinding nsb)
     
    PNameN.createBoundName(com.fasterxml.aalto.in.NsBinding nsb)
     
    final PName
    AttributeCollector.getName(int index)
     
    ElementScope.getName()
     
    final PName
    XmlScanner.getName()
     
    protected PName
    ReaderScanner.parsePName(char c)
     
    protected final PName
    StreamScanner.parsePName(byte b)
    This method can (for now?)
    protected final PName
    StreamScanner.parsePNameLong(int q, int[] quads)
     
    protected PName
    StreamScanner.parsePNameMedium(int i2, int q1)
     
    protected final PName
    StreamScanner.parsePNameSlow(byte b)
     
    Methods in com.fasterxml.aalto.in with parameters of type PName
    Modifier and Type
    Method
    Description
    protected final 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 final void
    XmlScanner.bindNs(PName name, String uri)
    Method called when we are ready to bind a declared namespace.
    final 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.
    final boolean
    PName.unboundEquals(PName other)
     
    Constructors in com.fasterxml.aalto.in with parameters of type PName
    Modifier
    Constructor
    Description
     
     
  • Uses of PName in com.fasterxml.aalto.stax

    Fields in com.fasterxml.aalto.stax declared as PName
    Modifier and Type
    Field
    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)