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 test -
-
Uses of PName in com.fasterxml.aalto.async
Fields in com.fasterxml.aalto.async declared as PName Modifier and Type Field Description protected PNameAsyncByteScanner. _elemAttrNameMethods in com.fasterxml.aalto.async that return PName Modifier and Type Method Description protected PNameAsyncByteScanner. _findXmlDeclName(int lastQuad, int lastByteCount)private PNameAsyncByteScanner. _parseNewXmlDeclName(byte b)private PNameAsyncByteScanner. _parseXmlDeclName()protected 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 PNameAsyncByteScanner. findPName(int lastQuad, int lastByteCount)Method called to process a sequence of bytes that is likely to be a PName.protected PNameAsyncByteArrayScanner. parseEntityName()protected PNameAsyncByteBufferScanner. parseEntityName()protected PNameAsyncByteArrayScanner. parseNewEntityName(byte b)protected PNameAsyncByteBufferScanner. parseNewEntityName(byte b)protected PNameAsyncByteArrayScanner. parseNewName(byte b)protected PNameAsyncByteBufferScanner. parseNewName(byte b)protected abstract PNameAsyncByteScanner. parseNewName(byte b)protected PNameAsyncByteArrayScanner. 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 PNameAsyncByteBufferScanner. 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 abstract PNameAsyncByteScanner. parsePName()Methods in com.fasterxml.aalto.async with parameters of type PName Modifier and Type Method Description protected voidAsyncByteScanner. checkPITargetName(PName targetName)protected 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 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.private voidAsyncByteArrayScanner. initStartElement(PName elemName)private voidAsyncByteBufferScanner. initStartElement(PName elemName) -
Uses of PName in com.fasterxml.aalto.in
Subclasses of PName in com.fasterxml.aalto.in Modifier and Type Class Description classByteBasedPNameThis intermediate abstract class defines more specialized API needed by components like symbol tables, which need to provide efficient access to byte-based PNames.classPName1Specialized implementation of PName: can be used for short Strings that consists of at most 4 bytes.classPName2Specialized implementation of PName: can be used for short Strings that consists of at most 8 bytes.classPName3Specialized implementation of PName: can be used for medium-sized Strings that consists of at most 9-12 bytes.classPNameCAn alternate implementation of PName: instead of coming straight from byte contents, it is actually just built from a character array.classPNameNGeneral 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 private PName[]AttributeCollector. _namesprotected 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.(package private) PNameElementScope. mNameMethods in com.fasterxml.aalto.in that return PName Modifier and Type Method Description protected PNameReaderScanner. addPName(char[] nameBuffer, int nameLen, int hash)protected PNameStreamScanner. addPName(int hash, int[] quads, int qlen, int lastQuadBytes)protected PNameByteBasedScanner. addUTFPName(ByteBasedPNameTable symbols, XmlCharTypes charTypes, int hash, int[] quads, int qlen, int lastQuadBytes)Conceptually, this method really does NOT belong here.protected PNameXmlScanner. bindName(PName name, java.lang.String prefix)This method is called to find/create a fully qualified (bound) name (element / attribute), for a name with prefix.abstract PNamePName. createBoundName(NsBinding nsb)PNamePName1. createBoundName(NsBinding nsb)PNamePName2. createBoundName(NsBinding nsb)PNamePName3. createBoundName(NsBinding nsb)PNamePNameC. createBoundName(NsBinding nsb)PNamePNameN. createBoundName(NsBinding nsb)private PNameStreamScanner. findPName(int onlyQuad, int lastByteCount)Method called to process a sequence of bytes that is likely to be a PName.private PNameStreamScanner. findPName(int lastQuad, int[] quads, int qlen, int lastByteCount)Method called to process a sequence of bytes that is likely to be a PName.private PNameStreamScanner. findPName(int firstQuad, int secondQuad, int lastByteCount)Method called to process a sequence of bytes that is likely to be a PName.private PNameStreamScanner. findPName(int lastQuad, int lastByteCount, int firstQuad, int qlen, int[] quads)Method called to process a sequence of bytes that is likely to be a PName.PNameAttributeCollector. getName(int index)PNameElementScope. getName()PNameXmlScanner. getName()protected PNameReaderScanner. parsePName(char c)protected PNameStreamScanner. 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 PNameStreamScanner. parsePNameLong(int q, int[] quads)protected PNameStreamScanner. parsePNameMedium(int i2, int q1)protected PNameStreamScanner. parsePNameSlow(byte b)Methods in com.fasterxml.aalto.in with parameters of type PName Modifier and Type Method Description protected PNameXmlScanner. bindName(PName name, java.lang.String prefix)This method is called to find/create a fully qualified (bound) name (element / attribute), for a name with prefix.protected voidXmlScanner. bindNs(PName name, java.lang.String uri)Method called when we are ready to bind a declared namespace.booleanPName. boundEquals(PName other)Method that compares two bound PNames for semantic equality.private intReaderScanner. collectValue(int attrPtr, char quoteChar, PName attrName)This method implements the tight loop for parsing attribute values.private intUtf8Scanner. collectValue(int attrPtr, byte quoteByte, PName attrName)This method implements the tight loop for parsing attribute values.private voidReaderScanner. handleNsDeclaration(PName name, char quoteChar)Method called from the main START_ELEMENT handling loop, to parse namespace URI values.private voidUtf8Scanner. handleNsDeclaration(PName name, byte quoteByte)Method called from the main START_ELEMENT handling loop, to parse namespace URI values.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.booleanPName. unboundEquals(PName other)Constructors in com.fasterxml.aalto.in with parameters of type PName Constructor 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 Description protected 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) -
Uses of PName in test
Methods in test that return PName Modifier and Type Method Description (package private) PNameTestNameHashing. addSymbol(ByteBasedPNameTable table, java.lang.String word)(package private) PNameTestNameHashing. tryToFind(ByteBasedPNameTable table, java.lang.String word)
-