Class WhereCompiler
- java.lang.Object
-
- org.alfresco.rest.framework.resource.parameters.where.WhereCompiler
-
public class WhereCompiler extends Object
Processes a String expression using Antlr, it uses the Where grammar for the public api.
-
-
Constructor Summary
Constructors Constructor Description WhereCompiler()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.antlr.runtime.tree.CommonTreecompileSelectClause(String selectParam)static org.antlr.runtime.tree.CommonTreecompileWhereClause(String expression)static StringresolveMessage(org.antlr.runtime.RecognitionException exception)Returns a message based on the information in the RecognitionException
-
-
-
Method Detail
-
compileWhereClause
public static org.antlr.runtime.tree.CommonTree compileWhereClause(String expression) throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
compileSelectClause
public static org.antlr.runtime.tree.CommonTree compileSelectClause(String selectParam) throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
resolveMessage
public static String resolveMessage(org.antlr.runtime.RecognitionException exception)
Returns a message based on the information in the RecognitionException- Parameters:
exception- RecognitionException- Returns:
- String explaining the error
-
-