Inheritance diagram for NamespaceStack::
Public Methods | |
NamespaceStack () | |
void | push (Namespace ns) |
String | pop () |
int | size () |
String | getURI (String prefix) |
String | toString () |
NamespaceStack
is a helper class used by both XMLOutputter
and SAXOutputter
to manage namespaces in a JDOM Document during output.
|
This creates the needed storage. |
|
Given a prefix, this will return the namespace URI most rencently (topmost) associated with that prefix.
|
|
This will remove the topmost (most recently added)
|
|
This will add a new
|
|
This returns the number of available namespaces.
|
|
This will print out the size and current stack, from the most recently added |