| java.lang.Object org.w3c.tidy.AttVal
AttVal | public class AttVal extends Object implements Cloneable(Code) | | Attribute/Value linked list node.
author: Dave Raggett dsr@w3.org author: Andy Quick ac.quick@sympatico.ca (translation to Java) author: Fabrizio Giustina version: $Revision: 1.25 $ ($Author: fgiust $) |
Constructor Summary | |
public | AttVal() Instantiates a new empty AttVal. | public | AttVal(AttVal next, Attribute dict, int delim, String attribute, String value) Instantiates a new AttVal. | public | AttVal(AttVal next, Attribute dict, Node asp, Node php, int delim, String attribute, String value) Instantiates a new AttVal. |
delim | protected int delim(Code) | | Delimiter (" or ').
|
AttVal | public AttVal()(Code) | | Instantiates a new empty AttVal.
|
AttVal | public AttVal(AttVal next, Attribute dict, int delim, String attribute, String value)(Code) | | Instantiates a new AttVal.
Parameters: next - next linked AttVal Parameters: dict - Attribute from dictionary Parameters: delim - delimitator for attribute value Parameters: attribute - attribute name Parameters: value - attribute value |
AttVal | public AttVal(AttVal next, Attribute dict, Node asp, Node php, int delim, String attribute, String value)(Code) | | Instantiates a new AttVal.
Parameters: next - next linked AttVal Parameters: dict - Attribute from dictionary Parameters: asp - contained asp node Parameters: php - contained php node Parameters: delim - delimitator for attribute value Parameters: attribute - attribute name Parameters: value - attribute value |
checkAttribute | public Attribute checkAttribute(Lexer lexer, Node node)(Code) | | Check attribute name/value and report errors.
Parameters: lexer - Lexer Parameters: node - node which contains this attribute Attribute |
checkLowerCaseAttrValue | void checkLowerCaseAttrValue(Lexer lexer, Node node)(Code) | | Check the attribute value for uppercase letters (only if the value should be lowercase, required for literal
values in xhtml).
Parameters: lexer - Lexer Parameters: node - Node which contains this attribute |
getAdapter | protected org.w3c.dom.Attr getAdapter()(Code) | | Return the org.w3c.dom.Attr adapter.
org.w3c.dom.Attr adapter |
getAsp | public Node getAsp()(Code) | | Getter for asp .
Returns the asp. |
getAttribute | public String getAttribute()(Code) | | Getter for attribute .
Returns the attribute. |
getDelim | public int getDelim()(Code) | | Getter for delim .
Returns the delim. |
getNext | public AttVal getNext()(Code) | | Getter for next .
Returns the next. |
getPhp | public Node getPhp()(Code) | | Getter for php .
Returns the php. |
getValue | public String getValue()(Code) | | Getter for value .
Returns the value. |
isBoolAttribute | public boolean isBoolAttribute()(Code) | | Is this a boolean attribute.
true if this is a boolean attribute |
setAsp | public void setAsp(Node asp)(Code) | | Setter for asp .
Parameters: asp - The asp to set. |
setAttribute | public void setAttribute(String attribute)(Code) | | Setter for attribute .
Parameters: attribute - The attribute to set. |
setDelim | public void setDelim(int delim)(Code) | | Setter for delim .
Parameters: delim - The delim to set. |
setDict | public void setDict(Attribute dict)(Code) | | Setter for dict .
Parameters: dict - The dict to set. |
setNext | public void setNext(AttVal next)(Code) | | Setter for next .
Parameters: next - The next to set. |
setPhp | public void setPhp(Node php)(Code) | | Setter for php .
Parameters: php - The php to set. |
setValue | public void setValue(String value)(Code) | | Setter for value .
Parameters: value - The value to set. |
|
|