Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.xmlcml.cml
Interface CMLAtomFactory  view CMLAtomFactory download CMLAtomFactory.java


public interface CMLAtomFactory

Creates CMLAtom of appropriate subclass


Method Summary
 CMLAtom createAtom(CMLMolecule molecule, java.lang.String atomId)
          create atom in Molecule context and add to Molecule
 CMLAtom createAtom(org.w3c.dom.Document document)
          create empty atom
 

Method Detail

createAtom

public CMLAtom createAtom(org.w3c.dom.Document document)
create empty atom


createAtom

public CMLAtom createAtom(CMLMolecule molecule,
                          java.lang.String atomId)
                   throws CMLException
create atom in Molecule context and add to Molecule