Class AbstractSAXParser.AttributesProxy
- java.lang.Object
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.parsers.AbstractSAXParser.AttributesProxy
-
- All Implemented Interfaces:
AttributeList
,Attributes
,Attributes2
- Enclosing class:
- AbstractSAXParser
protected static final class AbstractSAXParser.AttributesProxy extends Object implements AttributeList, Attributes2
-
-
Field Summary
Fields Modifier and Type Field Description protected XMLAttributes
fAttributes
XML attributes.
-
Constructor Summary
Constructors Modifier Constructor Description protected
AttributesProxy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Field Detail
-
fAttributes
protected XMLAttributes fAttributes
XML attributes.
-
-
Method Detail
-
setAttributes
public void setAttributes(XMLAttributes attributes)
Sets the XML attributes.
-
getLength
public int getLength()
- Specified by:
getLength
in interfaceAttributeList
- Specified by:
getLength
in interfaceAttributes
-
getName
public String getName(int i)
- Specified by:
getName
in interfaceAttributeList
-
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
-
-