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 TypeMethodDescriptionvoidvoidcloneAttributes(Interner interner) booleanequalsAnother(HtmlAttributes other) getAttributeName(int index) getId()intintintgetIndex(AttributeName name) Only use with a static argumentintgetLocalName(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) intgetXmlnsIndex(AttributeName name) intgetXmlnsLocalName(int index) getXmlnsURI(int index) getXmlnsValue(int index) getXmlnsValue(AttributeName name) voidmerge(HtmlAttributes attributes)
-
Field Details
-
EMPTY_ATTRIBUTES
-
-
Constructor Details
-
HtmlAttributes
public HtmlAttributes(int mode)
-
-
Method Details
-
getIndex
-
getIndex
- Specified by:
getIndexin interfaceAttributes
-
getIndex
- Specified by:
getIndexin interfaceAttributes
-
getType
- Specified by:
getTypein interfaceAttributes
-
getType
- Specified by:
getTypein interfaceAttributes
-
getValue
- Specified by:
getValuein interfaceAttributes
-
getValue
- Specified by:
getValuein interfaceAttributes
-
getLength
public int getLength()- Specified by:
getLengthin interfaceAttributes
-
getLocalName
- Specified by:
getLocalNamein interfaceAttributes
-
getQName
- Specified by:
getQNamein interfaceAttributes
-
getType
- Specified by:
getTypein interfaceAttributes
-
getAttributeName
-
getURI
- Specified by:
getURIin interfaceAttributes
-
getPrefix
-
getValue
- Specified by:
getValuein interfaceAttributes
-
getValue
-
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
-