org.apache.xerces.util

Class AttributesProxy

Implemented Interfaces:
AttributeList, Attributes2

public final class AttributesProxy
extends java.lang.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 $
Authors:
Arnaud Le Hors, IBM
Andy Clark, IBM

Constructor Summary

AttributesProxy(org.apache.xerces.xni.XMLAttributes attributes)

Method Summary

org.apache.xerces.xni.XMLAttributes
getAttributes()
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 to be wrapped.

Constructor Details

AttributesProxy

public AttributesProxy(org.apache.xerces.xni.XMLAttributes attributes)

Method Details

getAttributes

public org.apache.xerces.xni.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(String name)

getType

public String getType(String uri,
                      String localName)

getType

public String getType(int i)

getURI

public String getURI(int index)

getValue

public String getValue(String name)

getValue

public String getValue(String uri,
                       String localName)

getValue

public String getValue(int i)

isDeclared

public boolean isDeclared(String qName)

isDeclared

public boolean isDeclared(String uri,
                          String localName)

isDeclared

public boolean isDeclared(int index)

isSpecified

public boolean isSpecified(String qName)

isSpecified

public boolean isSpecified(String uri,
                           String localName)

isSpecified

public boolean isSpecified(int index)

setAttributes

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

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