Class AttVal
java.lang.Object
org.w3c.tidy.AttVal
- All Implemented Interfaces:
Cloneable
Attribute/Value linked list node.
- Version:
- $Revision$ ($Author$)
- Author:
- Dave Raggett dsr@w3.org , Andy Quick ac.quick@sympatico.ca (translation to Java), Fabrizio Giustina
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckAttribute(Lexer lexer, Node node) Check attribute name/value and report errors.protected Objectclone()protected AttrReturn the org.w3c.dom.Attr adapter.getAsp()Getter forasp.Getter forattribute.intgetDelim()Getter fordelim.getDict()Getter fordict.getNext()Getter fornext.getPhp()Getter forphp.getValue()Getter forvalue.booleanIs this a boolean attribute.voidSetter forasp.voidsetAttribute(String attribute) Setter forattribute.voidsetDelim(int delim) Setter fordelim.voidSetter fordict.voidSetter fornext.voidSetter forphp.voidSetter forvalue.
-
Field Details
-
next
next AttVal. -
dict
Attribute definition. -
asp
Asp node. -
php
Php node. -
delim
protected int delimDelimiter (" or '). -
attribute
Attribute name. -
value
Attribute value. -
adapter
DOM adapter.
-
-
Constructor Details
-
AttVal
public AttVal()Instantiates a new empty AttVal. -
AttVal
-
AttVal
public AttVal(AttVal next, Attribute dict, Node asp, Node php, int delim, String attribute, String value) Instantiates a new AttVal.- Parameters:
next- next linked AttValdict- Attribute from dictionaryasp- contained asp nodephp- contained php nodedelim- delimitator for attribute valueattribute- attribute namevalue- attribute value
-
-
Method Details
-
clone
-
isBoolAttribute
public boolean isBoolAttribute()Is this a boolean attribute.- Returns:
trueif this is a boolean attribute
-
checkAttribute
-
getAdapter
-
getAsp
-
setAsp
-
getAttribute
-
setAttribute
Setter forattribute.- Parameters:
attribute- The attribute to set.
-
getDelim
public int getDelim()Getter fordelim.- Returns:
- Returns the delim.
-
setDelim
public void setDelim(int delim) Setter fordelim.- Parameters:
delim- The delim to set.
-
getDict
-
setDict
-
getNext
-
setNext
-
getPhp
-
setPhp
-
getValue
-
setValue
-