Class SimpleExpressionResolver.ResolutionResult
java.lang.Object
org.jboss.metadata.property.SimpleExpressionResolver.ResolutionResult
- Enclosing interface:
SimpleExpressionResolver
The result of
resolving some expression content.- Author:
- Brian Stansberry (c) 2014 Red Hat Inc.
-
Constructor Summary
ConstructorsConstructorDescriptionResolutionResult(String value, boolean isDefault) Creates a new ResolutionResult. -
Method Summary
-
Constructor Details
-
ResolutionResult
Creates a new ResolutionResult.- Parameters:
value- the resolved value. Cannot benull.isDefault-trueifvaluewas a default value encoded in the expression content;falseotherwise
-
-
Method Details
-
getValue
-
isDefault
public boolean isDefault()Gets whether the resolved value represents some sort of default value that was embedded in the expression content; e.g.defaultValuein a traditional JBoss AS style expression with syntaxpropertyName[,propertyName]*[:defaultValue].- Returns:
trueif the value is a default value.
-