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 PName
AsyncByteScanner. _elemAttrName
Methods in com.fasterxml.aalto.async that return PName Modifier and Type Method Description protected PName
AsyncByteScanner. _findXmlDeclName(int lastQuad, int lastByteCount)
private PName
AsyncByteScanner. _parseNewXmlDeclName(byte b)
private PName
AsyncByteScanner. _parseXmlDeclName()
protected 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 PName
AsyncByteScanner. findPName(int lastQuad, int lastByteCount)
Method called to process a sequence of bytes that is likely to be a PName.protected PName
AsyncByteArrayScanner. parseEntityName()
protected PName
AsyncByteBufferScanner. parseEntityName()
protected PName
AsyncByteArrayScanner. parseNewEntityName(byte b)
protected PName
AsyncByteBufferScanner. parseNewEntityName(byte b)
protected PName
AsyncByteArrayScanner. parseNewName(byte b)
protected PName
AsyncByteBufferScanner. parseNewName(byte b)
protected abstract PName
AsyncByteScanner. parseNewName(byte b)
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.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 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 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 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.private void
AsyncByteArrayScanner. initStartElement(PName elemName)
private void
AsyncByteBufferScanner. initStartElement(PName elemName)
-
Uses of PName in com.fasterxml.aalto.in
Subclasses of PName in com.fasterxml.aalto.in Modifier and Type Class 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 Description private PName[]
AttributeCollector. _names
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.(package private) PName
ElementScope. mName
Methods in com.fasterxml.aalto.in that return PName Modifier and Type Method Description protected PName
ReaderScanner. addPName(char[] nameBuffer, int nameLen, int hash)
protected PName
StreamScanner. addPName(int hash, int[] quads, int qlen, int lastQuadBytes)
protected PName
ByteBasedScanner. addUTFPName(ByteBasedPNameTable symbols, XmlCharTypes charTypes, int hash, int[] quads, int qlen, int lastQuadBytes)
Conceptually, this method really does NOT belong here.protected PName
XmlScanner. 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 PName
PName. createBoundName(NsBinding nsb)
PName
PName1. createBoundName(NsBinding nsb)
PName
PName2. createBoundName(NsBinding nsb)
PName
PName3. createBoundName(NsBinding nsb)
PName
PNameC. createBoundName(NsBinding nsb)
PName
PNameN. createBoundName(NsBinding nsb)
private PName
StreamScanner. findPName(int onlyQuad, int lastByteCount)
Method called to process a sequence of bytes that is likely to be a PName.private PName
StreamScanner. 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 PName
StreamScanner. findPName(int firstQuad, int secondQuad, int lastByteCount)
Method called to process a sequence of bytes that is likely to be a PName.private PName
StreamScanner. 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.PName
AttributeCollector. getName(int index)
PName
ElementScope. getName()
PName
XmlScanner. getName()
protected PName
ReaderScanner. parsePName(char c)
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
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 Description protected PName
XmlScanner. 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 void
XmlScanner. bindNs(PName name, java.lang.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.private int
ReaderScanner. collectValue(int attrPtr, char quoteChar, PName attrName)
This method implements the tight loop for parsing attribute values.private int
Utf8Scanner. collectValue(int attrPtr, byte quoteByte, PName attrName)
This method implements the tight loop for parsing attribute values.private void
ReaderScanner. handleNsDeclaration(PName name, char quoteChar)
Method called from the main START_ELEMENT handling loop, to parse namespace URI values.private void
Utf8Scanner. handleNsDeclaration(PName name, byte quoteByte)
Method called from the main START_ELEMENT handling loop, to parse namespace URI values.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 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 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) -
Uses of PName in test
Methods in test that return PName Modifier and Type Method Description (package private) PName
TestNameHashing. addSymbol(ByteBasedPNameTable table, java.lang.String word)
(package private) PName
TestNameHashing. tryToFind(ByteBasedPNameTable table, java.lang.String word)
-