Uses of Annotation Interface
nu.validator.htmlparser.annotation.NoLength

Packages that use NoLength
Package
Description
This package provides common interfaces and enumerations.
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 final String[]
    AttributeName.ALL_NO_NS
    An array representing no namespace regardless of namespace mode (HTML, SVG, MathML, lang-mapping HTML) used.
    (package private) static final String[]
    AttributeName.ALL_NO_PREFIX
    An array for no prefixes in any mode.
    private static final AttributeName[]
    AttributeName.ATTRIBUTE_NAMES
     
    private final char[]
    UTF16Buffer.buffer
    The backing store of the buffer.
    private static final char[]
    Tokenizer.CDATA_LSQB
    "CDATA[" as char[]
    private static final ElementName[]
    ElementName.ELEMENT_NAMES
     
    (package private) static final int[][]
    NamedCharactersAccel.HILO_ACCEL
     
    private static final 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 final String[]
    AttributeName.LANG_PREFIX
     
    private static final char[]
    Tokenizer.LF
    Array version of line feed.
    private final String[]
    AttributeName.local
    The local names indexable by mode.
    private static final 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 final 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 final String[]
    NamedCharacters.NAMES
     
    private static final char[]
    Tokenizer.OCTYPE
    "octype" as char[]
    private final String[]
    AttributeName.prefix
    The prefixes indexably by mode.
    private final String[]
    AttributeName.qName
    The qnames indexable by mode.
    private static final char[]
    Array version of U+FFFD.
    private static final char[]
    Array version of U+FFFD.
    private static final char[]
    Tokenizer.RSQB_RSQB
    UTF-16 code unit array containing ]] for emitting those characters on state transitions.
    private static final char[]
    Tokenizer.SPACE
    Array version of space.
    private static final char[]
    Tokenizer.UBLIC
    "ublic" as char[]
    private final String[]
    AttributeName.uri
    The namespaces indexable by mode.
    (package private) static final char[][]
    NamedCharacters.VALUES
     
    private static final 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 final String[]
    AttributeName.XLINK_PREFIX
    An array for no prefixe in the HTML mode and the xlink prefix in the SVG and MathML modes.
    private static final 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 final String[]
    AttributeName.XML_PREFIX
    An array for no prefixe in the HTML mode and the xml prefix in the SVG and MathML modes.
    private static final 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 final String[]
    AttributeName.XMLNS_PREFIX
    An array for no prefixe in the HTML mode and the xmlns prefix in the SVG and MathML modes.
    private static final char[]
    Tokenizer.YSTEM
    "ystem" as char[]
    Methods in nu.validator.htmlparser.impl with annotations of type NoLength
    Modifier and Type
    Method
    Description
    private static String[]
    AttributeName.COLONIFIED_LOCAL(String name, 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 String[]
    AttributeName.MATH_DIFFERENT(String name, String camel)
    An initialization helper for having a one name in the MathML mode and another name in the other modes.
    (package private) static String[]
    AttributeName.SAME_LOCAL(String name)
    An initialization helper for having the same local name in all modes.
    private static String[]
    AttributeName.SVG_DIFFERENT(String name, 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 final void
    CoalescingTreeBuilder.accumulateCharacters(char[] buf, int start, int length)
     
    protected void
    TreeBuilder.accumulateCharacters(char[] buf, int start, int length)
     
    private final 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.
    final 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)
     
    final 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(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 String
    Portability.newLocalNameFromBuffer(char[] buf, int offset, int length, Interner interner)
    Allocates a new local name object.
    static 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) invalid input: '&' 0x1) != 0) int pos = returnValue invalid input: '&' 0xFFFFFFFF // same as (int)returnValue
    Constructor parameters in nu.validator.htmlparser.impl with annotations of type NoLength
    Modifier
    Constructor
    Description
    protected
    AttributeName(String[] uri, String[] local, String[] prefix, int flags)
    The startup-time constructor.
    protected
    AttributeName(String[] uri, String[] local, String[] prefix, int flags)
    The startup-time constructor.
    protected
    AttributeName(String[] uri, String[] local, 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.