TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.sxp.internal
Class SXPDocument

java.lang.Object
  extended by org.eclipse.tptp.platform.report.sxp.internal.SXPNode
      extended by org.eclipse.tptp.platform.report.sxp.internal.SXPDocument
All Implemented Interfaces:
org.w3c.dom.Document, org.w3c.dom.Node

Deprecated. As of TPTP 4.5.0, use the TPTP Business Intelligence and Reporting Tools (BIRT) reporting infrastructure (org.eclipse.tptp.platform.report.birt).

public class SXPDocument
extends SXPNode
implements org.w3c.dom.Document

Implementation of Document returned by SimpleXmlParser. It store parsed document only, it can't be used to create XML document in any way.


Field Summary
 
Fields inherited from class org.eclipse.tptp.platform.report.sxp.internal.SXPNode
first_child_, last_child_, next_, parent_, prev_
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
SXPDocument()
          Deprecated.  
 
Method Summary
 org.w3c.dom.Attr createAttribute(java.lang.String name)
          Deprecated.  
 org.w3c.dom.Attr createAttributeNS(java.lang.String namespaceURI, java.lang.String qualifiedName)
          Deprecated.  
 org.w3c.dom.CDATASection createCDATASection(java.lang.String data)
          Deprecated.  
 org.w3c.dom.Comment createComment(java.lang.String data)
          Deprecated.  
 org.w3c.dom.DocumentFragment createDocumentFragment()
          Deprecated.  
 org.w3c.dom.Element createElement(java.lang.String tagName)
          Deprecated.  
 org.w3c.dom.Element createElementNS(java.lang.String namespaceURI, java.lang.String qualifiedName)
          Deprecated.  
 org.w3c.dom.EntityReference createEntityReference(java.lang.String name)
          Deprecated.  
 org.w3c.dom.ProcessingInstruction createProcessingInstruction(java.lang.String target, java.lang.String data)
          Deprecated.  
 org.w3c.dom.Text createTextNode(java.lang.String data)
          Deprecated.  
 org.w3c.dom.DocumentType getDoctype()
          Deprecated.  
 org.w3c.dom.Element getDocumentElement()
          Deprecated.  
 org.w3c.dom.Element getElementById(java.lang.String elementId)
          Deprecated.  
 org.w3c.dom.NodeList getElementsByTagName(java.lang.String tagname)
          Deprecated.  
 org.w3c.dom.NodeList getElementsByTagNameNS(java.lang.String namespaceURI, java.lang.String localName)
          Deprecated.  
 org.w3c.dom.DOMImplementation getImplementation()
          Deprecated.  
 java.lang.String getNodeName()
          Deprecated.  
 short getNodeType()
          Deprecated.  
 java.lang.String getNodeValue()
          Deprecated.  
 org.w3c.dom.Document getOwnerDocument()
          Deprecated.  
 boolean hasAttributes()
          Deprecated.  
 org.w3c.dom.Node importNode(org.w3c.dom.Node importedNode, boolean deep)
          Deprecated.  
 void setNodeValue(java.lang.String nodeValue)
          Deprecated. do nothing as document haven't node value
 
Methods inherited from class org.eclipse.tptp.platform.report.sxp.internal.SXPNode
appendChild, cloneNode, dump, dump, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getParentNode, getPrefix, getPreviousSibling, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNext, setParent, setPrefix, setPrev
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.Document
adoptNode, getDocumentURI, getDomConfig, getInputEncoding, getStrictErrorChecking, getXmlEncoding, getXmlStandalone, getXmlVersion, normalizeDocument, renameNode, setDocumentURI, setStrictErrorChecking, setXmlStandalone, setXmlVersion
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setPrefix, setTextContent, setUserData
 

Constructor Detail

SXPDocument

public SXPDocument()
Deprecated. 
Method Detail

getDoctype

public org.w3c.dom.DocumentType getDoctype()
Deprecated. 
Specified by:
getDoctype in interface org.w3c.dom.Document

getImplementation

public org.w3c.dom.DOMImplementation getImplementation()
Deprecated. 
Specified by:
getImplementation in interface org.w3c.dom.Document

getDocumentElement

public org.w3c.dom.Element getDocumentElement()
Deprecated. 
Specified by:
getDocumentElement in interface org.w3c.dom.Document

createElement

public org.w3c.dom.Element createElement(java.lang.String tagName)
                                  throws org.w3c.dom.DOMException
Deprecated. 
Specified by:
createElement in interface org.w3c.dom.Document
Returns:
null
Throws:
org.w3c.dom.DOMException

createDocumentFragment

public org.w3c.dom.DocumentFragment createDocumentFragment()
Deprecated. 
Specified by:
createDocumentFragment in interface org.w3c.dom.Document
Returns:
null

createTextNode

public org.w3c.dom.Text createTextNode(java.lang.String data)
Deprecated. 
Specified by:
createTextNode in interface org.w3c.dom.Document
Returns:
null

createComment

public org.w3c.dom.Comment createComment(java.lang.String data)
Deprecated. 
Specified by:
createComment in interface org.w3c.dom.Document
Returns:
null

createCDATASection

public org.w3c.dom.CDATASection createCDATASection(java.lang.String data)
                                            throws org.w3c.dom.DOMException
Deprecated. 
Specified by:
createCDATASection in interface org.w3c.dom.Document
Returns:
null
Throws:
org.w3c.dom.DOMException

createProcessingInstruction

public org.w3c.dom.ProcessingInstruction createProcessingInstruction(java.lang.String target,
                                                                     java.lang.String data)
                                                              throws org.w3c.dom.DOMException
Deprecated. 
Specified by:
createProcessingInstruction in interface org.w3c.dom.Document
Returns:
null
Throws:
org.w3c.dom.DOMException

createAttribute

public org.w3c.dom.Attr createAttribute(java.lang.String name)
                                 throws org.w3c.dom.DOMException
Deprecated. 
Specified by:
createAttribute in interface org.w3c.dom.Document
Returns:
null
Throws:
org.w3c.dom.DOMException

createEntityReference

public org.w3c.dom.EntityReference createEntityReference(java.lang.String name)
                                                  throws org.w3c.dom.DOMException
Deprecated. 
Specified by:
createEntityReference in interface org.w3c.dom.Document
Returns:
null
Throws:
org.w3c.dom.DOMException

getElementsByTagName

public org.w3c.dom.NodeList getElementsByTagName(java.lang.String tagname)
Deprecated. 
Specified by:
getElementsByTagName in interface org.w3c.dom.Document

importNode

public org.w3c.dom.Node importNode(org.w3c.dom.Node importedNode,
                                   boolean deep)
                            throws org.w3c.dom.DOMException
Deprecated. 
Specified by:
importNode in interface org.w3c.dom.Document
Returns:
null
Throws:
org.w3c.dom.DOMException

createElementNS

public org.w3c.dom.Element createElementNS(java.lang.String namespaceURI,
                                           java.lang.String qualifiedName)
                                    throws org.w3c.dom.DOMException
Deprecated. 
Specified by:
createElementNS in interface org.w3c.dom.Document
Returns:
null
Throws:
org.w3c.dom.DOMException

createAttributeNS

public org.w3c.dom.Attr createAttributeNS(java.lang.String namespaceURI,
                                          java.lang.String qualifiedName)
                                   throws org.w3c.dom.DOMException
Deprecated. 
Specified by:
createAttributeNS in interface org.w3c.dom.Document
Returns:
null
Throws:
org.w3c.dom.DOMException

getElementsByTagNameNS

public org.w3c.dom.NodeList getElementsByTagNameNS(java.lang.String namespaceURI,
                                                   java.lang.String localName)
Deprecated. 
Specified by:
getElementsByTagNameNS in interface org.w3c.dom.Document
Returns:
null

getElementById

public org.w3c.dom.Element getElementById(java.lang.String elementId)
Deprecated. 
Specified by:
getElementById in interface org.w3c.dom.Document

getNodeName

public java.lang.String getNodeName()
Deprecated. 
Specified by:
getNodeName in interface org.w3c.dom.Node
Specified by:
getNodeName in class SXPNode
Returns:
"#document"

getNodeValue

public java.lang.String getNodeValue()
                              throws org.w3c.dom.DOMException
Deprecated. 
Specified by:
getNodeValue in interface org.w3c.dom.Node
Specified by:
getNodeValue in class SXPNode
Returns:
null
Throws:
org.w3c.dom.DOMException

setNodeValue

public void setNodeValue(java.lang.String nodeValue)
                  throws org.w3c.dom.DOMException
Deprecated. 
do nothing as document haven't node value

Specified by:
setNodeValue in interface org.w3c.dom.Node
Specified by:
setNodeValue in class SXPNode
Throws:
org.w3c.dom.DOMException

getNodeType

public short getNodeType()
Deprecated. 
Specified by:
getNodeType in interface org.w3c.dom.Node
Specified by:
getNodeType in class SXPNode
Returns:
Node.DOCUMENT_NODE

getOwnerDocument

public org.w3c.dom.Document getOwnerDocument()
Deprecated. 
Specified by:
getOwnerDocument in interface org.w3c.dom.Node
Overrides:
getOwnerDocument in class SXPNode
Returns:
this

hasAttributes

public boolean hasAttributes()
Deprecated. 
Specified by:
hasAttributes in interface org.w3c.dom.Node
Specified by:
hasAttributes in class SXPNode
Returns:
false

TPTP 4.5.0 Platform Project
Internal API Specification