|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Attributes
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 |
---|
static final java.lang.String NO_ATTRIBUTE_VALUE
Method Detail |
---|
Element setAttributeFilterState(boolean filter_attribute_state)
filter_attribute_state
- do we need to filter attributes?Element setAttributeFilter(Filter attribute_filter)
attribute_filter
- set the attribute filter to be used.Filter getAttributeFilter()
Element addAttribute(java.lang.String name, java.lang.Object element)
name
- name of the attributeelement
- value of the attribute.Element addAttribute(java.lang.String name, int element)
name
- name of the attributeelement
- value of the attribute.Element addAttribute(java.lang.String name, java.lang.String element)
name
- name of the attributeelement
- value of the attribute.Element addAttribute(java.lang.String name, java.lang.Integer element)
name
- name of the attributeelement
- value of the attribute.Element removeAttribute(java.lang.String name)
name
- remove the attribute of this nameboolean hasAttribute(java.lang.String name)
name
- of the attribute to ask the element for.Element setAttributeQuoteChar(char quote_char)
quote_char
- character used to quote attributeschar getAttributeQuoteChar()
Element setAttributeEqualitySign(char equality_sign)
equality_sign
- The equality sign used for attributes.char getAttributeEqualitySign()
boolean getAttributeQuote()
Element setAttributeQuote(boolean attribute_quote)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |