org.jboss.metadata.property
Class CompatibilityExpressionResolver
java.lang.Object
org.jboss.metadata.property.CompatibilityExpressionResolver
- All Implemented Interfaces:
- SimpleExpressionResolver
public class CompatibilityExpressionResolver
- extends Object
- implements SimpleExpressionResolver
Converts between PropertyResolver by delegating the
resolveExpressionContent(String) call to a provided PropertyResolver.
- Author:
- Brian Stansberry (c) 2014 Red Hat Inc.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompatibilityExpressionResolver
public CompatibilityExpressionResolver(PropertyResolver propertyResolver)
resolveExpressionContent
public SimpleExpressionResolver.ResolutionResult resolveExpressionContent(String expressionContent)
- Description copied from interface:
SimpleExpressionResolver
- Resolve the given expression content. The following guarantees are made with regard to the content:
- The content is the entire string that was included between a leading "${" and a trailing "}".
- The content itself does not include the leading "${" and trailing "}".
- The content itself does not include any other "${" and trailing "}", i.e. there is no nested expression.
- Specified by:
resolveExpressionContent in interface SimpleExpressionResolver
- Parameters:
expressionContent - the string that was between the leading "${"and trailing "}" in an expression
- Returns:
- the result of the resolution, or
null if the expression content could not be resolved.
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.