public final class DOMOutputElement extends OutputElementBase
mDefaultNsURI, mNsMapping, mNsMapShared, mRootNsContext, PREFIX_MISBOUND, PREFIX_OK, PREFIX_UNBOUND
Modifier and Type | Method and Description |
---|---|
protected void |
addAttribute(String pname,
String value) |
protected void |
addAttribute(String uri,
String qname,
String value) |
protected void |
addToPool(DOMOutputElement poolHead)
Method called to temporarily link this instance to a pool, to
allow reusing of instances with the same reader.
|
void |
appendChild(Node n) |
protected void |
appendNode(Node n) |
protected DOMOutputElement |
createAndAttachChild(Element element)
Simplest factory method, which gets called when a 1-argument
element output method is called.
|
protected DOMOutputElement |
createChild(Element element) |
static DOMOutputElement |
createRoot(Node rootNode) |
String |
getNameDesc() |
DOMOutputElement |
getParent() |
boolean |
isRoot() |
protected DOMOutputElement |
reuseAsChild(DOMOutputElement parent,
Element element) |
void |
setDefaultNsUri(String uri) |
protected void |
setRootNsContext(NamespaceContext ctxt) |
addPrefix, generateMapping, getDefaultNsUri, getExplicitPrefix, getNamespaceURI, getPrefix, getPrefixes, isPrefixValid, relink, throwOutputError
public static DOMOutputElement createRoot(Node rootNode)
protected DOMOutputElement createAndAttachChild(Element element)
protected DOMOutputElement createChild(Element element)
protected DOMOutputElement reuseAsChild(DOMOutputElement parent, Element element)
protected void addToPool(DOMOutputElement poolHead)
public DOMOutputElement getParent()
public boolean isRoot()
isRoot
in class OutputElementBase
public String getNameDesc()
getNameDesc
in class OutputElementBase
public void setDefaultNsUri(String uri)
setDefaultNsUri
in class OutputElementBase
protected void setRootNsContext(NamespaceContext ctxt)
setRootNsContext
in class OutputElementBase
protected void appendNode(Node n)
public void appendChild(Node n)
Copyright © 2012–2015 FasterXML. All rights reserved.