public class MDMoleculeCustomizer extends Object implements ICMLCustomizer
Constructor and Description |
---|
MDMoleculeCustomizer() |
Modifier and Type | Method and Description |
---|---|
void |
customize(IAtomContainer molecule,
Object nodeToAdd)
Customize Molecule.
|
void |
customize(IAtom atom,
Object nodeToAdd)
Customize Atom.
|
void |
customize(IBond bond,
Object nodeToAdd)
No customization for bonds.
|
public void customize(IBond bond, Object nodeToAdd) throws Exception
customize
in interface ICMLCustomizer
bond
- Bond to base the customization onnodeToAdd
- XOM Element to customizeException
- thrown if nodeToAdd is not an instance of nu.xom.Elementpublic void customize(IAtom atom, Object nodeToAdd) throws Exception
customize
in interface ICMLCustomizer
atom
- Atom to base the customization onnodeToAdd
- XOM Element to customizeException
- thrown if nodeToAdd is not an instance of nu.xom.Elementpublic void customize(IAtomContainer molecule, Object nodeToAdd) throws Exception
customize
in interface ICMLCustomizer
molecule
- Molecule to base the customization onnodeToAdd
- XOM Element to customizeException
- thrown if nodeToAdd is not an instance of nu.xom.ElementCopyright © 2018. All Rights Reserved.