anon.terms.template
Class Paragraph
java.lang.Object
anon.terms.TCComponent
anon.terms.template.Paragraph
- All Implemented Interfaces:
- IXMLEncodable
public class Paragraph
- extends TCComponent
- implements IXMLEncodable
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
XML_ELEMENT_CONTAINER_NAME
public static java.lang.String XML_ELEMENT_CONTAINER_NAME
XML_ELEMENT_NAME
public static java.lang.String XML_ELEMENT_NAME
elementNodes
private java.util.Vector elementNodes
hasElementNodes
private boolean hasElementNodes
Paragraph
public Paragraph()
Paragraph
public Paragraph(double id)
Paragraph
public Paragraph(org.w3c.dom.Node root)
throws XMLParseException
- Throws:
XMLParseException
replaceElementNodes
public void replaceElementNodes(org.w3c.dom.NodeList nodes)
hasElementNodes
public boolean hasElementNodes()
setContent
public void setContent(java.lang.Object o)
- Overrides:
setContent
in class TCComponent
getContent
public java.lang.Object getContent()
- Overrides:
getContent
in class TCComponent
setContentBold
public void setContentBold()
contentNodes
private java.util.Vector contentNodes()
hasContent
public boolean hasContent()
- Overrides:
hasContent
in class TCComponent
toXmlElement
public org.w3c.dom.Element toXmlElement(org.w3c.dom.Document ownerDoc)
- Description copied from interface:
IXMLEncodable
- Return an element that can be appended to the document. This
Method must not change the document in any way!
- Specified by:
toXmlElement
in interface IXMLEncodable
- Parameters:
ownerDoc
- a document
- Returns:
- the interface as xml element
toXmlElement
public org.w3c.dom.Element toXmlElement(org.w3c.dom.Document ownerDoc,
boolean outputEmpty)
clone
public java.lang.Object clone()
- Specified by:
clone
in class TCComponent
toString
public java.lang.String toString()
- Overrides:
toString
in class TCComponent
toNodeList
public static org.w3c.dom.NodeList toNodeList(org.w3c.dom.Node[] nodeArray)