|
SWIXML 2.0 beta 1 (#201) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.swixml.Attribute
public class Attribute
Class for store attribute info.
Field Summary | |
---|---|
protected String |
name
Attribute name. |
protected String |
value
Attribute value. |
Constructor Summary | |
---|---|
Attribute(String name,
String value)
Constructor. |
Method Summary | |
---|---|
static Attribute |
getAttribute(Element elem,
String attrName)
Create class instance by name from element. |
static String |
getAttributeValue(Element elem,
String attrName)
Get attribute value from element. |
String |
getName()
|
String |
getValue()
|
void |
setValue(String value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final String name
protected String value
Constructor Detail |
---|
public Attribute(String name, String value)
Method Detail |
---|
public String getName()
public String getValue()
public void setValue(String value)
public static Attribute getAttribute(Element elem, String attrName)
elem
- element for find attributeattrName
- attribute name
public static String getAttributeValue(Element elem, String attrName)
elem
- element for find attributeattrName
- attribute name
|
SWIXML 2.0 beta 1 (#201) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |