public void toEPL(StringWriter writer){
  writer.write(windowName);
  if (optionalAsName != null) {
    writer.write(" as ");
    writer.write(optionalAsName);
  }
  writer.write(" ");
  UpdateClause.renderEPLAssignments(writer,assignments);
}

public void toEPL ( StringWriter writer ) { writer . write ( windowName ) ; if ( optionalAsName != null ) { writer . write ( " as " ) ; writer . write ( optionalAsName ) ; } writer . write ( " " ) ; UpdateClause . renderEPLAssignments ( writer , assignments ) ; }
renders the clause in textual representation .
