| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private Element | mElement
Actual DOM element for which this element object acts as a proxy. |
| private DOMOutputElement | mParent
Reference to the parent element, element enclosing this element. |
| private final Node | mRootNode
DOM node that is the root under which content is written, in case where there is no parent (mParent == null). |
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected void | |
| protected void | addToPool(DOMOutputElement poolHead)
Method called to temporarily link this instance to a pool, to allow reusing of instances with the same reader. |
| public void | |
| protected void | |
| protected DOMOutputElement | createAndAttachChild(Element element)
Simplest factory method, which gets called when a 1-argument element output method is called. |
| protected DOMOutputElement | |
| public static DOMOutputElement | |
| public String | Returns: String presentation of the fully-qualified name, in "prefix:localName" format (no URI). Useful for error and debugging messages.Implements abstract com.
|
| public DOMOutputElement | |
| public boolean | |
| private void | Returns: Chained pooled instance that should now be head of the reuse chainMethod called to reuse a pooled instance. |
| protected DOMOutputElement | |
| public void | |
| protected void | setRootNsContext(NamespaceContext ctxt)
Implements abstract com.
|
| mDefaultNsSet | back to summary |
|---|---|
| private boolean mDefaultNsSet | |
| mElement | back to summary |
|---|---|
| private Element mElement Actual DOM element for which this element object acts as a proxy. | |
| mParent | back to summary |
|---|---|
| private DOMOutputElement mParent Reference to the parent element, element enclosing this element. Null for root element. Non-final to allow temporary pooling (on per-writer basis, to keep these short-lived). | |
| mRootNode | back to summary |
|---|---|
| private final Node mRootNode DOM node that is the root under which content is written, in case
where there is no parent (mParent == null). If mParent is not null,
this will be null.
Value is of type
| |
| DOMOutputElement | back to summary |
|---|---|
| private DOMOutputElement(Node rootNode) Constructor for the virtual root element | |
| DOMOutputElement | back to summary |
|---|---|
| private DOMOutputElement(DOMOutputElement parent, Element element, BijectiveNsMap ns) | |
| addAttribute | back to summary |
|---|---|
| protected void addAttribute(String pname, String value) | |
| addAttribute | back to summary |
|---|---|
| protected void addAttribute(String uri, String qname, String value) | |
| addToPool | back to summary |
|---|---|
| protected void addToPool(DOMOutputElement poolHead) Method called to temporarily link this instance to a pool, to allow reusing of instances with the same reader. | |
| appendChild | back to summary |
|---|---|
| public void appendChild(Node n) | |
| appendNode | back to summary |
|---|---|
| protected void appendNode(Node n) | |
| createAndAttachChild | back to summary |
|---|---|
| protected DOMOutputElement createAndAttachChild(Element element) Simplest factory method, which gets called when a 1-argument element output method is called. It is, then, assumed to use the default namespace. Will both create the child element and attach it to parent element, or lacking own owner document. | |
| createChild | back to summary |
|---|---|
| protected DOMOutputElement createChild(Element element) | |
| createRoot | back to summary |
|---|---|
| public static DOMOutputElement createRoot(Node rootNode) | |
| getNameDesc | back to summary |
|---|---|
| public String getNameDesc() Implements abstract com. | |
| getParent | back to summary |
|---|---|
| public DOMOutputElement getParent() | |
| isRoot | back to summary |
|---|---|
| public boolean isRoot() Implements abstract com.
| |
| relink | back to summary |
|---|---|
| private void relink(DOMOutputElement parent, Element element) Method called to reuse a pooled instance.
| |
| reuseAsChild | back to summary |
|---|---|
protected DOMOutputElement reuseAsChild(DOMOutputElement parent, Element element)
| |
| setDefaultNsUri | back to summary |
|---|---|
| public void setDefaultNsUri(String uri) Implements abstract com.
| |
| setRootNsContext | back to summary |
|---|---|
| protected void setRootNsContext(NamespaceContext ctxt) Implements abstract com.
| |