// Raw conversion parsing was already specified earlier. We just need a
// method for binding the RawConversionSettings object to instance
digester.addObjectCreate( "*/instance/raw-conversion", RawSettingsFactory.class );
digester.addRule( "*/instance/raw-conversion", new Rule() {
public void end( String namespace, String name ) {
ImageInstance i = (ImageInstance)digester.peek(1);
RawSettingsFactory f = (RawSettingsFactory) digester.peek();
try {
i.setRawSettings( f.create() );
} catch (PhotovaultException ex) {
digester.createSAXException( ex );