|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WriterStack
A writer stack is a simple stack that tracks the current location of the writer.
| Method Summary | |
|---|---|
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()
|
| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||