public class AttVal extends Object implements Cloneable
Modifier and Type | Field and Description |
---|---|
protected Attr |
adapter
DOM adapter.
|
protected Node |
asp
Asp node.
|
protected 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 String |
value
Attribute value.
|
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
Attribute |
checkAttribute(Lexer lexer,
Node node)
Check attribute name/value and report errors.
|
protected Object |
clone() |
protected Attr |
getAdapter()
Return the org.w3c.dom.Attr adapter.
|
Node |
getAsp()
Getter for
asp . |
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 . |
String |
getValue()
Getter for
value . |
boolean |
isBoolAttribute()
Is this a boolean attribute.
|
void |
setAsp(Node asp)
Setter for
asp . |
void |
setAttribute(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(String value)
Setter for
value . |
protected AttVal next
protected Attribute dict
protected Node asp
protected Node php
protected int delim
protected String attribute
protected String value
protected Attr adapter
public AttVal()
public AttVal(AttVal next, Attribute dict, int delim, String attribute, 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, String attribute, String value)
next
- next linked AttValdict
- Attribute from dictionaryasp
- contained asp nodephp
- contained php nodedelim
- delimitator for attribute valueattribute
- attribute namevalue
- attribute valueprotected Object clone()
clone
in class 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 attributeprotected Attr getAdapter()
public Node getAsp()
asp
.public void setAsp(Node asp)
asp
.asp
- The asp to set.public String getAttribute()
attribute
.public void setAttribute(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 String getValue()
value
.public void setValue(String value)
value
.value
- The value to set.Copyright © 2000–2012 sourceforge. All rights reserved.