Package nu.validator.htmlparser.impl
Class HtmlAttributes
java.lang.Object
nu.validator.htmlparser.impl.HtmlAttributes
- All Implemented Interfaces:
Attributes
Be careful with this class. QName is the name in from HTML tokenization.
Otherwise, please refer to the interface doc.
- Version:
- $Id: AttributesImpl.java 206 2008-03-20 14:09:29Z hsivonen $
- Author:
- hsivonen
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
cloneAttributes
(Interner interner) boolean
equalsAnother
(HtmlAttributes other) getAttributeName
(int index) getId()
int
int
int
getIndex
(AttributeName name) Only use with a static argumentint
getLocalName
(int index) getPrefix
(int index) getQName
(int index) getType
(int index) getURI
(int index) getValue
(int index) getValue
(AttributeName name) Only use with static argument.getXmlnsAttributeName
(int index) int
getXmlnsIndex
(AttributeName name) int
getXmlnsLocalName
(int index) getXmlnsURI
(int index) getXmlnsValue
(int index) getXmlnsValue
(AttributeName name) void
merge
(HtmlAttributes attributes)
-
Field Details
-
EMPTY_ATTRIBUTES
-
-
Constructor Details
-
HtmlAttributes
public HtmlAttributes(int mode)
-
-
Method Details
-
getIndex
Only use with a static argument- Parameters:
name
-- Returns:
-
getIndex
- Specified by:
getIndex
in interfaceAttributes
-
getIndex
- Specified by:
getIndex
in interfaceAttributes
-
getType
- Specified by:
getType
in interfaceAttributes
-
getType
- Specified by:
getType
in interfaceAttributes
-
getValue
- Specified by:
getValue
in interfaceAttributes
-
getValue
- Specified by:
getValue
in interfaceAttributes
-
getLength
public int getLength()- Specified by:
getLength
in interfaceAttributes
-
getLocalName
- Specified by:
getLocalName
in interfaceAttributes
-
getQName
- Specified by:
getQName
in interfaceAttributes
-
getType
- Specified by:
getType
in interfaceAttributes
-
getAttributeName
-
getURI
- Specified by:
getURI
in interfaceAttributes
-
getPrefix
-
getValue
- Specified by:
getValue
in interfaceAttributes
-
getValue
Only use with static argument.- See Also:
-
getId
-
getXmlnsLength
public int getXmlnsLength() -
getXmlnsLocalName
-
getXmlnsURI
-
getXmlnsValue
-
getXmlnsIndex
-
getXmlnsValue
-
getXmlnsAttributeName
-
adjustForMath
public void adjustForMath() -
adjustForSvg
public void adjustForSvg() -
cloneAttributes
- Throws:
SAXException
-
equalsAnother
-
merge
- Throws:
SAXException
-