Package | Description |
---|---|
com.fasterxml.aalto.dom |
Modifier and Type | Field and Description |
---|---|
protected DOMOutputElement |
DOMWriterImpl._currElem
This element is the current context element, under which
all other nodes are added, until matching end element
is output.
|
protected DOMOutputElement |
DOMWriterImpl._openElement
This element is non-null right after a call to
either
writeStartElement and
writeEmptyElement , and can be used to
add attributes and namespace declarations. |
private DOMOutputElement |
DOMOutputElement._parent
Reference to the parent element, element enclosing this element.
|
Modifier and Type | Method and Description |
---|---|
protected DOMOutputElement |
DOMOutputElement.createAndAttachChild(org.w3c.dom.Element element)
Simplest factory method, which gets called when a 1-argument
element output method is called.
|
protected DOMOutputElement |
DOMOutputElement.createChild(org.w3c.dom.Element element) |
static DOMOutputElement |
DOMOutputElement.createRoot() |
DOMOutputElement |
DOMOutputElement.getParent() |
protected DOMOutputElement |
DOMOutputElement.reuseAsChild(DOMOutputElement parent,
org.w3c.dom.Element element) |
Modifier and Type | Method and Description |
---|---|
protected void |
DOMOutputElement.addToPool(DOMOutputElement poolHead)
Method called to temporarily link this instance to a pool, to
allow reusing of instances with the same reader.
|
protected java.lang.String |
DOMWriterImpl.findElemPrefix(java.lang.String nsURI,
DOMOutputElement elem)
Method called to find an existing prefix for the given namespace,
if any exists in the scope.
|
protected java.lang.String |
DOMWriterImpl.findOrCreateAttrPrefix(java.lang.String suggPrefix,
java.lang.String nsURI,
DOMOutputElement elem)
Method called to somehow find a prefix for given namespace, to be
used for a new start element; either use an existing one, or
generate a new one.
|
protected java.lang.String |
DOMWriterImpl.generateElemPrefix(java.lang.String suggPrefix,
java.lang.String nsURI,
DOMOutputElement elem)
Method called after
DOMWriterImpl.findElemPrefix(java.lang.String, com.fasterxml.aalto.dom.DOMOutputElement) has returned null,
to create and bind a namespace mapping for specified namespace. |
private void |
DOMOutputElement.relink(DOMOutputElement parent,
org.w3c.dom.Element element)
Method called to reuse a pooled instance.
|
protected DOMOutputElement |
DOMOutputElement.reuseAsChild(DOMOutputElement parent,
org.w3c.dom.Element element) |
private java.lang.String |
DOMWriterImpl.validateElemPrefix(java.lang.String prefix,
java.lang.String nsURI,
DOMOutputElement elem) |
Constructor and Description |
---|
DOMOutputElement(DOMOutputElement parent,
org.w3c.dom.Element element,
BijectiveNsMap ns) |