|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.ipojo.metadata.Attribute
public class Attribute
An attribute is a key-value pair. It represents the attribute of XML elements.
Constructor Summary | |
---|---|
Attribute(String name,
String value)
Creates an attribute. |
|
Attribute(String name,
String ns,
String value)
Creates an attribute. |
Method Summary | |
---|---|
String |
getName()
Gets the attribute name. |
String |
getNameSpace()
Gets attribute namespace. |
String |
getValue()
Gets attribute value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Attribute(String name, String value)
name
- the name of the attribute.value
- the value of the attribute.public Attribute(String name, String ns, String value)
name
- the name of the attribute.value
- the value of the attribute.ns
- the namespace of the attribute.Method Detail |
---|
public String getName()
public String getValue()
public String getNameSpace()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |