|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.w3c.tidy.Attribute
public class Attribute
HTML 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 |
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 |