Package org.openscience.cdk.libio.cml
Class MDMoleculeCustomizer
- java.lang.Object
-
- org.openscience.cdk.libio.cml.MDMoleculeCustomizer
-
- All Implemented Interfaces:
ICMLCustomizer
public class MDMoleculeCustomizer extends Object implements ICMLCustomizer
Customize persistence of MDMolecule by adding support for residues and charge groups.- Author:
- ola
- Source code:
- main
- Belongs to CDK module:
- libiomd
- Belongs to the set:
- libio-cml-customizers
-
-
Constructor Summary
Constructors Constructor Description MDMoleculeCustomizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcustomize(IAtomContainer molecule, Object nodeToAdd)Customize Molecule.voidcustomize(IAtom atom, Object nodeToAdd)Customize Atom.voidcustomize(IBond bond, Object nodeToAdd)No customization for bonds.
-
-
-
Method Detail
-
customize
public void customize(IBond bond, Object nodeToAdd) throws Exception
No customization for bonds.- Specified by:
customizein interfaceICMLCustomizer- Parameters:
bond- Bond to base the customization onnodeToAdd- XOM Element to customize- Throws:
Exception- thrown if nodeToAdd is not an instance of nu.xom.Element
-
customize
public void customize(IAtom atom, Object nodeToAdd) throws Exception
Customize Atom.- Specified by:
customizein interfaceICMLCustomizer- Parameters:
atom- Atom to base the customization onnodeToAdd- XOM Element to customize- Throws:
Exception- thrown if nodeToAdd is not an instance of nu.xom.Element
-
customize
public void customize(IAtomContainer molecule, Object nodeToAdd) throws Exception
Customize Molecule.- Specified by:
customizein interfaceICMLCustomizer- Parameters:
molecule- Molecule to base the customization onnodeToAdd- XOM Element to customize- Throws:
Exception- thrown if nodeToAdd is not an instance of nu.xom.Element
-
-