|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface describes the attributes within an element. It is implemented by ElementAttributes.
Field Summary | |
static java.lang.String |
NO_ATTRIBUTE_VALUE
Does this element attribute value need a =""? |
Method Summary | |
Element |
addAttribute(java.lang.String name,
int element)
Add an attribute to the Element. |
Element |
addAttribute(java.lang.String name,
java.lang.Integer element)
Add an attribute to the Element. |
Element |
addAttribute(java.lang.String name,
java.lang.Object element)
Add an attribute to the Element. |
Element |
addAttribute(java.lang.String name,
java.lang.String element)
Add an attribute to the Element. |
char |
getAttributeEqualitySign()
Get the equality sign for an attribute. |
Filter |
getAttributeFilter()
Get the AttributeFilter that is in use. |
boolean |
getAttributeQuote()
Do we surround attributes with qoutes? |
char |
getAttributeQuoteChar()
Get the character used to quote attributes. |
boolean |
hasAttribute(java.lang.String name)
Does the element have an attribute. |
Element |
removeAttribute(java.lang.String name)
Remove an attribute from the element. |
Element |
setAttributeEqualitySign(char equality_sign)
Set the equality sign for an attribute. |
Element |
setAttributeFilter(Filter attribute_filter)
Set the AttributeFilter that should be used. |
Element |
setAttributeFilterState(boolean filter_attribute_state)
Set the state of the attribute filter. |
Element |
setAttributeQuote(boolean attribute_quote)
Set wether or not we surround the attributes with quotes. |
Element |
setAttributeQuoteChar(char quote_char)
Set the character used to quote attributes. |
Field Detail |
public static final java.lang.String NO_ATTRIBUTE_VALUE
Method Detail |
public Element setAttributeFilterState(boolean filter_attribute_state)
filter_attribute_state
- do we need to filter attributes?public Element setAttributeFilter(Filter attribute_filter)
attribute_filter
- set the attribute filter to be used.public Filter getAttributeFilter()
public Element addAttribute(java.lang.String name, java.lang.Object element)
name
- name of the attributeelement
- value of the attribute.public Element addAttribute(java.lang.String name, int element)
name
- name of the attributeelement
- value of the attribute.public Element addAttribute(java.lang.String name, java.lang.String element)
name
- name of the attributeelement
- value of the attribute.public Element addAttribute(java.lang.String name, java.lang.Integer element)
name
- name of the attributeelement
- value of the attribute.public Element removeAttribute(java.lang.String name)
name
- remove the attribute of this namepublic boolean hasAttribute(java.lang.String name)
name
- of the attribute to ask the element for.public Element setAttributeQuoteChar(char quote_char)
quote_char
- character used to quote attributespublic char getAttributeQuoteChar()
public Element setAttributeEqualitySign(char equality_sign)
equality_sign
- The equality sign used for attributes.public char getAttributeEqualitySign()
public boolean getAttributeQuote()
public Element setAttributeQuote(boolean attribute_quote)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |