| java.lang.Object org.w3c.tidy.Attribute
Attribute | public class Attribute (Code) | | HTML attribute.
author: Dave Raggett dsr@w3.org author: Andy Quick ac.quick@sympatico.ca (translation to Java) author: Fabrizio Giustina version: $Revision: 1.7 $ ($Author: fgiust $) |
Constructor Summary | |
public | Attribute(String attributeName, short htmlVersions, AttrCheck check) Instantiates a new Attribute. |
Attribute | public Attribute(String attributeName, short htmlVersions, AttrCheck check)(Code) | | Instantiates a new Attribute.
Parameters: attributeName - attribute name Parameters: htmlVersions - versions in which this attribute is supported Parameters: check - AttrCheck instance |
getAttrchk | public AttrCheck getAttrchk()(Code) | | Returns the checker for this attribute.
instance of AttrCheck. |
getName | public String getName()(Code) | | Returns the attribute name.
attribute name. |
getVersions | public short getVersions()(Code) | | Returns the html versions in which this attribute is supported.
html versions for this attribute. See Also: Dict |
isLiteral | public boolean isLiteral()(Code) | | Is this a literal (unmodifiable) attribute?
true for a literal attribute |
isNowrap | public boolean isNowrap()(Code) | | Don't wrap this attribute?
true = don't wrap |
setLiteral | public void setLiteral(boolean isLiteral)(Code) | | Is this a literal (unmodifiable) attribute?
Parameters: isLiteral - boolean true for a literal attribute |
setNowrap | public void setNowrap(boolean isNowrap)(Code) | | Don't wrap this attribute?
Parameters: isNowrap - boolean true = don't wrap |
|
|