Package nu.validator.htmlparser.impl
Class AttributeName
java.lang.Object
nu.validator.htmlparser.impl.AttributeName
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
(package private) static final String[]
An array representing no namespace regardless of namespace mode (HTML, SVG, MathML, lang-mapping HTML) used.(package private) static final String[]
An array for no prefixes in any mode.static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
private static final int[]
private static final AttributeName[]
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final int
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final int
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
private final int
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final int
The mode value for HTML.static final int
The mode value for lang-mapping HTML.static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final int
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
private static final String[]
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[]
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
private final String[]
The local names indexable by mode.static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final int
The mode value for MathML.static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final int
static final int
static final int
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
private final String[]
The prefixes indexably by mode.static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
private final String[]
The qnames indexable by mode.static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final int
The mode value for SVG.static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
private final String[]
The namespaces indexable by mode.static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
private static final String[]
An array that has no namespace for the HTML mode but the XLink namespace for the SVG and MathML modes.private static final String[]
An array for no prefixe in the HTML mode and thexlink
prefix in the SVG and MathML modes.static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
private static final String[]
An array that has no namespace for the HTML mode but the XML namespace for the SVG and MathML modes.private static final String[]
An array for no prefixe in the HTML mode and thexml
prefix in the SVG and MathML modes.static final AttributeName
static final AttributeName
private static final String[]
An array that has no namespace for the HTML mode but the XMLNS namespace for the SVG and MathML modes.private static final String[]
An array for no prefixe in the HTML mode and thexmlns
prefix in the SVG and MathML modes.static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
static final AttributeName
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AttributeName
(String[] uri, String[] local, String[] prefix, int flags) The startup-time constructor. -
Method Summary
Modifier and TypeMethodDescriptionprivate static int
bufToHash
(char[] buf, int len) This method has to return a unique integer for each well-known lower-cased attribute name.cloneAttributeName
(Interner interner) Clones the attribute using an interner.private static String[]
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.private static String[]
COMPUTE_QNAME
(String[] local, String[] prefix) (package private) static AttributeName
Creator for use when the XML violation policy requires an attribute name to be changed.private static AttributeName
createAttributeName
(String name, boolean checkNcName) Creates anAttributeName
for a local name.private void
The C++ destructor.(package private) boolean
equalsAnother
(AttributeName another) getLocal
(int mode) getPrefix
(int mode) getQName
(int mode) getUri
(int mode) (package private) boolean
(package private) boolean
Queries whether this attribute has a case-folded value in the HTML4 mode of the parser.boolean
isNcName
(int mode) Queries whether this name is an XML 1.0 4th ed.boolean
isXmlns()
Queries whether this is anxmlns
attribute.private static String[]
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 AttributeName
nameByBuffer
(char[] buf, int offset, int length, boolean checkNcName, Interner interner) Returns an attribute name by buffer.(package private) void
release()
Deletes runtime-allocated instances in C++.(package private) static String[]
SAME_LOCAL
(String name) An initialization helper for having the same local name in all modes.private static String[]
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.
-
Field Details
-
NCNAME_HTML
public static final int NCNAME_HTML- See Also:
-
NCNAME_FOREIGN
public static final int NCNAME_FOREIGN- See Also:
-
NCNAME_LANG
public static final int NCNAME_LANG- See Also:
-
IS_XMLNS
public static final int IS_XMLNS- See Also:
-
CASE_FOLDED
public static final int CASE_FOLDED- See Also:
-
BOOLEAN
public static final int BOOLEAN- See Also:
-
ALL_NO_NS
An array representing no namespace regardless of namespace mode (HTML, SVG, MathML, lang-mapping HTML) used. -
XMLNS_NS
An array that has no namespace for the HTML mode but the XMLNS namespace for the SVG and MathML modes. -
XML_NS
An array that has no namespace for the HTML mode but the XML namespace for the SVG and MathML modes. -
XLINK_NS
An array that has no namespace for the HTML mode but the XLink namespace for the SVG and MathML modes. -
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. -
ALL_NO_PREFIX
An array for no prefixes in any mode. -
XMLNS_PREFIX
An array for no prefixe in the HTML mode and thexmlns
prefix in the SVG and MathML modes. -
XLINK_PREFIX
An array for no prefixe in the HTML mode and thexlink
prefix in the SVG and MathML modes. -
XML_PREFIX
An array for no prefixe in the HTML mode and thexml
prefix in the SVG and MathML modes. -
LANG_PREFIX
-
HTML
public static final int HTMLThe mode value for HTML.- See Also:
-
MATHML
public static final int MATHMLThe mode value for MathML.- See Also:
-
SVG
public static final int SVGThe mode value for SVG.- See Also:
-
HTML_LANG
public static final int HTML_LANGThe mode value for lang-mapping HTML.- See Also:
-
uri
The namespaces indexable by mode. -
local
The local names indexable by mode. -
prefix
The prefixes indexably by mode. -
flags
private final int flags -
qName
The qnames indexable by mode. -
D
-
K
-
R
-
X
-
Y
-
Z
-
BY
-
CX
-
CY
-
DX
-
DY
-
G2
-
G1
-
FX
-
FY
-
K4
-
K2
-
K3
-
K1
-
ID
-
IN
-
U2
-
U1
-
RT
-
RX
-
RY
-
TO
-
Y2
-
Y1
-
X1
-
X2
-
ALT
-
DIR
-
DUR
-
END
-
FOR
-
IN2
-
MAX
-
MIN
-
LOW
-
REL
-
REV
-
SRC
-
AXIS
-
ABBR
-
BBOX
-
CITE
-
CODE
-
BIAS
-
COLS
-
CLIP
-
CHAR
-
BASE
-
EDGE
-
DATA
-
FILL
-
FROM
-
FORM
-
FACE
-
HIGH
-
HREF
-
OPEN
-
ICON
-
NAME
-
MODE
-
MASK
-
LINK
-
LANG
-
LOOP
-
LIST
-
TYPE
-
WHEN
-
WRAP
-
TEXT
-
PATH
-
PING
-
REFX
-
REFY
-
SIZE
-
SEED
-
ROWS
-
SPAN
-
STEP
-
ROLE
-
XREF
-
ASYNC
-
ALINK
-
ALIGN
-
CLOSE
-
COLOR
-
CLASS
-
CLEAR
-
BEGIN
-
DEPTH
-
DEFER
-
FENCE
-
FRAME
-
ISMAP
-
ONEND
-
INDEX
-
ORDER
-
OTHER
-
ONCUT
-
NARGS
-
MEDIA
-
LABEL
-
LOCAL
-
WIDTH
-
TITLE
-
VLINK
-
VALUE
-
SLOPE
-
SHAPE
-
SCOPE
-
SCALE
-
SPEED
-
STYLE
-
RULES
-
STEMH
-
STEMV
-
START
-
XMLNS
-
ACCEPT
-
ACCENT
-
ASCENT
-
ACTIVE
-
ALTIMG
-
ACTION
-
BORDER
-
CURSOR
-
COORDS
-
FILTER
-
FORMAT
-
HIDDEN
-
HSPACE
-
HEIGHT
-
ONMOVE
-
ONLOAD
-
ONDRAG
-
ORIGIN
-
ONZOOM
-
ONHELP
-
ONSTOP
-
ONDROP
-
ONBLUR
-
OBJECT
-
OFFSET
-
ORIENT
-
ONCOPY
-
NOWRAP
-
NOHREF
-
MACROS
-
METHOD
-
LOWSRC
-
LSPACE
-
LQUOTE
-
USEMAP
-
WIDTHS
-
TARGET
-
VALUES
-
VALIGN
-
VSPACE
-
POSTER
-
POINTS
-
PROMPT
-
SCOPED
-
STRING
-
SCHEME
-
STROKE
-
RADIUS
-
RESULT
-
REPEAT
-
RSPACE
-
ROTATE
-
RQUOTE
-
ALTTEXT
-
ARCHIVE
-
AZIMUTH
-
CLOSURE
-
CHECKED
-
CLASSID
-
CHAROFF
-
BGCOLOR
-
COLSPAN
-
CHARSET
-
COMPACT
-
CONTENT
-
ENCTYPE
-
DATASRC
-
DATAFLD
-
DECLARE
-
DISPLAY
-
DIVISOR
-
DEFAULT
-
DESCENT
-
KERNING
-
HANGING
-
HEADERS
-
ONPASTE
-
ONCLICK
-
OPTIMUM
-
ONBEGIN
-
ONKEYUP
-
ONFOCUS
-
ONERROR
-
ONINPUT
-
ONABORT
-
ONSTART
-
ONRESET
-
OPACITY
-
NOSHADE
-
MINSIZE
-
MAXSIZE
-
LARGEOP
-
UNICODE
-
TARGETX
-
TARGETY
-
VIEWBOX
-
VERSION
-
PATTERN
-
PROFILE
-
SPACING
-
RESTART
-
ROWSPAN
-
SANDBOX
-
SUMMARY
-
STANDBY
-
REPLACE
-
AUTOPLAY
-
ADDITIVE
-
CALCMODE
-
CODETYPE
-
CODEBASE
-
CONTROLS
-
BEVELLED
-
BASELINE
-
EXPONENT
-
EDGEMODE
-
ENCODING
-
GLYPHREF
-
DATETIME
-
DISABLED
-
FONTSIZE
-
KEYTIMES
-
PANOSE_1
-
HREFLANG
-
ONRESIZE
-
ONCHANGE
-
ONBOUNCE
-
ONUNLOAD
-
ONFINISH
-
ONSCROLL
-
OPERATOR
-
OVERFLOW
-
ONSUBMIT
-
ONREPEAT
-
ONSELECT
-
NOTATION
-
NORESIZE
-
MANIFEST
-
MATHSIZE
-
MULTIPLE
-
LONGDESC
-
LANGUAGE
-
TEMPLATE
-
TABINDEX
-
READONLY
-
SELECTED
-
ROWLINES
-
SEAMLESS
-
ROWALIGN
-
STRETCHY
-
REQUIRED
-
XML_BASE
-
XML_LANG
-
X_HEIGHT
-
ARIA_OWNS
-
AUTOFOCUS
-
ARIA_SORT
-
ACCESSKEY
-
ARIA_BUSY
-
ARIA_GRAB
-
AMPLITUDE
-
ARIA_LIVE
-
CLIP_RULE
-
CLIP_PATH
-
EQUALROWS
-
ELEVATION
-
DIRECTION
-
DRAGGABLE
-
FILTERRES
-
FILL_RULE
-
FONTSTYLE
-
FONT_SIZE
-
KEYPOINTS
-
HIDEFOCUS
-
ONMESSAGE
-
INTERCEPT
-
ONDRAGEND
-
ONMOVEEND
-
ONINVALID
-
ONKEYDOWN
-
ONFOCUSIN
-
ONMOUSEUP
-
INPUTMODE
-
ONROWEXIT
-
MATHCOLOR
-
MASKUNITS
-
MAXLENGTH
-
LINEBREAK
-
TRANSFORM
-
V_HANGING
-
VALUETYPE
-
POINTSATZ
-
POINTSATX
-
POINTSATY
-
SYMMETRIC
-
SCROLLING
-
REPEATDUR
-
SELECTION
-
SEPARATOR
-
XML_SPACE
-
AUTOSUBMIT
-
ALPHABETIC
-
ACTIONTYPE
-
ACCUMULATE
-
ARIA_LEVEL
-
COLUMNSPAN
-
CAP_HEIGHT
-
BACKGROUND
-
GLYPH_NAME
-
GROUPALIGN
-
FONTFAMILY
-
FONTWEIGHT
-
FONT_STYLE
-
KEYSPLINES
-
HTTP_EQUIV
-
ONACTIVATE
-
OCCURRENCE
-
IRRELEVANT
-
ONDBLCLICK
-
ONDRAGDROP
-
ONKEYPRESS
-
ONROWENTER
-
ONDRAGOVER
-
ONFOCUSOUT
-
ONMOUSEOUT
-
NUMOCTAVES
-
MARKER_MID
-
MARKER_END
-
TEXTLENGTH
-
VISIBILITY
-
VIEWTARGET
-
VERT_ADV_Y
-
PATHLENGTH
-
REPEAT_MAX
-
RADIOGROUP
-
STOP_COLOR
-
SEPARATORS
-
REPEAT_MIN
-
ROWSPACING
-
ZOOMANDPAN
-
XLINK_TYPE
-
XLINK_ROLE
-
XLINK_HREF
-
XLINK_SHOW
-
ACCENTUNDER
-
ARIA_SECRET
-
ARIA_ATOMIC
-
ARIA_HIDDEN
-
ARIA_FLOWTO
-
ARABIC_FORM
-
CELLPADDING
-
CELLSPACING
-
COLUMNWIDTH
-
CROSSORIGIN
-
COLUMNALIGN
-
COLUMNLINES
-
CONTEXTMENU
-
BASEPROFILE
-
FONT_FAMILY
-
FRAMEBORDER
-
FILTERUNITS
-
FLOOD_COLOR
-
FONT_WEIGHT
-
HORIZ_ADV_X
-
ONDRAGLEAVE
-
ONMOUSEMOVE
-
ORIENTATION
-
ONMOUSEDOWN
-
ONMOUSEOVER
-
ONDRAGENTER
-
IDEOGRAPHIC
-
ONBEFORECUT
-
ONFORMINPUT
-
ONDRAGSTART
-
ONMOVESTART
-
MARKERUNITS
-
MATHVARIANT
-
MARGINWIDTH
-
MARKERWIDTH
-
TEXT_ANCHOR
-
TABLEVALUES
-
SCRIPTLEVEL
-
REPEATCOUNT
-
STITCHTILES
-
STARTOFFSET
-
SCROLLDELAY
-
XMLNS_XLINK
-
XLINK_TITLE
-
ARIA_INVALID
-
ARIA_PRESSED
-
ARIA_CHECKED
-
AUTOCOMPLETE
-
ARIA_SETSIZE
-
ARIA_CHANNEL
-
EQUALCOLUMNS
-
DISPLAYSTYLE
-
DATAFORMATAS
-
FILL_OPACITY
-
FONT_VARIANT
-
FONT_STRETCH
-
FRAMESPACING
-
KERNELMATRIX
-
ONDEACTIVATE
-
ONROWSDELETE
-
ONMOUSELEAVE
-
ONFORMCHANGE
-
ONCELLCHANGE
-
ONMOUSEWHEEL
-
ONMOUSEENTER
-
ONAFTERPRINT
-
ONBEFORECOPY
-
MARGINHEIGHT
-
MARKERHEIGHT
-
MARKER_START
-
MATHEMATICAL
-
LENGTHADJUST
-
UNSELECTABLE
-
UNICODE_BIDI
-
UNITS_PER_EM
-
WORD_SPACING
-
WRITING_MODE
-
V_ALPHABETIC
-
PATTERNUNITS
-
SPREADMETHOD
-
SURFACESCALE
-
STROKE_WIDTH
-
REPEAT_START
-
STDDEVIATION
-
STOP_OPACITY
-
ARIA_CONTROLS
-
ARIA_HASPOPUP
-
ACCENT_HEIGHT
-
ARIA_VALUENOW
-
ARIA_RELEVANT
-
ARIA_POSINSET
-
ARIA_VALUEMAX
-
ARIA_READONLY
-
ARIA_SELECTED
-
ARIA_REQUIRED
-
ARIA_EXPANDED
-
ARIA_DISABLED
-
ATTRIBUTETYPE
-
ATTRIBUTENAME
-
ARIA_DATATYPE
-
ARIA_VALUEMIN
-
BASEFREQUENCY
-
COLUMNSPACING
-
COLOR_PROFILE
-
CLIPPATHUNITS
-
DEFINITIONURL
-
GRADIENTUNITS
-
FLOOD_OPACITY
-
ONAFTERUPDATE
-
ONERRORUPDATE
-
ONBEFOREPASTE
-
ONLOSECAPTURE
-
ONCONTEXTMENU
-
ONSELECTSTART
-
ONBEFOREPRINT
-
MOVABLELIMITS
-
LINETHICKNESS
-
UNICODE_RANGE
-
THINMATHSPACE
-
VERT_ORIGIN_X
-
VERT_ORIGIN_Y
-
V_IDEOGRAPHIC
-
PRESERVEALPHA
-
SCRIPTMINSIZE
-
SPECIFICATION
-
XLINK_ACTUATE
-
XLINK_ARCROLE
-
ACCEPT_CHARSET
-
ALIGNMENTSCOPE
-
ARIA_MULTILINE
-
BASELINE_SHIFT
-
HORIZ_ORIGIN_X
-
HORIZ_ORIGIN_Y
-
ONBEFOREUPDATE
-
ONFILTERCHANGE
-
ONROWSINSERTED
-
ONBEFOREUNLOAD
-
MATHBACKGROUND
-
LETTER_SPACING
-
LIGHTING_COLOR
-
THICKMATHSPACE
-
TEXT_RENDERING
-
V_MATHEMATICAL
-
POINTER_EVENTS
-
PRIMITIVEUNITS
-
SYSTEMLANGUAGE
-
STROKE_LINECAP
-
SUBSCRIPTSHIFT
-
STROKE_OPACITY
-
ARIA_DROPEFFECT
-
ARIA_LABELLEDBY
-
ARIA_TEMPLATEID
-
COLOR_RENDERING
-
CONTENTEDITABLE
-
DIFFUSECONSTANT
-
ONDATAAVAILABLE
-
ONCONTROLSELECT
-
IMAGE_RENDERING
-
MEDIUMMATHSPACE
-
TEXT_DECORATION
-
SHAPE_RENDERING
-
STROKE_LINEJOIN
-
REPEAT_TEMPLATE
-
ARIA_DESCRIBEDBY
-
CONTENTSTYLETYPE
-
FONT_SIZE_ADJUST
-
KERNELUNITLENGTH
-
ONBEFOREACTIVATE
-
ONPROPERTYCHANGE
-
ONDATASETCHANGED
-
MASKCONTENTUNITS
-
PATTERNTRANSFORM
-
REQUIREDFEATURES
-
RENDERING_INTENT
-
SPECULAREXPONENT
-
SPECULARCONSTANT
-
SUPERSCRIPTSHIFT
-
STROKE_DASHARRAY
-
XCHANNELSELECTOR
-
YCHANNELSELECTOR
-
ARIA_AUTOCOMPLETE
-
CONTENTSCRIPTTYPE
-
ENABLE_BACKGROUND
-
DOMINANT_BASELINE
-
GRADIENTTRANSFORM
-
ONBEFORDEACTIVATE
-
ONDATASETCOMPLETE
-
OVERLINE_POSITION
-
ONBEFOREEDITFOCUS
-
LIMITINGCONEANGLE
-
VERYTHINMATHSPACE
-
STROKE_DASHOFFSET
-
STROKE_MITERLIMIT
-
ALIGNMENT_BASELINE
-
ONREADYSTATECHANGE
-
OVERLINE_THICKNESS
-
UNDERLINE_POSITION
-
VERYTHICKMATHSPACE
-
REQUIREDEXTENSIONS
-
COLOR_INTERPOLATION
-
UNDERLINE_THICKNESS
-
PRESERVEASPECTRATIO
-
PATTERNCONTENTUNITS
-
ARIA_MULTISELECTABLE
-
SCRIPTSIZEMULTIPLIER
-
ARIA_ACTIVEDESCENDANT
-
VERYVERYTHINMATHSPACE
-
VERYVERYTHICKMATHSPACE
-
STRIKETHROUGH_POSITION
-
STRIKETHROUGH_THICKNESS
-
EXTERNALRESOURCESREQUIRED
-
GLYPH_ORIENTATION_VERTICAL
-
COLOR_INTERPOLATION_FILTERS
-
GLYPH_ORIENTATION_HORIZONTAL
-
ATTRIBUTE_NAMES
-
ATTRIBUTE_HASHES
private static final int[] ATTRIBUTE_HASHES
-
-
Constructor Details
-
AttributeName
The startup-time constructor.- Parameters:
uri
- the namespacelocal
- the local nameprefix
- the prefixncname
- the ncnamenessxmlns
- whether this is an xmlns attribute
-
-
Method Details
-
COMPUTE_QNAME
-
SVG_DIFFERENT
An initialization helper for having a one name in the SVG mode and another name in the other modes.- Parameters:
name
- the name for the non-SVG modescamel
- the name for the SVG mode- Returns:
- the initialized name array
-
MATH_DIFFERENT
An initialization helper for having a one name in the MathML mode and another name in the other modes.- Parameters:
name
- the name for the non-MathML modescamel
- the name for the MathML mode- Returns:
- the initialized name array
-
COLONIFIED_LOCAL
An initialization helper for having a different local name in the HTML mode and the SVG and MathML modes.- Parameters:
name
- the name for the HTML modesuffix
- the name for the SVG and MathML modes- Returns:
- the initialized name array
-
SAME_LOCAL
An initialization helper for having the same local name in all modes.- Parameters:
name
- the name- Returns:
- the initialized name array
-
nameByBuffer
static AttributeName nameByBuffer(char[] buf, int offset, int length, boolean checkNcName, Interner interner) Returns an attribute name by buffer.C++ ownership: The return value is either released by the caller if the attribute is a duplicate or the ownership is transferred to HtmlAttributes and released upon clearing or destroying that object.
- Parameters:
buf
- the bufferoffset
- ignoredlength
- length of datacheckNcName
- whether to check ncnameness- Returns:
- an
AttributeName
corresponding to the argument data
-
bufToHash
private static int bufToHash(char[] buf, int len) This method has to return a unique integer for each well-known lower-cased attribute name.- Parameters:
buf
-len
-- Returns:
-
createAttributeName
Creates anAttributeName
for a local name.- Parameters:
name
- the namecheckNcName
- whether to check ncnameness- Returns:
- an
AttributeName
-
release
void release()Deletes runtime-allocated instances in C++. -
destructor
private void destructor()The C++ destructor. -
cloneAttributeName
Clones the attribute using an interner. Returnsthis
in Java and for non-dynamic instances in C++.- Parameters:
interner
- an interner- Returns:
- a clone
-
create
Creator for use when the XML violation policy requires an attribute name to be changed.- Parameters:
name
- the name of the attribute to create
-
isNcName
public boolean isNcName(int mode) Queries whether this name is an XML 1.0 4th ed. NCName.- Parameters:
mode
- the SVG/MathML/HTML mode- Returns:
true
if this is an NCName in the given mode
-
isXmlns
public boolean isXmlns()Queries whether this is anxmlns
attribute.- Returns:
true
if this is anxmlns
attribute
-
isCaseFolded
boolean isCaseFolded()Queries whether this attribute has a case-folded value in the HTML4 mode of the parser.- Returns:
true
if the value is case-folded
-
isBoolean
boolean isBoolean() -
getQName
-
getUri
-
getLocal
-
getPrefix
-
equalsAnother
-