public final class PropertyParser
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
currentToken |
protected java.lang.String |
currentTokenValue |
protected int |
currentUnitLength |
Modifier and Type | Method and Description |
---|---|
static Property |
parse(java.lang.String expr,
PropertyInfo propInfo)
Public entrypoint to the Property expression parser.
|
protected int currentToken
protected java.lang.String currentTokenValue
protected int currentUnitLength
public static Property parse(java.lang.String expr, PropertyInfo propInfo) throws PropertyException
expr
- The specified value (attribute on the xml element).propInfo
- A PropertyInfo object representing the context in
which the property expression is to be evaluated.PropertyException
- If the "expr" cannot be parsed as a Property.Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.