The PMapper class determines pharmacophore features for each atom in a molecule. These features are defines in a configuration XML.
The PMapper API is fairly simple: first create a PMapper object by setting the configuration in the constructor, then get the feature map in form of a PMap object by calling the createFeatureMap(Molecule target) method.
A typical API usage example can be found in the PMapper class header.