public class AttributeTable
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
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 | Description |
|---|---|
AttributeTable() |
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
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
public Attribute lookup(java.lang.String name)
name - attribute namepublic Attribute install(Attribute attr)
attr - Atributepublic Attribute findAttribute(AttVal attval)
attval - AttVal instancepublic boolean isUrl(java.lang.String attrname)
attrname - attribute nametrue if the given attribute is expected to contain an URLpublic boolean isScript(java.lang.String attrname)
attrname - attribute nametrue if the given attribute is expected to contain a scriptpublic boolean isLiteralAttribute(java.lang.String attrname)
attrname - attribute nametrue if the given attribute is expected to contain a literal attributepublic void declareLiteralAttrib(java.lang.String name)
name - atribute namepublic static AttributeTable getDefaultAttributeTable()