Package org.apache.xmpbox.type
Class Attribute
java.lang.Object
org.apache.xmpbox.type.Attribute
Simple representation of an attribute
- Author:
- a183132
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Attribute
Constructor of a new Attribute- Parameters:
nsURI
- namespaceURI of this attribute (could be null)localName
- localName of this attributevalue
- value given to this attribute
-
-
Method Details
-
getName
Get the localName of this attribute- Returns:
- local name of this attribute
-
setName
Set the localName of this attribute- Parameters:
lname
- the local name to set
-
getNamespace
Get the namespace URI of this attribute- Returns:
- the namespace URI associated to this attribute (could be null)
-
setNsURI
Set the namespace URI of this attribute- Parameters:
nsURI
- the namespace URI to set
-
getValue
Get value of this attribute- Returns:
- value of this attribute
-
setValue
Set value of this attribute- Parameters:
value
- the value to set for this attribute
-
toString
-