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 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(int i)
String
getType(String name)
String
getType(String uri, String localName)
String
getURI(int index)
String
getValue(int i)
String
getValue(String name)
String
getValue(String uri, String localName)
boolean
isDeclared(int index)
boolean
isDeclared(String qName)
boolean
isDeclared(String uri, String localName)
boolean
isSpecified(int index)
boolean
isSpecified(String qName)
boolean
isSpecified(String uri, String localName)
void
setAttributes(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:
getLength
in interfaceAttributeList
- Specified by:
getLength
in interfaceAttributes
-
getQName
public String getQName(int index)
- Specified by:
getQName
in interfaceAttributes
-
getURI
public String getURI(int index)
- Specified by:
getURI
in interfaceAttributes
-
getLocalName
public String getLocalName(int index)
- Specified by:
getLocalName
in interfaceAttributes
-
getType
public String getType(int i)
- Specified by:
getType
in interfaceAttributeList
- Specified by:
getType
in interfaceAttributes
-
getType
public String getType(String name)
- Specified by:
getType
in interfaceAttributeList
- Specified by:
getType
in interfaceAttributes
-
getType
public String getType(String uri, String localName)
- Specified by:
getType
in interfaceAttributes
-
getValue
public String getValue(int i)
- Specified by:
getValue
in interfaceAttributeList
- Specified by:
getValue
in interfaceAttributes
-
getValue
public String getValue(String name)
- Specified by:
getValue
in interfaceAttributeList
- Specified by:
getValue
in interfaceAttributes
-
getValue
public String getValue(String uri, String localName)
- Specified by:
getValue
in interfaceAttributes
-
getIndex
public int getIndex(String qName)
- Specified by:
getIndex
in interfaceAttributes
-
getIndex
public int getIndex(String uri, String localPart)
- Specified by:
getIndex
in interfaceAttributes
-
isDeclared
public boolean isDeclared(int index)
- Specified by:
isDeclared
in interfaceAttributes2
-
isDeclared
public boolean isDeclared(String qName)
- Specified by:
isDeclared
in interfaceAttributes2
-
isDeclared
public boolean isDeclared(String uri, String localName)
- Specified by:
isDeclared
in interfaceAttributes2
-
isSpecified
public boolean isSpecified(int index)
- Specified by:
isSpecified
in interfaceAttributes2
-
isSpecified
public boolean isSpecified(String qName)
- Specified by:
isSpecified
in interfaceAttributes2
-
isSpecified
public boolean isSpecified(String uri, String localName)
- Specified by:
isSpecified
in interfaceAttributes2
-
getName
public String getName(int i)
- Specified by:
getName
in interfaceAttributeList
-
-