Package org.apache.xmpbox.type
Class Attribute
- java.lang.Object
-
- org.apache.xmpbox.type.Attribute
-
public class Attribute extends java.lang.ObjectSimple representation of an attribute- Author:
- a183132
-
-
Constructor Summary
Constructors Constructor Description Attribute(java.lang.String nsURI, java.lang.String localName, java.lang.String value)Constructor of a new Attribute
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Get the localName of this attributejava.lang.StringgetNamespace()Get the namespace URI of this attributejava.lang.StringgetValue()Get value of this attributevoidsetName(java.lang.String lname)Set the localName of this attributevoidsetNsURI(java.lang.String nsURI)Set the namespace URI of this attributevoidsetValue(java.lang.String value)Set value of this attributejava.lang.StringtoString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Get the localName of this attribute- Returns:
- local name of this attribute
-
setName
public void setName(java.lang.String lname)
Set the localName of this attribute- Parameters:
lname- the local name to set
-
getNamespace
public java.lang.String getNamespace()
Get the namespace URI of this attribute- Returns:
- the namespace URI associated to this attribute (could be null)
-
setNsURI
public void setNsURI(java.lang.String nsURI)
Set the namespace URI of this attribute- Parameters:
nsURI- the namespace URI to set
-
getValue
public java.lang.String getValue()
Get value of this attribute- Returns:
- value of this attribute
-
setValue
public void setValue(java.lang.String value)
Set value of this attribute- Parameters:
value- the value to set for this attribute
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-