| Modifier and Type | Field and Description |
|---|---|
| private final Context | |
| pack-priv final Element | |
| private final Namespace |
| Access | Constructor and Description |
|---|---|
| public | Element(Context
the context of this instance context, QualifiedName the qualified name of this instance qualifiedName)Create an instance with the supplied context and qualified name. |
| Modifier and Type | Method and Description |
|---|---|
| public <C extends ChildElement | |
| private Attr | |
| private Document | |
| pack-priv Element | |
| public String | |
| public Element | Returns: this elementthe qualified name of the attribute qualifiedName, String the attribute value value)Add an attribute to this element. |
| public Element | Returns: this elementthe content of the CDATA section value)Add a CDATA section to this element. |
| public Element |
| context | back to summary |
|---|---|
| private final Context context | |
| domElement | back to summary |
|---|---|
| pack-priv final Element domElement | |
| namespace | back to summary |
|---|---|
| private final Namespace namespace | |
| Element | back to summary |
|---|---|
| public Element(Context context, QualifiedName qualifiedName) Create an instance with the supplied context and qualified name.
| |
| append | back to summary |
|---|---|
| public <C extends ChildElement Implements org. Doc from org. Append the child element created by the supplied factory configured by the supplied consumer.
| |
| createAttr | back to summary |
|---|---|
| private Attr createAttr(QualifiedName qualifiedName) | |
| document | back to summary |
|---|---|
| private Document document() | |
| getDomElement | back to summary |
|---|---|
| pack-priv Element getDomElement() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| withAttribute | back to summary |
|---|---|
| public Element Add an attribute to this element.
| |
| withCDataSection | back to summary |
|---|---|
| public Element Add a CDATA section to this element.
| |
| withContent | back to summary |
|---|---|
| public Element Add text content to this element. | |