public class Section extends TCComposite implements IXMLEncodable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
XML_ATTR_NAME |
static java.lang.String |
XML_ELEMENT_CONTAINER_NAME |
static java.lang.String |
XML_ELEMENT_NAME |
tcComponents
content, id
FIELD_XML_ELEMENT_CONTAINER_NAME, FIELD_XML_ELEMENT_NAME, XML_ATTR_ID, XML_ATTR_LANGUAGE, XML_ATTR_VERSION
Constructor and Description |
---|
Section() |
Section(double id,
java.lang.Object content) |
Section(org.w3c.dom.Node root) |
Modifier and Type | Method and Description |
---|---|
void |
replaceElementNodes(org.w3c.dom.NodeList nodes) |
org.w3c.dom.Element |
toXmlElement(org.w3c.dom.Document ownerDoc)
Return an element that can be appended to the document.
|
org.w3c.dom.Element |
toXmlElement(org.w3c.dom.Document ownerDoc,
boolean outputEmpty) |
addTCComponent, clone, getTCComponent, getTCComponentCount, getTCComponents, hasContent, removeTCComponent, toString
equals, getContent, getId, setContent, setId
public static java.lang.String XML_ELEMENT_CONTAINER_NAME
public static java.lang.String XML_ELEMENT_NAME
public static java.lang.String XML_ATTR_NAME
public Section()
public Section(double id, java.lang.Object content)
public Section(org.w3c.dom.Node root) throws XMLParseException
XMLParseException
public void replaceElementNodes(org.w3c.dom.NodeList nodes)
public org.w3c.dom.Element toXmlElement(org.w3c.dom.Document ownerDoc)
IXMLEncodable
toXmlElement
in interface IXMLEncodable
ownerDoc
- a documentpublic org.w3c.dom.Element toXmlElement(org.w3c.dom.Document ownerDoc, boolean outputEmpty)
Copyright © 2023. All rights reserved.