public class Attribute extends Object
Constructor and Description |
---|
Attribute(String nsURI,
String localName,
String value)
Constructor of a new Attribute
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get the localName of this attribute
|
String |
getNamespace()
Get the namespace URI of this attribute
|
String |
getValue()
Get value of this attribute
|
void |
setName(String lname)
Set the localName of this attribute
|
void |
setNsURI(String nsURI)
Set the namespace URI of this attribute
|
void |
setValue(String value)
Set value of this attribute
|
String |
toString() |
public String getName()
public void setName(String lname)
lname
- the local name to setpublic String getNamespace()
public void setNsURI(String nsURI)
nsURI
- the namespace URI to setpublic String getValue()
public void setValue(String value)
value
- the value to set for this attributeCopyright © 2002–2016 The Apache Software Foundation. All rights reserved.