public class PDBAtomCustomizer extends Object implements ICMLCustomizer
Constructor and Description |
---|
PDBAtomCustomizer() |
Modifier and Type | Method and 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.
|
public void customize(IAtom atom, Object nodeToAdd) throws Exception
ICMLCustomizer
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
ICMLCustomizer
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.Elementpublic void customize(IBond bond, Object nodeToAdd) throws Exception
ICMLCustomizer
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.ElementCopyright © 2021. All rights reserved.