com.ibm.xml.sax
Interface NamespaceAttributeList
- public abstract interface NamespaceAttributeList
- extends AttributeList
Method Summary |
java.lang.String |
getLocalPart(int i)
Returns a local part of an attribute. |
java.lang.String |
getNamespace(int i)
Returns a namespace URI of an attribute. |
java.lang.String |
getPrefix(int i)
Returns a prefix name of an attribute. |
getPrefix
public java.lang.String getPrefix(int i)
- Returns a prefix name of an attribute.
This returns null if the attribute has no prefix.
getLocalPart
public java.lang.String getLocalPart(int i)
- Returns a local part of an attribute.
This is the same as getName() if the attribute has no prefix.
getNamespace
public java.lang.String getNamespace(int i)
- Returns a namespace URI of an attribute.
If the attribute is in per-element partition (no prefix), this returns null.
If the attribute is in global partition, this returns a namespace URI.
If the prefix of the attribute is "xmlns", this returns null.