public Object referenceInsert(String reference,Object value){
  String s=null;
  if (value != null) {
    s=REFERENCE_VALUE;
  }
 else {
    if (reference.equals("$floobie")) {
      s=NO_REFERENCE_VALUE;
    }
  }
  return s;
}

public Object referenceInsert ( String reference , Object value ) { String s = null ; if ( value != null ) { s = REFERENCE_VALUE ; } else { if ( reference . equals ( "$floobie" ) ) { s = NO_REFERENCE_VALUE ; } } return s ; }
event handler for when a reference is inserted into the output stream .
