Class AttributesProxy
- java.lang.Object
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.util.AttributesProxy
-
- All Implemented Interfaces:
AttributeList,Attributes,Attributes2
public final class AttributesProxy extends Object implements AttributeList, Attributes2
- Version:
- $Id$
- Author:
- Arnaud Le Hors, IBM, Andy Clark, IBM
-
-
Constructor Summary
Constructors Constructor Description AttributesProxy(XMLAttributes attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
setAttributes
public void setAttributes(XMLAttributes attributes)
Sets the XML attributes to be wrapped.
-
getAttributes
public XMLAttributes getAttributes()
-
getLength
public int getLength()
- Specified by:
getLengthin interfaceAttributeList- Specified by:
getLengthin interfaceAttributes
-
getQName
public String getQName(int index)
- Specified by:
getQNamein interfaceAttributes
-
getURI
public String getURI(int index)
- Specified by:
getURIin interfaceAttributes
-
getLocalName
public String getLocalName(int index)
- Specified by:
getLocalNamein interfaceAttributes
-
getType
public String getType(int i)
- Specified by:
getTypein interfaceAttributeList- Specified by:
getTypein interfaceAttributes
-
getType
public String getType(String name)
- Specified by:
getTypein interfaceAttributeList- Specified by:
getTypein interfaceAttributes
-
getType
public String getType(String uri, String localName)
- Specified by:
getTypein interfaceAttributes
-
getValue
public String getValue(int i)
- Specified by:
getValuein interfaceAttributeList- Specified by:
getValuein interfaceAttributes
-
getValue
public String getValue(String name)
- Specified by:
getValuein interfaceAttributeList- Specified by:
getValuein interfaceAttributes
-
getValue
public String getValue(String uri, String localName)
- Specified by:
getValuein interfaceAttributes
-
getIndex
public int getIndex(String qName)
- Specified by:
getIndexin interfaceAttributes
-
getIndex
public int getIndex(String uri, String localPart)
- Specified by:
getIndexin interfaceAttributes
-
isDeclared
public boolean isDeclared(int index)
- Specified by:
isDeclaredin interfaceAttributes2
-
isDeclared
public boolean isDeclared(String qName)
- Specified by:
isDeclaredin interfaceAttributes2
-
isDeclared
public boolean isDeclared(String uri, String localName)
- Specified by:
isDeclaredin interfaceAttributes2
-
isSpecified
public boolean isSpecified(int index)
- Specified by:
isSpecifiedin interfaceAttributes2
-
isSpecified
public boolean isSpecified(String qName)
- Specified by:
isSpecifiedin interfaceAttributes2
-
isSpecified
public boolean isSpecified(String uri, String localName)
- Specified by:
isSpecifiedin interfaceAttributes2
-
getName
public String getName(int i)
- Specified by:
getNamein interfaceAttributeList
-
-