Package org.odftoolkit.odfdom.pkg.rdfa
Class DOMAttributes
- java.lang.Object
-
- org.odftoolkit.odfdom.pkg.rdfa.DOMAttributes
-
- All Implemented Interfaces:
Attributes
public class DOMAttributes extends Object implements Attributes
Simple wrapper class for NamedNodeMap as Attributes
-
-
Constructor Summary
Constructors Constructor Description DOMAttributes(NamedNodeMap attributes)
Class constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndex(String qName)
int
getIndex(String uri, String localName)
int
getLength()
String
getLocalName(int index)
String
getQName(int index)
String
getType(int index)
String
getType(String qName)
String
getType(String uri, String localName)
String
getURI(int index)
String
getValue(int index)
String
getValue(String qName)
String
getValue(String uri, String localName)
-
-
-
Constructor Detail
-
DOMAttributes
public DOMAttributes(NamedNodeMap attributes)
Class constructor- Parameters:
attributes
-
-
-
Method Detail
-
getLength
public int getLength()
- Specified by:
getLength
in interfaceAttributes
-
getURI
public String getURI(int index)
- Specified by:
getURI
in interfaceAttributes
-
getLocalName
public String getLocalName(int index)
- Specified by:
getLocalName
in interfaceAttributes
-
getQName
public String getQName(int index)
- Specified by:
getQName
in interfaceAttributes
-
getType
public String getType(int index)
- Specified by:
getType
in interfaceAttributes
-
getValue
public String getValue(int index)
- Specified by:
getValue
in interfaceAttributes
-
getIndex
public int getIndex(String uri, String localName)
- Specified by:
getIndex
in interfaceAttributes
-
getIndex
public int getIndex(String qName)
- Specified by:
getIndex
in interfaceAttributes
-
getType
public String getType(String uri, String localName)
- Specified by:
getType
in interfaceAttributes
-
getType
public String getType(String qName)
- Specified by:
getType
in interfaceAttributes
-
getValue
public String getValue(String uri, String localName)
- Specified by:
getValue
in interfaceAttributes
-
getValue
public String getValue(String qName)
- Specified by:
getValue
in interfaceAttributes
-
-