org.apache.xerces.util

Class AttributesProxy

public final class AttributesProxy extends Object implements AttributeList, Attributes2

Wraps XMLAttributes and makes it look like AttributeList and Attributes.

Version: $Id: AttributesProxy.java,v 1.2 2005/06/13 18:19:45 mrglavas Exp $

Author: Arnaud Le Hors, IBM Andy Clark, IBM

Constructor Summary
AttributesProxy(XMLAttributes attributes)
Method Summary
XMLAttributesgetAttributes()
intgetIndex(String qName)
intgetIndex(String uri, String localPart)
intgetLength()
StringgetLocalName(int index)
StringgetName(int i)
StringgetQName(int index)
StringgetType(int i)
StringgetType(String name)
StringgetType(String uri, String localName)
StringgetURI(int index)
StringgetValue(int i)
StringgetValue(String name)
StringgetValue(String uri, String localName)
booleanisDeclared(int index)
booleanisDeclared(String qName)
booleanisDeclared(String uri, String localName)
booleanisSpecified(int index)
booleanisSpecified(String qName)
booleanisSpecified(String uri, String localName)
voidsetAttributes(XMLAttributes attributes)
Sets the XML attributes to be wrapped.

Constructor Detail

AttributesProxy

public AttributesProxy(XMLAttributes attributes)

Method Detail

getAttributes

public XMLAttributes getAttributes()

getIndex

public int getIndex(String qName)

getIndex

public int getIndex(String uri, String localPart)

getLength

public int getLength()

getLocalName

public String getLocalName(int index)

getName

public String getName(int i)

getQName

public String getQName(int index)

getType

public String getType(int i)

getType

public String getType(String name)

getType

public String getType(String uri, String localName)

getURI

public String getURI(int index)

getValue

public String getValue(int i)

getValue

public String getValue(String name)

getValue

public String getValue(String uri, String localName)

isDeclared

public boolean isDeclared(int index)

isDeclared

public boolean isDeclared(String qName)

isDeclared

public boolean isDeclared(String uri, String localName)

isSpecified

public boolean isSpecified(int index)

isSpecified

public boolean isSpecified(String qName)

isSpecified

public boolean isSpecified(String uri, String localName)

setAttributes

public void setAttributes(XMLAttributes attributes)
Sets the XML attributes to be wrapped.
Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.