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
- 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:
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
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
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
-