Package org.openscience.cdk.libio.cml
Class PDBAtomCustomizer
- java.lang.Object
-
- org.openscience.cdk.libio.cml.PDBAtomCustomizer
-
- All Implemented Interfaces:
ICMLCustomizer
public class PDBAtomCustomizer extends Object implements ICMLCustomizer
- Author:
- egonw
- Source code:
- main
- Belongs to CDK module:
- pdbcml
- Belongs to the set:
- libio-cml-customizers
- Created on:
- 2005-05-04
- Requires:
- java1.5+
-
-
Constructor Summary
Constructors Constructor Description PDBAtomCustomizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
customize(IAtomContainer molecule, Object nodeToAdd)
Customized the nodeToAdd for the given Molecule.void
customize(IAtom atom, Object nodeToAdd)
Customized the nodeToAdd for the given Atom.void
customize(IBond bond, Object nodeToAdd)
Customized the nodeToAdd for the given IBond.
-
-
-
Method Detail
-
customize
public void customize(IAtom atom, Object nodeToAdd) throws Exception
Description copied from interface:ICMLCustomizer
Customized the nodeToAdd for the given 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
public void customize(IAtomContainer molecule, Object nodeToAdd) throws Exception
Description copied from interface:ICMLCustomizer
Customized the nodeToAdd for the given 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
-
customize
public void customize(IBond bond, Object nodeToAdd) throws Exception
Description copied from interface:ICMLCustomizer
Customized the nodeToAdd for the given IBond.- 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
-
-