net.sf.octet.query
Interface MoleculeQueryStrategy
- All Superinterfaces:
- ConfigurationComparator, ConformationComparator, IsomorphismTraverser
- All Known Implementing Classes:
- BilateralQueryStrategy, UnilateralQueryStrategy
- public interface MoleculeQueryStrategy
- extends IsomorphismTraverser, ConfigurationComparator, ConformationComparator
A strategy for MoleculeQueries. Concrete implementations of
MoleculeQueryStrategy can be used to dynamically compose query
behavior at runtime, reducing the need to subclass
MoleculeQuery implementations.
- Author:
- Richard Apodaca
- See Also:
- "Strategy Pattern (GoF95)"
createAtomQuery
public AtomQuery createAtomQuery(Atom atom,
Molecule molecule)
- Creates an
AtomQuery for atom in the context
of molecule.
- Parameters:
atom - the atom after which the AtomQuery will be modeledmolecule - the context of atom
- Returns:
- a fully-functional AtomQuery based on the properties of atom