|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AttributeMap
Generic interface to access XML attributes.
| Method Summary | |
|---|---|
Map<String,String> |
getAsMap()
retrieve the attributes as map. |
boolean |
getBoolean(String attrName,
boolean defaultValue)
retrieve the value of the attribute as boolean. |
String |
getString(String attrName)
retrieve the value of the attribute as String. |
String |
getString(String attrName,
String defaultValue)
retrieve the value of the attribute as String. |
boolean |
hasAttribute(String attrName)
return true if an attribute is present. |
| Method Detail |
|---|
boolean hasAttribute(String attrName)
attrName - name of the attribute to look for.
String getString(String attrName)
attrName - name of the attribute
String getString(String attrName,
String defaultValue)
attrName - name of the attributedefaultValue - value to use if unset.
boolean getBoolean(String attrName,
boolean defaultValue)
attrName - name of the attribute.defaultValue - value to use if unset.
Map<String,String> getAsMap()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||