org.w3c.tidy
Class Attribute
public class Attribute
extends java.lang.Object
HTML attribute.
$Revision: 400 $ ($Author: fgiust $)Attribute(String attributeName, short htmlVersions, AttrCheck check) - Instantiates a new Attribute.
|
AttrCheck | getAttrchk() - Returns the checker for this attribute.
|
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?
|
Attribute
public Attribute(String attributeName,
short htmlVersions,
AttrCheck check)
Instantiates a new Attribute.
attributeName
- attribute namehtmlVersions
- versions in which this attribute is supportedcheck
- AttrCheck instance
getAttrchk
public AttrCheck getAttrchk()
Returns the checker for this attribute.
getName
public String getName()
Returns the attribute name.
getVersions
public short getVersions()
Returns the html versions in which this attribute is supported.
- html versions for this attribute.
isLiteral
public boolean isLiteral()
Is this a literal (unmodifiable) attribute?
true
for a literal attribute
isNowrap
public boolean isNowrap()
Don't wrap this attribute?
setLiteral
public void setLiteral(boolean isLiteral)
Is this a literal (unmodifiable) attribute?
isLiteral
- boolean true
for a literal attribute
setNowrap
public void setNowrap(boolean isNowrap)
Don't wrap this attribute?
isNowrap
- boolean true
= don't wrap