Class WhereCompiler
- java.lang.Object
-
- org.alfresco.rest.framework.resource.parameters.where.WhereCompiler
-
public class WhereCompiler extends java.lang.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.CommonTree
compileSelectClause(java.lang.String selectParam)
static org.antlr.runtime.tree.CommonTree
compileWhereClause(java.lang.String expression)
static java.lang.String
resolveMessage(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(java.lang.String expression) throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
compileSelectClause
public static org.antlr.runtime.tree.CommonTree compileSelectClause(java.lang.String selectParam) throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
resolveMessage
public static java.lang.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
-
-