org.w3c.tidy
Class AttributeTable
java.lang.Object
org.w3c.tidy.AttributeTable
public class AttributeTable
extends java.lang.Object
HTML attribute hash table.
$Revision: 486 $ ($Author: fgiust $)
attrAlt
protected static Attribute attrAlt
alt attribute.
attrContent
protected static Attribute attrContent
content attribute.
attrDatafld
protected static Attribute attrDatafld
datafld attribute.
attrHeight
protected static Attribute attrHeight
height attribute.
attrHref
protected static Attribute attrHref
href attribute.
attrId
protected static Attribute attrId
id attribute.
attrIsmap
protected static Attribute attrIsmap
ismap attribute.
attrLanguage
protected static Attribute attrLanguage
language attribute.
attrLongdesc
protected static Attribute attrLongdesc
logdesc attribute.
attrName
protected static Attribute attrName
name attribute.
attrSrc
protected static Attribute attrSrc
src attribute.
attrSummary
protected static Attribute attrSummary
summary attribute.
attrTitle
protected static Attribute attrTitle
title attribute.
attrType
protected static Attribute attrType
type attribute.
attrUsemap
protected static Attribute attrUsemap
usemap attribute.
attrValue
protected static Attribute attrValue
value attribute.
attrWidth
protected static Attribute attrWidth
width attribute.
attrXmlns
protected static Attribute attrXmlns
xmlns attribute.
declareLiteralAttrib
public void declareLiteralAttrib(String name)
Declare a new literal attribute.
findAttribute
public Attribute findAttribute(AttVal attval)
public method for finding attribute definition by name.
- Attribute with name = attval.name
getDefaultAttributeTable
public static AttributeTable getDefaultAttributeTable()
Returns the default attribute table instance.
isLiteralAttribute
public boolean isLiteralAttribute(String attrname)
Does the given attibute contains a literal attribute?
attrname
- attribute name
true
if the given attribute is expected to contain a literal attribute
isScript
public boolean isScript(String attrname)
Does the given attibute contains a script?
attrname
- attribute name
true
if the given attribute is expected to contain a script
isUrl
public boolean isUrl(String attrname)
Does the given attibute contains an url?
attrname
- attribute name
true
if the given attribute is expected to contain an URL
lookup
public Attribute lookup(String name)
lookup an installed Attribute.
- Attribute or null if the attribute is not found