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 intgetIndex(String qName)intgetIndex(String uri, String localName)intgetLength()StringgetLocalName(int index)StringgetQName(int index)StringgetType(int index)StringgetType(String qName)StringgetType(String uri, String localName)StringgetURI(int index)StringgetValue(int index)StringgetValue(String qName)StringgetValue(String uri, String localName)
-
-
-
Constructor Detail
-
DOMAttributes
public DOMAttributes(NamedNodeMap attributes)
Class constructor- Parameters:
attributes-
-
-
Method Detail
-
getLength
public int getLength()
- Specified by:
getLengthin interfaceAttributes
-
getURI
public String getURI(int index)
- Specified by:
getURIin interfaceAttributes
-
getLocalName
public String getLocalName(int index)
- Specified by:
getLocalNamein interfaceAttributes
-
getQName
public String getQName(int index)
- Specified by:
getQNamein interfaceAttributes
-
getType
public String getType(int index)
- Specified by:
getTypein interfaceAttributes
-
getValue
public String getValue(int index)
- Specified by:
getValuein interfaceAttributes
-
getIndex
public int getIndex(String uri, String localName)
- Specified by:
getIndexin interfaceAttributes
-
getIndex
public int getIndex(String qName)
- Specified by:
getIndexin interfaceAttributes
-
getType
public String getType(String uri, String localName)
- Specified by:
getTypein interfaceAttributes
-
getType
public String getType(String qName)
- Specified by:
getTypein interfaceAttributes
-
getValue
public String getValue(String uri, String localName)
- Specified by:
getValuein interfaceAttributes
-
getValue
public String getValue(String qName)
- Specified by:
getValuein interfaceAttributes
-
-