|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pivot.xml.Element.NamespaceDictionary
public class Element.NamespaceDictionary
Dictionary representing the namespaces declared by this element.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.pivot.collections.Dictionary |
---|
Dictionary.Pair<K,V> |
Method Summary | |
---|---|
boolean |
containsKey(String prefix)
Tests for the existence of a namespace declared by this element. |
String |
get(String prefix)
Returns the URI of a namespace declared by this element. |
Iterator<String> |
iterator()
Returns an iterator over the element's namespace prefixes. |
String |
put(String prefix,
String uri)
Sets the URI of a namespace declared by this element. |
String |
remove(String prefix)
Removes a namespace from this element's declared namespaces. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public String get(String prefix)
get
in interface Dictionary<String,String>
prefix
- The namespace prefix.
public String put(String prefix, String uri)
put
in interface Dictionary<String,String>
prefix
- The namespace prefix.uri
- The namespace URI.
public String remove(String prefix)
remove
in interface Dictionary<String,String>
prefix
- The namespace prefix.
public boolean containsKey(String prefix)
containsKey
in interface Dictionary<String,String>
prefix
-
public Iterator<String> iterator()
iterator
in interface Iterable<String>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |