public interface WriterStack
| Modifier and Type | Method and Description |
|---|---|
String |
peek()
Peek into the current location of the writer.
|
NamespaceSet |
peekNamespace() |
String |
pop()
Remove and return the current node name, making the parent node the active
node name.
|
void |
push(String name,
NamespaceSet namespace)
add a node name into the stack indicating that the writer has moved into a
new child element.
|
void |
reset()
Reset the stack to its default state.
|
int |
size() |
String peek()
NamespaceSet peekNamespace()
void reset()
void push(String name, NamespaceSet namespace)
name - the name of the new child element.namespace - the namespace set associated with the current element.String pop()
int size()
Copyright © 2007-2012. All Rights Reserved.