}
}
private void execOne(String updateString)
{
UpdateRequest req ;
try {
req = UpdateFactory.create(updateString, updateSyntax) ;
} catch (QueryParseException ex)
{
System.err.print("Parse error: ") ;
System.err.println(ex.getMessage()) ;
return ;
}
//req.output(IndentedWriter.stderr) ;
if ( printUpdate )
System.out.print(req) ;
if ( printNone )
return ;
// And some checking.
IndentedLineBuffer w = new IndentedLineBuffer() ;
UpdateWriter.output(req, w) ;
String updateString2 = w.asString() ;
UpdateRequest req2 = null ;
try {
req2 = UpdateFactory.create(updateString2, updateSyntax) ;
} catch (QueryParseException ex)
{
System.err.println("Can not reparse update after serialization") ;