|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.w3c.tidy.AttributeTable
public class AttributeTable
HTML attribute hash table.
Field Summary | |
---|---|
protected static Attribute |
attrAlt
alt attribute. |
protected static Attribute |
attrContent
content attribute. |
protected static Attribute |
attrDatafld
datafld attribute. |
protected static Attribute |
attrHeight
height attribute. |
protected static Attribute |
attrHref
href attribute. |
protected static Attribute |
attrId
id attribute. |
protected static Attribute |
attrIsmap
ismap attribute. |
protected static Attribute |
attrLanguage
language attribute. |
protected static Attribute |
attrLongdesc
logdesc attribute. |
protected static Attribute |
attrName
name attribute. |
protected static Attribute |
attrSrc
src attribute. |
protected static Attribute |
attrSummary
summary attribute. |
protected static Attribute |
attrTitle
title attribute. |
protected static Attribute |
attrType
type attribute. |
protected static Attribute |
attrUsemap
usemap attribute. |
protected static Attribute |
attrValue
value attribute. |
protected static Attribute |
attrWidth
width attribute. |
protected static Attribute |
attrXmlns
xmlns attribute. |
Constructor Summary | |
---|---|
AttributeTable()
|
Method Summary | |
---|---|
void |
declareLiteralAttrib(java.lang.String name)
Declare a new literal attribute. |
Attribute |
findAttribute(AttVal attval)
public method for finding attribute definition by name. |
static AttributeTable |
getDefaultAttributeTable()
Returns the default attribute table instance. |
Attribute |
install(Attribute attr)
installs a new Attribute. |
boolean |
isLiteralAttribute(java.lang.String attrname)
Does the given attibute contains a literal attribute? |
boolean |
isScript(java.lang.String attrname)
Does the given attibute contains a script? |
boolean |
isUrl(java.lang.String attrname)
Does the given attibute contains an url? |
Attribute |
lookup(java.lang.String name)
lookup an installed Attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static Attribute attrHref
protected static Attribute attrSrc
protected static Attribute attrId
protected static Attribute attrName
protected static Attribute attrSummary
protected static Attribute attrAlt
protected static Attribute attrLongdesc
protected static Attribute attrUsemap
protected static Attribute attrIsmap
protected static Attribute attrLanguage
protected static Attribute attrType
protected static Attribute attrTitle
protected static Attribute attrXmlns
protected static Attribute attrValue
protected static Attribute attrContent
protected static Attribute attrDatafld
protected static Attribute attrWidth
protected static Attribute attrHeight
Constructor Detail |
---|
public AttributeTable()
Method Detail |
---|
public Attribute lookup(java.lang.String name)
name
- attribute name
public Attribute install(Attribute attr)
attr
- Atribute
public Attribute findAttribute(AttVal attval)
attval
- AttVal instance
public boolean isUrl(java.lang.String attrname)
attrname
- attribute name
true
if the given attribute is expected to contain an URLpublic boolean isScript(java.lang.String attrname)
attrname
- attribute name
true
if the given attribute is expected to contain a scriptpublic boolean isLiteralAttribute(java.lang.String attrname)
attrname
- attribute name
true
if the given attribute is expected to contain a literal attributepublic void declareLiteralAttrib(java.lang.String name)
name
- atribute namepublic static AttributeTable getDefaultAttributeTable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |