org.apache.xerces.parsers

Class AbstractSAXParser.AttributesProxy

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

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

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)
boolean
isDeclared(String qName)
boolean
isDeclared(String uri, String localName)
boolean
isDeclared(int index)
boolean
isSpecified(String qName)
boolean
isSpecified(String uri, String localName)
boolean
isSpecified(int index)
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

isDeclared

public boolean isDeclared(String qName)
Specified by:
isDeclared in interface org.xml.sax.ext.Attributes2

isDeclared

public boolean isDeclared(String uri,
                          String localName)
Specified by:
isDeclared in interface org.xml.sax.ext.Attributes2

isDeclared

public boolean isDeclared(int index)
Specified by:
isDeclared in interface org.xml.sax.ext.Attributes2

isSpecified

public boolean isSpecified(String qName)
Specified by:
isSpecified in interface org.xml.sax.ext.Attributes2

isSpecified

public boolean isSpecified(String uri,
                           String localName)
Specified by:
isSpecified in interface org.xml.sax.ext.Attributes2

isSpecified

public boolean isSpecified(int index)
Specified by:
isSpecified in interface org.xml.sax.ext.Attributes2

setAttributes

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

Copyright B) 1999-2006 The Apache Software Foundation. All Rights Reserved.