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 PNameMethods in com.fasterxml.aalto.async that return PNameModifier and TypeMethodDescriptionprotected final PNameAsyncByteScanner._findXmlDeclName(int lastQuad, int lastByteCount) protected final PNameAsyncByteScanner.addPName(ByteBasedPNameTable symbols, int hash, int[] quads, int qlen, int lastQuadBytes) static PNameAsyncXmlDeclHelper.find(int quad1) static PNameAsyncXmlDeclHelper.find(int quad1, int quad2) static PNameAsyncXmlDeclHelper.find(int quad1, int quad2, int quad3) protected final PNameAsyncByteScanner.findPName(int lastQuad, int lastByteCount) Method called to process a sequence of bytes that is likely to be a PName.protected final PNameAsyncByteArrayScanner.parseEntityName()protected final PNameAsyncByteBufferScanner.parseEntityName()protected final PNameAsyncByteArrayScanner.parseNewEntityName(byte b) protected final PNameAsyncByteBufferScanner.parseNewEntityName(byte b) protected final PNameAsyncByteArrayScanner.parseNewName(byte b) protected final PNameAsyncByteBufferScanner.parseNewName(byte b) protected abstract PNameAsyncByteScanner.parseNewName(byte b) protected final PNameAsyncByteArrayScanner.parsePName()This method can (for now?)protected final PNameAsyncByteBufferScanner.parsePName()This method can (for now?)protected abstract PNameAsyncByteScanner.parsePName()Methods in com.fasterxml.aalto.async with parameters of type PNameModifier and TypeMethodDescriptionprotected voidAsyncByteScanner.checkPITargetName(PName targetName) protected final intAsyncByteArrayScanner.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 intAsyncByteBufferScanner.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.inModifier and TypeClassDescriptionclassThis intermediate abstract class defines more specialized API needed by components like symbol tables, which need to provide efficient access to byte-based PNames.final classSpecialized implementation of PName: can be used for short Strings that consists of at most 4 bytes.final classSpecialized implementation of PName: can be used for short Strings that consists of at most 8 bytes.final classSpecialized implementation of PName: can be used for medium-sized Strings that consists of at most 9-12 bytes.final classAn alternate implementation of PName: instead of coming straight from byte contents, it is actually just built from a character array.final classGeneral 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 PNameModifier and TypeFieldDescriptionprotected PName[]XmlScanner._nsBindingCacheAlthough unbound pname instances can be easily and safely reused, bound ones are per-document.protected PNameXmlScanner._tokenNameCurrent name associated with the token, if any.Methods in com.fasterxml.aalto.in that return PNameModifier and TypeMethodDescriptionprotected final PNameReaderScanner.addPName(char[] nameBuffer, int nameLen, int hash) protected final PNameStreamScanner.addPName(int hash, int[] quads, int qlen, int lastQuadBytes) protected final PNameByteBasedScanner.addUTFPName(ByteBasedPNameTable symbols, XmlCharTypes charTypes, int hash, int[] quads, int qlen, int lastQuadBytes) Conceptually, this method really does NOT belong here.protected final PNameThis method is called to find/create a fully qualified (bound) name (element / attribute), for a name with prefix.abstract PNamePName.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 PNameAttributeCollector.getName(int index) ElementScope.getName()final PNameXmlScanner.getName()protected PNameReaderScanner.parsePName(char c) protected final PNameStreamScanner.parsePName(byte b) This method can (for now?)protected final PNameStreamScanner.parsePNameLong(int q, int[] quads) protected PNameStreamScanner.parsePNameMedium(int i2, int q1) protected final PNameStreamScanner.parsePNameSlow(byte b) Methods in com.fasterxml.aalto.in with parameters of type PNameModifier and TypeMethodDescriptionprotected final PNameThis method is called to find/create a fully qualified (bound) name (element / attribute), for a name with prefix.protected final voidMethod called when we are ready to bind a declared namespace.final booleanPName.boundEquals(PName other) Method that compares two bound PNames for semantic equality.protected voidXmlScanner.reportUnboundPrefix(PName name, boolean isAttr) protected voidXmlScanner.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 booleanPName.unboundEquals(PName other) Constructors in com.fasterxml.aalto.in with parameters of type PName -
Uses of PName in com.fasterxml.aalto.stax
Fields in com.fasterxml.aalto.stax declared as PNameModifier and TypeFieldDescriptionprotected PNameStreamReaderImpl._currNamePrefixed name associated with the current event, if any.protected PNameStreamReaderImpl._dtdRootNamePrefixed root-name DOCTYPE declaration gave us, if any (note: also serves as a marker to know if we have seen DOCTYPE yet)