Package org.openscience.cdk.libio.cml
Class MDMoleculeCustomizer
java.lang.Object
org.openscience.cdk.libio.cml.MDMoleculeCustomizer
- All Implemented Interfaces:
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 -
Method Summary
-
Constructor Details
-
MDMoleculeCustomizer
public MDMoleculeCustomizer()
-
-
Method Details
-
customize
No customization for bonds.- Specified by:
customize
in 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
Customize Atom.- Specified by:
customize
in 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
Customize Molecule.- Specified by:
customize
in 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
-