org.apache.xerces.parsers

Class AbstractSAXParser.AttributesProxy

Enclosing Class:
AbstractSAXParser
Implemented Interfaces:
org.xml.sax.AttributeList, org.xml.sax.Attributes

protected static final class AbstractSAXParser.AttributesProxy
extends java.lang.Object
implements org.xml.sax.AttributeList, org.xml.sax.Attributes

Field Summary

protected org.apache.xerces.xni.XMLAttributes
fAttributes
XML attributes.

Method Summary

int
getIndex(String qName)
int
getIndex(String uri, String localPart)
int
getLength()
String
getLocalName(int index)
String
getName(int i)
String
getQName(int index)
String
getType(String name)
String
getType(String uri, String localName)
String
getType(int i)
String
getURI(int index)
String
getValue(String name)
String
getValue(String uri, String localName)
String
getValue(int i)
void
setAttributes(org.apache.xerces.xni.XMLAttributes attributes)
Sets the XML attributes.

Field Details

fAttributes

protected org.apache.xerces.xni.XMLAttributes fAttributes
XML attributes.

Method Details

getIndex

public int getIndex(String qName)
Specified by:
getIndex in interface org.xml.sax.Attributes


getIndex

public int getIndex(String uri,
                    String localPart)
Specified by:
getIndex in interface org.xml.sax.Attributes


getLength

public int getLength()
Specified by:
getLength in interface org.xml.sax.AttributeList
getLength in interface org.xml.sax.Attributes


getLocalName

public String getLocalName(int index)
Specified by:
getLocalName in interface org.xml.sax.Attributes


getName

public String getName(int i)
Specified by:
getName in interface org.xml.sax.AttributeList


getQName

public String getQName(int index)
Specified by:
getQName in interface org.xml.sax.Attributes


getType

public String getType(String name)
Specified by:
getType in interface org.xml.sax.AttributeList
getType in interface org.xml.sax.Attributes


getType

public String getType(String uri,
                      String localName)
Specified by:
getType in interface org.xml.sax.Attributes


getType

public String getType(int i)
Specified by:
getType in interface org.xml.sax.AttributeList
getType in interface org.xml.sax.Attributes


getURI

public String getURI(int index)
Specified by:
getURI in interface org.xml.sax.Attributes


getValue

public String getValue(String name)
Specified by:
getValue in interface org.xml.sax.AttributeList
getValue in interface org.xml.sax.Attributes


getValue

public String getValue(String uri,
                       String localName)
Specified by:
getValue in interface org.xml.sax.Attributes


getValue

public String getValue(int i)
Specified by:
getValue in interface org.xml.sax.AttributeList
getValue in interface org.xml.sax.Attributes


setAttributes

public void setAttributes(org.apache.xerces.xni.XMLAttributes attributes)
Sets the XML attributes.


Copyright B) 1999-2004 Apache XML Project. All Rights Reserved.