@Override public Object visit(Literal expression,Object context) throws FilterToElasticException {
  LOGGER.finer("exporting LiteralExpression");
  Class target=null;
  if (context instanceof Class) {
    target=(Class)context;
  }
  try {
    Object literal=evaluateLiteral(expression,target);
    if (literal instanceof Geometry) {
      visitLiteralGeometry(filterFactory.literal(literal));
    }
 else {
      writeLiteral(literal);
    }
  }
 catch (  IOException e) {
    throw new FilterToElasticException("IO problems writing literal",e);
  }
  return context;
}

@ Override public Object visit ( Literal expression , Object context ) throws FilterToElasticException { LOGGER . finer ( "exporting LiteralExpression" ) ; Class target = null ; if ( context instanceof Class ) { target = ( Class ) context ; } try { Object literal = evaluateLiteral ( expression , target ) ; if ( literal instanceof Geometry ) { visitLiteralGeometry ( filterFactory . literal ( literal ) ) ; } else { writeLiteral ( literal ) ; } } catch ( IOException e ) { throw new FilterToElasticException ( "IO problems writing literal" , e ) ; } return context ; }
export the contents of a literal expresion
