|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.w3c.tidy.AttVal
public class AttVal
Attribute/Value linked list node.
Field Summary | |
---|---|
protected org.w3c.dom.Attr |
adapter
DOM adapter. |
protected Node |
asp
Asp node. |
protected java.lang.String |
attribute
Attribute name. |
protected int |
delim
Delimiter (" or '). |
protected Attribute |
dict
Attribute definition. |
protected AttVal |
next
next AttVal. |
protected Node |
php
Php node. |
protected java.lang.String |
value
Attribute value. |
Constructor Summary | |
---|---|
AttVal()
Instantiates a new empty AttVal. |
|
AttVal(AttVal next,
Attribute dict,
int delim,
java.lang.String attribute,
java.lang.String value)
Instantiates a new AttVal. |
|
AttVal(AttVal next,
Attribute dict,
Node asp,
Node php,
int delim,
java.lang.String attribute,
java.lang.String value)
Instantiates a new AttVal. |
Method Summary | |
---|---|
Attribute |
checkAttribute(Lexer lexer,
Node node)
Check attribute name/value and report errors. |
protected java.lang.Object |
clone()
|
protected org.w3c.dom.Attr |
getAdapter()
Return the org.w3c.dom.Attr adapter. |
Node |
getAsp()
Getter for asp . |
java.lang.String |
getAttribute()
Getter for attribute . |
int |
getDelim()
Getter for delim . |
Attribute |
getDict()
Getter for dict . |
AttVal |
getNext()
Getter for next . |
Node |
getPhp()
Getter for php . |
java.lang.String |
getValue()
Getter for value . |
boolean |
isBoolAttribute()
Is this a boolean attribute. |
void |
setAsp(Node asp)
Setter for asp . |
void |
setAttribute(java.lang.String attribute)
Setter for attribute . |
void |
setDelim(int delim)
Setter for delim . |
void |
setDict(Attribute dict)
Setter for dict . |
void |
setNext(AttVal next)
Setter for next . |
void |
setPhp(Node php)
Setter for php . |
void |
setValue(java.lang.String value)
Setter for value . |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected AttVal next
protected Attribute dict
protected Node asp
protected Node php
protected int delim
protected java.lang.String attribute
protected java.lang.String value
protected org.w3c.dom.Attr adapter
Constructor Detail |
---|
public AttVal()
public AttVal(AttVal next, Attribute dict, int delim, java.lang.String attribute, java.lang.String value)
next
- next linked AttValdict
- Attribute from dictionarydelim
- delimitator for attribute valueattribute
- attribute namevalue
- attribute valuepublic AttVal(AttVal next, Attribute dict, Node asp, Node php, int delim, java.lang.String attribute, java.lang.String value)
next
- next linked AttValdict
- Attribute from dictionaryasp
- contained asp nodephp
- contained php nodedelim
- delimitator for attribute valueattribute
- attribute namevalue
- attribute valueMethod Detail |
---|
protected java.lang.Object clone()
clone
in class java.lang.Object
Object.clone()
public boolean isBoolAttribute()
true
if this is a boolean attributepublic Attribute checkAttribute(Lexer lexer, Node node)
lexer
- Lexernode
- node which contains this attribute
protected org.w3c.dom.Attr getAdapter()
public Node getAsp()
asp
.
public void setAsp(Node asp)
asp
.
asp
- The asp to set.public java.lang.String getAttribute()
attribute
.
public void setAttribute(java.lang.String attribute)
attribute
.
attribute
- The attribute to set.public int getDelim()
delim
.
public void setDelim(int delim)
delim
.
delim
- The delim to set.public Attribute getDict()
dict
.
public void setDict(Attribute dict)
dict
.
dict
- The dict to set.public AttVal getNext()
next
.
public void setNext(AttVal next)
next
.
next
- The next to set.public Node getPhp()
php
.
public void setPhp(Node php)
php
.
php
- The php to set.public java.lang.String getValue()
value
.
public void setValue(java.lang.String value)
value
.
value
- The value to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |