public abstract class SerializerBase<S extends SerializerBase<S>> extends Object implements Visitor<Void,Void>
Constructor and Description |
---|
SerializerBase(Templates templates) |
public SerializerBase(Templates templates)
protected String getConstantPrefix()
public int getLength()
public final S handle(Expression<?> expr)
public final S handle(String sep, Expression<?>[] expressions)
public final boolean serialize(QueryFlag.Position position, Set<QueryFlag> flags)
public final boolean serialize(JoinFlag.Position position, Set<JoinFlag> flags)
public void setConstantPrefix(String prefix)
public void setParamPrefix(String prefix)
public void setAnonParamPrefix(String prefix)
public void setNormalize(boolean normalize)
public void setStrict(boolean strict)
public void visitConstant(Object constant)
public Void visit(ParamExpression<?> param, Void context)
public Void visit(TemplateExpression<?> expr, Void context)
public Void visit(FactoryExpression<?> expr, Void context)
protected void visitOperation(Class<?> type, Operator<?> operator, List<? extends Expression<?>> args)
Copyright © 2007–2015 Mysema Ltd. All rights reserved.