org.xmlcml.cml
Interface CMLDocument

All Known Subinterfaces:
JME, MDLMol, NonCMLDocument, SDF, SMILES, XYZ
All Known Implementing Classes:
CMLDocumentImpl

public interface CMLDocument
extends PMRDocument

The interface for any CML Document objects


Field Summary
static java.lang.String PACKAGE_NAME
          the package name
 
Fields inherited from interface uk.co.demon.ursus.dom.PMRDocument
PACKAGENAME
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Method Summary
 void debug(java.io.Writer w)
          output debug info to Writer and return String equivalent (e.g.
 Molecule getMolecule()
          returns the first Molecule in the document or null if none
 
Methods inherited from interface org.w3c.dom.Document
createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, getDoctype, getDocumentElement, getElementById, getElementsByTagName, getElementsByTagNameNS, getImplementation, importNode
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasChildNodes, insertBefore, normalize, removeChild, replaceChild, setNodeValue, setPrefix, supports
 

Field Detail

PACKAGE_NAME

public static final java.lang.String PACKAGE_NAME
the package name
Method Detail

getMolecule

public Molecule getMolecule()
returns the first Molecule in the document or null if none
Returns:
Molecule the molecule

debug

public void debug(java.io.Writer w)
           throws java.io.IOException
output debug info to Writer and return String equivalent (e.g. with new StringWriter()
Parameters:
Writer - w Writer to output to
Returns:
the String equivalent