sk.uniba.euromath.tools.xml.sax
Class AttributesAdapter
java.lang.Object
sk.uniba.euromath.tools.xml.sax.AttributesAdapter
- All Implemented Interfaces:
- Attributes
public class AttributesAdapter
- extends Object
- implements Attributes
Simple wrapper of attribute list; from DOM NamedNodeMap to SAX Attributes
interface. Clients may subclass and/or instantiate the class.
- Author:
- Martin Vysny
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
attrs
public NamedNodeMap attrs
- Wrapped attributes.
AttributesAdapter
public AttributesAdapter()
getLength
public int getLength()
- Specified by:
getLength
in interface Attributes
getURI
public String getURI(int index)
- Specified by:
getURI
in interface Attributes
getLocalName
public String getLocalName(int index)
- Specified by:
getLocalName
in interface Attributes
getQName
public String getQName(int index)
- Specified by:
getQName
in interface Attributes
getType
public String getType(int index)
- Specified by:
getType
in interface Attributes
getValue
public String getValue(int index)
- Specified by:
getValue
in interface Attributes
getIndex
public int getIndex(String uri,
String localName)
- Specified by:
getIndex
in interface Attributes
getIndex
public int getIndex(String qName)
- Specified by:
getIndex
in interface Attributes
getType
public String getType(String uri,
String localName)
- Specified by:
getType
in interface Attributes
getType
public String getType(String qName)
- Specified by:
getType
in interface Attributes
getValue
public String getValue(String uri,
String localName)
- Specified by:
getValue
in interface Attributes
getValue
public String getValue(String qName)
- Specified by:
getValue
in interface Attributes
Copyright 2003-2003-2006 null. All Rights Reserved.