Package org.openpreservation.format.xml
Interface Attribute
public interface Attribute
An interface defining the behaviour of XML attributes.
-
Method Summary
Modifier and TypeMethodDescriptionint
getIndex()
Get the index of theAttribute
in the elementArray
.Get theString
local name of theAttribute
.Get theString
namespace prefix of theAttribute
.Get the qualified name of theAttribute
.getType()
Get theString
type of theAttribute
.getURI()
Get theString
namespace URI of theAttribute
.getValue()
Get theString
value of theAttribute
.
-
Method Details
-
getIndex
int getIndex()Get the index of theAttribute
in the elementArray
.- Returns:
- the
int
index of theAttribute
-
getQualifiedName
String getQualifiedName()Get the qualified name of theAttribute
.- Returns:
- the
String
qualified name of theAttribute
-
getValue
String getValue()Get theString
value of theAttribute
.- Returns:
- the
String
value of theAttribute
-
getLocalName
String getLocalName()Get theString
local name of theAttribute
.- Returns:
- the
String
local name of theAttribute
-
getPrefix
String getPrefix()Get theString
namespace prefix of theAttribute
.- Returns:
- the
String
namespace prefix of theAttribute
-
getURI
URI getURI()Get theString
namespace URI of theAttribute
.- Returns:
- the
String
namespace URI of theAttribute
-
getType
String getType()Get theString
type of theAttribute
.- Returns:
- the
String
type of theAttribute
-