Class PDBAtomCustomizer

  • All Implemented Interfaces:
    ICMLCustomizer

    public class PDBAtomCustomizer
    extends Object
    implements ICMLCustomizer
    ICMLCustomizer for the libio-cml Convertor to be able to export details for IPDBAtom's.
    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 Detail

      • PDBAtomCustomizer

        public PDBAtomCustomizer()
    • 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 interface ICMLCustomizer
        Parameters:
        atom - Atom to base the customization on
        nodeToAdd - 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 interface ICMLCustomizer
        Parameters:
        molecule - Molecule to base the customization on
        nodeToAdd - 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 interface ICMLCustomizer
        Parameters:
        bond - Bond to base the customization on
        nodeToAdd - XOM Element to customize
        Throws:
        Exception - thrown if nodeToAdd is not an instance of nu.xom.Element