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