Package | Description |
---|---|
com.ctc.wstx.dom |
Modifier and Type | Field and Description |
---|---|
protected DOMOutputElement |
WstxDOMWrappingWriter.mCurrElem
This element is the current context element, under which
all other nodes are added, until matching end element
is output.
|
protected DOMOutputElement |
WstxDOMWrappingWriter.mOpenElement
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.mParent
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(org.w3c.dom.Node rootNode) |
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 |
WstxDOMWrappingWriter.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 |
WstxDOMWrappingWriter.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 |
WstxDOMWrappingWriter.generateElemPrefix(java.lang.String suggPrefix,
java.lang.String nsURI,
DOMOutputElement elem)
Method called after
WstxDOMWrappingWriter.findElemPrefix(java.lang.String, com.ctc.wstx.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 |
WstxDOMWrappingWriter.validateElemPrefix(java.lang.String prefix,
java.lang.String nsURI,
DOMOutputElement elem) |
Constructor and Description |
---|
DOMOutputElement(DOMOutputElement parent,
org.w3c.dom.Element element,
BijectiveNsMap ns) |