public abstract class SingletonBase extends CommandBase {
public final void process() throws dbXMLException {
CollectionClient col = (CollectionClient)cl.getProperty(CommandLine.COLLECTION);
if ( col == null )
throw new dbXMLException("Collection context required");
if ( cl.hasMoreTokens() ) {
String argument = cl.getNextToken();
process(col, argument);
}
else
throw new dbXMLException(getArgumentName()+" is required");
}