Uses of Class
nu.validator.htmlparser.annotation.NoLength
-
Packages that use NoLength Package Description nu.validator.htmlparser.common This package provides common interfaces and enumerations.nu.validator.htmlparser.impl This package contains the bulk of parser internals. -
-
Uses of NoLength in nu.validator.htmlparser.common
Method parameters in nu.validator.htmlparser.common with annotations of type NoLength Modifier and Type Method Description void
TokenHandler. characters(char[] buf, int start, int length)
Receive character tokens.void
TokenHandler. comment(char[] buf, int start, int length)
Receive a comment token. -
Uses of NoLength in nu.validator.htmlparser.impl
Fields in nu.validator.htmlparser.impl with annotations of type NoLength Modifier and Type Field Description (package private) static java.lang.String[]
AttributeName. ALL_NO_NS
An array representing no namespace regardless of namespace mode (HTML, SVG, MathML, lang-mapping HTML) used.(package private) static java.lang.String[]
AttributeName. ALL_NO_PREFIX
An array for no prefixes in any mode.private static AttributeName[]
AttributeName. ATTRIBUTE_NAMES
private char[]
UTF16Buffer. buffer
The backing store of the buffer.private static char[]
Tokenizer. CDATA_LSQB
"CDATA[" aschar[]
private static ElementName[]
ElementName. ELEMENT_NAMES
(package private) static int[][]
NamedCharactersAccel. HILO_ACCEL
private static java.lang.String[]
AttributeName. LANG_NS
An array that has no namespace for the HTML, SVG and MathML modes but has the XML namespace for the lang-mapping HTML mode.private static java.lang.String[]
AttributeName. LANG_PREFIX
private static char[]
Tokenizer. LF
Array version of line feed.private java.lang.String[]
AttributeName. local
The local names indexable by mode.private static char[]
Tokenizer. LT_GT
UTF-16 code unit array containing less than and greater than for emitting those characters on certain parse errors.private static char[]
Tokenizer. LT_SOLIDUS
UTF-16 code unit array containing less than and solidus for emitting those characters on certain parse errors.(package private) static java.lang.String[]
NamedCharacters. NAMES
private static char[]
Tokenizer. OCTYPE
"octype" aschar[]
private java.lang.String[]
AttributeName. prefix
The prefixes indexably by mode.private java.lang.String[]
AttributeName. qName
The qnames indexable by mode.private static char[]
Tokenizer. REPLACEMENT_CHARACTER
Array version of U+FFFD.private static char[]
TreeBuilder. REPLACEMENT_CHARACTER
Array version of U+FFFD.private static char[]
Tokenizer. RSQB_RSQB
UTF-16 code unit array containing ]] for emitting those characters on state transitions.private static char[]
Tokenizer. SPACE
Array version of space.private static char[]
Tokenizer. UBLIC
"ublic" aschar[]
private java.lang.String[]
AttributeName. uri
The namespaces indexable by mode.(package private) static char[][]
NamedCharacters. VALUES
private static java.lang.String[]
AttributeName. XLINK_NS
An array that has no namespace for the HTML mode but the XLink namespace for the SVG and MathML modes.private static java.lang.String[]
AttributeName. XLINK_PREFIX
An array for no prefixe in the HTML mode and thexlink
prefix in the SVG and MathML modes.private static java.lang.String[]
AttributeName. XML_NS
An array that has no namespace for the HTML mode but the XML namespace for the SVG and MathML modes.private static java.lang.String[]
AttributeName. XML_PREFIX
An array for no prefixe in the HTML mode and thexml
prefix in the SVG and MathML modes.private static java.lang.String[]
AttributeName. XMLNS_NS
An array that has no namespace for the HTML mode but the XMLNS namespace for the SVG and MathML modes.private static java.lang.String[]
AttributeName. XMLNS_PREFIX
An array for no prefixe in the HTML mode and thexmlns
prefix in the SVG and MathML modes.private static char[]
Tokenizer. YSTEM
"ystem" aschar[]
Methods in nu.validator.htmlparser.impl with annotations of type NoLength Modifier and Type Method Description private static java.lang.String[]
AttributeName. COLONIFIED_LOCAL(java.lang.String name, java.lang.String suffix)
An initialization helper for having a different local name in the HTML mode and the SVG and MathML modes.char[]
UTF16Buffer. getBuffer()
Returns the backing buffer.private static java.lang.String[]
AttributeName. MATH_DIFFERENT(java.lang.String name, java.lang.String camel)
An initialization helper for having a one name in the MathML mode and another name in the other modes.(package private) static java.lang.String[]
AttributeName. SAME_LOCAL(java.lang.String name)
An initialization helper for having the same local name in all modes.private static java.lang.String[]
AttributeName. SVG_DIFFERENT(java.lang.String name, java.lang.String camel)
An initialization helper for having a one name in the SVG mode and another name in the other modes.Method parameters in nu.validator.htmlparser.impl with annotations of type NoLength Modifier and Type Method Description protected void
CoalescingTreeBuilder. accumulateCharacters(char[] buf, int start, int length)
protected void
TreeBuilder. accumulateCharacters(char[] buf, int start, int length)
private void
TreeBuilder. accumulateCharactersForced(char[] buf, int start, int length)
protected abstract void
TreeBuilder. appendCharacters(T parent, char[] buf, int start, int length)
protected abstract void
TreeBuilder. appendComment(T parent, char[] buf, int start, int length)
protected abstract void
TreeBuilder. appendCommentToDocument(char[] buf, int start, int length)
private void
Tokenizer. appendLongStrBuf(char[] buffer, int offset, int length)
private static int
AttributeName. bufToHash(char[] buf, int len)
This method has to return a unique integer for each well-known lower-cased attribute name.private static int
ElementName. bufToHash(char[] buf, int len)
This method has to return a unique integer for each well-known lower-cased element name.void
TreeBuilder. characters(char[] buf, int start, int length)
protected char
ErrorReportingTokenizer. checkChar(char[] buf, int pos)
protected char
Tokenizer. checkChar(char[] buf, int pos)
void
TreeBuilder. comment(char[] buf, int start, int length)
(package private) static ElementName
ElementName. elementNameByBuffer(char[] buf, int offset, int length, Interner interner)
private void
Tokenizer. emitCarriageReturn(char[] buf, int pos)
private void
Tokenizer. emitOrAppendOne(char[] val, int returnState)
private void
Tokenizer. emitOrAppendTwo(char[] val, int returnState)
private void
Tokenizer. emitPlaintextReplacementCharacter(char[] buf, int pos)
private void
Tokenizer. emitReplacementCharacter(char[] buf, int pos)
protected void
Tokenizer. flushChars(char[] buf, int pos)
Flushes coalesced character tokens.protected abstract void
TreeBuilder. insertFosterParentedCharacters(char[] buf, int start, int length, T table, T stackParent)
static boolean
Portability. localEqualsBuffer(java.lang.String local, char[] buf, int offset, int length)
(package private) static AttributeName
AttributeName. nameByBuffer(char[] buf, int offset, int length, boolean checkNcName, Interner interner)
Returns an attribute name by buffer.static java.lang.String
Portability. newLocalNameFromBuffer(char[] buf, int offset, int length, Interner interner)
Allocates a new local name object.static java.lang.String
Portability. newStringFromBuffer(char[] buf, int offset, int length)
private int
Tokenizer. stateLoop(int state, char c, int pos, char[] buf, boolean reconsume, int returnState, int endPos)
private long
Tokenizer. workAroundHotSpotHugeMethodLimit(int state, char c, int pos, char[] buf, boolean reconsume, int returnState, int endPos)
compressed returnValue: int returnState = returnValue >> 33 boolean breakOuterState = ((returnValue >> 32) & 0x1) != 0) int pos = returnValue & 0xFFFFFFFF // same as (int)returnValueConstructor parameters in nu.validator.htmlparser.impl with annotations of type NoLength Constructor Description AttributeName(java.lang.String[] uri, java.lang.String[] local, java.lang.String[] prefix, int flags)
The startup-time constructor.AttributeName(java.lang.String[] uri, java.lang.String[] local, java.lang.String[] prefix, int flags)
The startup-time constructor.AttributeName(java.lang.String[] uri, java.lang.String[] local, java.lang.String[] prefix, int flags)
The startup-time constructor.UTF16Buffer(char[] buffer, int start, int end)
Constructor for wrapping an existing UTF-16 code unit array.
-