|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.event.property.PropertyParser
public class PropertyParser
Parser for property names that can be simple, nested, mapped or a combination of these. Uses ANTLR parser to parse.
Constructor Summary | |
---|---|
PropertyParser()
|
Method Summary | |
---|---|
static boolean |
isPropertyDynamic(org.antlr.runtime.tree.Tree ast)
Returns true if the property is a dynamic property. |
static org.antlr.runtime.tree.Tree |
parse(java.lang.String propertyName)
Parses a given property name returning an AST. |
static Property |
parse(java.lang.String propertyName,
boolean isRootedDynamic)
Parse the given property name returning a Property instance for the property. |
static java.lang.String |
unescapeBacktick(java.lang.String unescapedPropertyName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyParser()
Method Detail |
---|
public static Property parse(java.lang.String propertyName, boolean isRootedDynamic)
propertyName
- is the property name to parseisRootedDynamic
- is true to indicate that the property is already rooted in a dynamic
property and therefore all child properties should be dynamic properties as well
public static org.antlr.runtime.tree.Tree parse(java.lang.String propertyName)
propertyName
- to parse
public static boolean isPropertyDynamic(org.antlr.runtime.tree.Tree ast)
ast
- property ast
public static java.lang.String unescapeBacktick(java.lang.String unescapedPropertyName)
|
© 2006-2011 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |