final GuidedDecisionTable52 model = GuidedDTXMLPersistence.getInstance().unmarshal( content );
final Project project = projectService.resolveProject( Paths.convert( path ) );
final Package pkg = projectService.resolvePackage( Paths.convert( path ) );
final DefaultIndexBuilder builder = new DefaultIndexBuilder( project,
pkg );
final GuidedDecisionTableModelIndexVisitor visitor = new GuidedDecisionTableModelIndexVisitor( builder,
model );
visitor.visit();
index = KObjectUtil.toKObject( path,
builder.build() );
} catch ( Exception e ) {
logger.error( "Unable to index '" + path.toUri().toString() + "'.",
e.getMessage() );
}