|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xerces.parsers.AbstractSAXParser.AttributesProxy
Field Summary | |
protected org.apache.xerces.xni.XMLAttributes |
fAttributes
XML attributes. |
Constructor Summary | |
protected |
AbstractSAXParser.AttributesProxy()
|
Method Summary | |
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)
Returns false unless the attribute was declared in the DTD. |
boolean |
isDeclared(java.lang.String qName)
Returns false unless the attribute was declared in the DTD. |
boolean |
isDeclared(java.lang.String uri,
java.lang.String localName)
Returns false unless the attribute was declared in the DTD. |
boolean |
isSpecified(int index)
Returns true unless the attribute value was provided by DTD defaulting. |
boolean |
isSpecified(java.lang.String qName)
Returns true unless the attribute value was provided by DTD defaulting. |
boolean |
isSpecified(java.lang.String uri,
java.lang.String localName)
Returns true unless the attribute value was provided by DTD defaulting. |
void |
setAttributes(org.apache.xerces.xni.XMLAttributes attributes)
Sets the XML attributes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected org.apache.xerces.xni.XMLAttributes fAttributes
Constructor Detail |
protected AbstractSAXParser.AttributesProxy()
Method Detail |
public void setAttributes(org.apache.xerces.xni.XMLAttributes attributes)
public int getLength()
getLength
in interface org.xml.sax.AttributeList
public java.lang.String getName(int i)
getName
in interface org.xml.sax.AttributeList
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
public java.lang.String getType(java.lang.String name)
getType
in interface org.xml.sax.AttributeList
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
public java.lang.String getValue(java.lang.String name)
getValue
in interface org.xml.sax.AttributeList
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)
org.xml.sax.ext.Attributes2
isDeclared
in interface org.xml.sax.ext.Attributes2
index
- The attribute index (zero-based).
public boolean isDeclared(java.lang.String qName)
org.xml.sax.ext.Attributes2
isDeclared
in interface org.xml.sax.ext.Attributes2
qName
- The XML qualified (prefixed) name.
public boolean isDeclared(java.lang.String uri, java.lang.String localName)
org.xml.sax.ext.Attributes2
Remember that since DTDs do not "understand" namespaces, the namespace URI associated with an attribute may not have come from the DTD. The declaration will have applied to the attribute's qName.
isDeclared
in interface org.xml.sax.ext.Attributes2
uri
- The Namespace URI, or the empty string if
the name has no Namespace URI.localName
- The attribute's local name.
public boolean isSpecified(int index)
org.xml.sax.ext.Attributes2
isSpecified
in interface org.xml.sax.ext.Attributes2
index
- The attribute index (zero-based).
public boolean isSpecified(java.lang.String qName)
org.xml.sax.ext.Attributes2
isSpecified
in interface org.xml.sax.ext.Attributes2
qName
- The XML qualified (prefixed) name.
public boolean isSpecified(java.lang.String uri, java.lang.String localName)
org.xml.sax.ext.Attributes2
Remember that since DTDs do not "understand" namespaces, the namespace URI associated with an attribute may not have come from the DTD. The declaration will have applied to the attribute's qName.
isSpecified
in interface org.xml.sax.ext.Attributes2
uri
- The Namespace URI, or the empty string if
the name has no Namespace URI.localName
- The attribute's local name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |