public final class AttributesProxy
extends java.lang.Object
implements org.xml.sax.AttributeList, org.xml.sax.ext.Attributes2
XMLAttributes
and makes it look like
AttributeList
and Attributes2
.Constructor and Description |
---|
AttributesProxy(org.apache.xerces.xni.XMLAttributes attributes) |
Modifier and Type | Method and Description |
---|---|
org.apache.xerces.xni.XMLAttributes |
getAttributes() |
int |
getIndex(java.lang.String qName) |
int |
getIndex(java.lang.String uri,
java.lang.String localPart) |
int |
getLength() |
java.lang.String |
getLocalName(int index) |
java.lang.String |
getName(int i) |
java.lang.String |
getQName(int index) |
java.lang.String |
getType(int i) |
java.lang.String |
getType(java.lang.String name) |
java.lang.String |
getType(java.lang.String uri,
java.lang.String localName) |
java.lang.String |
getURI(int index) |
java.lang.String |
getValue(int i) |
java.lang.String |
getValue(java.lang.String name) |
java.lang.String |
getValue(java.lang.String uri,
java.lang.String localName) |
boolean |
isDeclared(int index) |
boolean |
isDeclared(java.lang.String qName) |
boolean |
isDeclared(java.lang.String uri,
java.lang.String localName) |
boolean |
isSpecified(int index) |
boolean |
isSpecified(java.lang.String qName) |
boolean |
isSpecified(java.lang.String uri,
java.lang.String localName) |
void |
setAttributes(org.apache.xerces.xni.XMLAttributes attributes)
Sets the XML attributes to be wrapped.
|
public AttributesProxy(org.apache.xerces.xni.XMLAttributes attributes)
public void setAttributes(org.apache.xerces.xni.XMLAttributes attributes)
public org.apache.xerces.xni.XMLAttributes getAttributes()
public int getLength()
getLength
in interface org.xml.sax.AttributeList
getLength
in interface org.xml.sax.Attributes
public java.lang.String getQName(int index)
getQName
in interface org.xml.sax.Attributes
public java.lang.String getURI(int index)
getURI
in interface org.xml.sax.Attributes
public java.lang.String getLocalName(int index)
getLocalName
in interface org.xml.sax.Attributes
public java.lang.String getType(int i)
getType
in interface org.xml.sax.AttributeList
getType
in interface org.xml.sax.Attributes
public java.lang.String getType(java.lang.String name)
getType
in interface org.xml.sax.AttributeList
getType
in interface org.xml.sax.Attributes
public java.lang.String getType(java.lang.String uri, java.lang.String localName)
getType
in interface org.xml.sax.Attributes
public java.lang.String getValue(int i)
getValue
in interface org.xml.sax.AttributeList
getValue
in interface org.xml.sax.Attributes
public java.lang.String getValue(java.lang.String name)
getValue
in interface org.xml.sax.AttributeList
getValue
in interface org.xml.sax.Attributes
public java.lang.String getValue(java.lang.String uri, java.lang.String localName)
getValue
in interface org.xml.sax.Attributes
public int getIndex(java.lang.String qName)
getIndex
in interface org.xml.sax.Attributes
public int getIndex(java.lang.String uri, java.lang.String localPart)
getIndex
in interface org.xml.sax.Attributes
public boolean isDeclared(int index)
isDeclared
in interface org.xml.sax.ext.Attributes2
public boolean isDeclared(java.lang.String qName)
isDeclared
in interface org.xml.sax.ext.Attributes2
public boolean isDeclared(java.lang.String uri, java.lang.String localName)
isDeclared
in interface org.xml.sax.ext.Attributes2
public boolean isSpecified(int index)
isSpecified
in interface org.xml.sax.ext.Attributes2
public boolean isSpecified(java.lang.String qName)
isSpecified
in interface org.xml.sax.ext.Attributes2
public boolean isSpecified(java.lang.String uri, java.lang.String localName)
isSpecified
in interface org.xml.sax.ext.Attributes2
public java.lang.String getName(int i)
getName
in interface org.xml.sax.AttributeList
Copyright ? 1999-2010 The Apache Software Foundation. All Rights Reserved.