public class Attribute
extends java.lang.Object
Constructor and Description |
---|
Attribute(java.lang.String attributeName,
short htmlVersions,
AttrCheck check)
Instantiates a new Attribute.
|
Modifier and Type | Method and Description |
---|---|
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?
|
public Attribute(java.lang.String attributeName, short htmlVersions, AttrCheck check)
attributeName
- attribute namehtmlVersions
- versions in which this attribute is supportedcheck
- AttrCheck instancepublic 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