|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.w3c.tidy.Attribute
HTML attribute.
Field Summary | |
private AttrCheck |
attrchk
checker for the attribute. |
private boolean |
literal
unmodifiable attribute? |
private java.lang.String |
name
attribute name. |
private boolean |
nowrap
don't wrap attribute. |
private short |
versions
html versions for this attribute. |
Constructor Summary | |
Attribute(java.lang.String attributeName,
short htmlVersions,
AttrCheck check)
Instantiates a new Attribute. |
Method Summary | |
AttrCheck |
getAttrchk()
Returns the checker for this attribute. |
java.lang.String |
getName()
Returns the attribute name. |
short |
getVersions()
Returns the html versions in which this attribute is supported. |
boolean |
isLiteral()
Is this a literal (unmodifiable) attribute? |
boolean |
isNowrap()
Don't wrap this attribute? |
void |
setLiteral(boolean isLiteral)
Is this a literal (unmodifiable) attribute? |
void |
setNowrap(boolean isNowrap)
Don't wrap this attribute? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String name
private boolean nowrap
private boolean literal
private short versions
private AttrCheck attrchk
Constructor Detail |
public Attribute(java.lang.String attributeName, short htmlVersions, AttrCheck check)
attributeName
- attribute namehtmlVersions
- versions in which this attribute is supportedcheck
- AttrCheck instanceMethod Detail |
public void setLiteral(boolean isLiteral)
isLiteral
- boolean true
for a literal attributepublic void setNowrap(boolean isNowrap)
isNowrap
- boolean true
= don't wrappublic AttrCheck getAttrchk()
public boolean isLiteral()
true
for a literal attributepublic java.lang.String getName()
public boolean isNowrap()
true
= don't wrappublic short getVersions()
Dict
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |