|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.novell.xml.util.NamespaceStack
Class for keeping track of namespace declarations in scope for result handlers, serializers etc.
| Constructor Summary | |
NamespaceStack()
Construct an empty namespace stack object. |
|
| Method Summary | |
boolean |
add(String prefix,
NamespaceName namespace_name)
Conditionally add a namespace declaration. |
NamespaceName |
getNamespaceName(String prefix)
Get the URI for the passed prefix, if it exists |
void |
pop()
Pop the namespace declarations added since the last push() |
void |
push()
Push currently in-scope namespace declarations at the start of an element. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NamespaceStack()
| Method Detail |
public void push()
public void pop()
public boolean add(String prefix,
NamespaceName namespace_name)
prefix - The prefix of the declarationnamespace_name - The namespace name of the declaration
public NamespaceName getNamespaceName(String prefix)
prefix - The prefix to check.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||