// Absolute path to the commands.xml file, relative to $XINDICE_HOME
File xindiceHome = new File( System.getProperty( Xindice.PROP_XINDICE_HOME ) );
File commandsFile = new File( xindiceHome, "config/commands.xml" );
DOMParser parser = new DOMParser();
commandsDocument = parser.toDocument( new FileInputStream( commandsFile ) );
}
/**
* Carries out the initialization of the Commands List.
**/
protected abstract void initCommandsList();