Package | Description |
---|---|
com.fasterxml.aalto.out |
Modifier and Type | Field and Description |
---|---|
protected OutputElement |
StreamWriterBase._currElem
We'll use a virtual root element (like a document node of sort),
to simplify other processing, basically such that there is
always a current output element instance, even when in prolog
or epilog.
|
protected OutputElement |
StreamWriterBase._outputElemPool |
(package private) OutputElement |
OutputElement._parent
Reference to either the parent (enclosing element) of this
element, when part of active output context; or link to next
reusable unused element after this one (if not part of active
context).
|
Modifier and Type | Method and Description |
---|---|
protected OutputElement |
OutputElement.createChild(WName name)
Simplest factory method, which gets called when non-namespace
element output method is called.
|
protected OutputElement |
OutputElement.createChild(WName name,
java.lang.String uri)
Full factory method, used for 'normal' namespace qualified output
methods.
|
protected static OutputElement |
OutputElement.createRoot() |
OutputElement |
OutputElement.getParent() |
protected OutputElement |
OutputElement.reuseAsChild(OutputElement parent,
WName name) |
protected OutputElement |
OutputElement.reuseAsChild(OutputElement parent,
WName name,
java.lang.String nsURI) |
Modifier and Type | Method and Description |
---|---|
protected void |
OutputElement.addToPool(OutputElement poolHead)
Method called to temporarily link this instance to a pool, to
allow reusing of instances with the same reader.
|
void |
OutputElement.relink(OutputElement parent)
Method called to reuse a recycled instance, as is, with same
name.
|
private void |
OutputElement.relink(OutputElement parent,
WName name,
java.lang.String uri)
Method called to reuse a pooled instance, but with different
name
|
protected OutputElement |
OutputElement.reuseAsChild(OutputElement parent,
WName name) |
protected OutputElement |
OutputElement.reuseAsChild(OutputElement parent,
WName name,
java.lang.String nsURI) |
Constructor and Description |
---|
OutputElement(OutputElement parent,
WName name,
java.lang.String uri,
NsBinder binder) |