org.w3c.tidy
Class AttVal
- Cloneable
public class AttVal
extends Object
implements Cloneable
Attribute/Value linked list node.
$Revision: 622 $ ($Author: fgiust $)
AttVal() - Instantiates a new empty AttVal.
|
AttVal(AttVal next, Attribute dict, int delim, String attribute, String value) - Instantiates a new AttVal.
|
AttVal(AttVal next, Attribute dict, Node asp, Node php, int delim, String attribute, String value) - Instantiates a new AttVal.
|
adapter
protected Attr adapter
DOM adapter.
asp
protected Node asp
Asp node.
attribute
protected String attribute
Attribute name.
delim
protected int delim
Delimiter (" or ').
dict
protected Attribute dict
Attribute definition.
next
protected AttVal next
next AttVal.
php
protected Node php
Php node.
value
protected String value
Attribute value.
AttVal
public AttVal()
Instantiates a new empty AttVal.
AttVal
public AttVal(AttVal next,
Attribute dict,
int delim,
String attribute,
String value)
Instantiates a new AttVal.
next
- next linked AttValdict
- Attribute from dictionarydelim
- delimitator for attribute valueattribute
- attribute namevalue
- attribute value
AttVal
public AttVal(AttVal next,
Attribute dict,
Node asp,
Node php,
int delim,
String attribute,
String value)
Instantiates a new AttVal.
next
- next linked AttValdict
- Attribute from dictionaryasp
- contained asp nodephp
- contained php nodedelim
- delimitator for attribute valueattribute
- attribute namevalue
- attribute value
checkAttribute
public Attribute checkAttribute(Lexer lexer,
Node node)
Check attribute name/value and report errors.
lexer
- Lexernode
- node which contains this attribute
clone
protected Object clone()
getAdapter
protected Attr getAdapter()
Return the org.w3c.dom.Attr adapter.
getAsp
public Node getAsp()
Getter for asp
.
getAttribute
public String getAttribute()
Getter for attribute
.
getDelim
public int getDelim()
Getter for delim
.
getDict
public Attribute getDict()
Getter for dict
.
getNext
public AttVal getNext()
Getter for next
.
getPhp
public Node getPhp()
Getter for php
.
getValue
public String getValue()
Getter for value
.
isBoolAttribute
public boolean isBoolAttribute()
Is this a boolean attribute.
true
if this is a boolean attribute
setAsp
public void setAsp(Node asp)
Setter for asp
.
setAttribute
public void setAttribute(String attribute)
Setter for attribute
.
attribute
- The attribute to set.
setDelim
public void setDelim(int delim)
Setter for delim
.
delim
- The delim to set.
setDict
public void setDict(Attribute dict)
Setter for dict
.
setNext
public void setNext(AttVal next)
Setter for next
.
setPhp
public void setPhp(Node php)
Setter for php
.
setValue
public void setValue(String value)
Setter for value
.
value
- The value to set.