public abstract class Container
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected org.w3c.dom.Element |
containerDOMElem_
Represents the container as DOM element.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Container(org.w3c.dom.Document owningDoc,
java.lang.String elementTagName,
org.w3c.dom.DocumentFragment content)
Creates a new container with the specified DOM document fragment as its content.
|
protected |
Container(org.w3c.dom.Document owningDoc,
java.lang.String elementTagName,
org.w3c.dom.Element content)
Creates a new container with the specified DOM element as its child.
|
protected |
Container(org.w3c.dom.Document owningDoc,
java.lang.String elementTagName,
java.lang.String content)
Creates a new container with the specified string value as DOM text child.
|
protected |
Container(org.w3c.dom.Element containerDOMElem,
org.w3c.dom.Document owningDoc)
Creates a new container from the specified container DOM element.
|
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.Element |
toElement()
Gets a DOM element representation of this container object.
|
protected org.w3c.dom.Element containerDOMElem_
protected Container(org.w3c.dom.Element containerDOMElem,
org.w3c.dom.Document owningDoc)
Document.importNode(org.w3c.dom.Node, boolean), and the cloned element will be
used as the container.containerDOMElem - The container's DOM element representation.owningDoc - The DOM document which should be used to create necessary DOM nodes.protected Container(org.w3c.dom.Document owningDoc,
java.lang.String elementTagName,
java.lang.String content)
owningDoc - The DOM document which should be used to create necessary DOM nodes.elementTagName - The name for the DOM element representing the container.content - The value for the DOM text child to be created.protected Container(org.w3c.dom.Document owningDoc,
java.lang.String elementTagName,
org.w3c.dom.Element content)
Document.importNode(org.w3c.dom.Node, boolean), and the cloned element will be
used as content for the container.owningDoc - The DOM document which should be used to create necessary DOM nodes.elementTagName - The name for the DOM element representing the container.content - The DOM element to be set as the content of the Container.protected Container(org.w3c.dom.Document owningDoc,
java.lang.String elementTagName,
org.w3c.dom.DocumentFragment content)
Document.importNode(org.w3c.dom.Node, boolean),
and the cloned document fragment will be used as content for the container.owningDoc - The DOM document which should be used to create necessary DOM nodes.elementTagName - The name for the DOM element representing the container.content - The DOM document fragment to be set as the content of the Container.public org.w3c.dom.Element toElement()