ibm.techexplorer.dom
Class TEDocument

java.lang.Object
  |
  +--ibm.techexplorer.dom.TENode
        |
        +--ibm.techexplorer.dom.TEDocument

public class TEDocument
extends TENode
implements techexplorerDocument

Description

See Also:
techexplorer, org.w3c.dom

Fields inherited from class ibm.techexplorer.dom.TENode
node, plugin
 
Constructor Summary
TEDocument(techexplorer plugin, int node)
           
 
Method Summary
 Attr createAttribute(java.lang.String name)
           
 CDATASection createCDATASection(java.lang.String data)
           
 Comment createComment(java.lang.String data)
           
 DocumentFragment createDocumentFragment()
           
 Element createElement(java.lang.String tagName)
           
 EntityReference createEntityReference(java.lang.String name)
           
 Node createFromMmlString(java.lang.String data)
           
 Node createFromTexString(java.lang.String data)
           
 Node createFromXmlString(java.lang.String data)
           
 ProcessingInstruction createProcessingInstruction(java.lang.String target, java.lang.String data)
           
 Text createTextNode(java.lang.String data)
           
 DocumentType getDoctype()
           
 Element getDocumentElement()
           
 NodeList getElementsByTagName(java.lang.String tagname)
           
 DOMImplementation getImplementation()
           
 java.lang.String getMmlString(Node targetNode)
           
 java.lang.String getTexString(Node targetNode)
           
 java.lang.String getXmlString(Node targetNode)
           
 void invalidate()
           
 void recomposeAndRedraw()
           
 void recomposeAndRedrawNode(Node targetNode)
           
 void scrollToNode(Node targetNode)
           
 
Methods inherited from class ibm.techexplorer.dom.TENode
appendChild, cloneNode, convertFrBool, convertFrNode, convertToAttribute, convertToBool, convertToCDATASection, convertToComment, convertToDocument, convertToDocumentFragment, convertToDocumentType, convertToDOMImplementation, convertToElement, convertToEntity, convertToEntityReference, convertToNamedNodeMap, convertToNode, convertToNodeList, convertToNotation, convertToProcessingInstruction, convertToText, createNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, hasChildNodes, insertBefore, removeChild, replaceChild, setNodeValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TEDocument

public TEDocument(techexplorer plugin,
                  int node)
Method Detail

getDoctype

public DocumentType getDoctype()

getImplementation

public DOMImplementation getImplementation()

getDocumentElement

public Element getDocumentElement()

createElement

public Element createElement(java.lang.String tagName)
                      throws DOMException

createDocumentFragment

public DocumentFragment createDocumentFragment()

createTextNode

public Text createTextNode(java.lang.String data)

createComment

public Comment createComment(java.lang.String data)

createCDATASection

public CDATASection createCDATASection(java.lang.String data)
                                throws DOMException

createProcessingInstruction

public ProcessingInstruction createProcessingInstruction(java.lang.String target,
                                                         java.lang.String data)
                                                  throws DOMException

createAttribute

public Attr createAttribute(java.lang.String name)
                     throws DOMException

createEntityReference

public EntityReference createEntityReference(java.lang.String name)
                                      throws DOMException

getElementsByTagName

public NodeList getElementsByTagName(java.lang.String tagname)

getTexString

public java.lang.String getTexString(Node targetNode)
Specified by:
getTexString in interface techexplorerDocument

getMmlString

public java.lang.String getMmlString(Node targetNode)
Specified by:
getMmlString in interface techexplorerDocument

getXmlString

public java.lang.String getXmlString(Node targetNode)
Specified by:
getXmlString in interface techexplorerDocument

createFromTexString

public Node createFromTexString(java.lang.String data)
Specified by:
createFromTexString in interface techexplorerDocument

createFromMmlString

public Node createFromMmlString(java.lang.String data)
Specified by:
createFromMmlString in interface techexplorerDocument

createFromXmlString

public Node createFromXmlString(java.lang.String data)
Specified by:
createFromXmlString in interface techexplorerDocument

scrollToNode

public void scrollToNode(Node targetNode)
Specified by:
scrollToNode in interface techexplorerDocument

invalidate

public void invalidate()
Specified by:
invalidate in interface techexplorerDocument

recomposeAndRedraw

public void recomposeAndRedraw()
Specified by:
recomposeAndRedraw in interface techexplorerDocument

recomposeAndRedrawNode

public void recomposeAndRedrawNode(Node targetNode)
Specified by:
recomposeAndRedrawNode in interface techexplorerDocument