Class DefaultExpressionReplacer

java.lang.Object
org.jboss.metadata.property.DefaultExpressionReplacer
All Implemented Interfaces:
PropertyReplacer

public class DefaultExpressionReplacer extends Object implements PropertyReplacer
PropertyReplacer that can deal with nested expressions and with recursively resolution in cases where expression resolves to another expression.
Author:
Brian Stansberry (c) 2014 Red Hat Inc.
  • Method Details

    • replaceProperties

      public String replaceProperties(String text)
      Description copied from interface: PropertyReplacer
      Replace any properties found within the text provided.
      Specified by:
      replaceProperties in interface PropertyReplacer
      Parameters:
      text - Text to replace properties within
      Returns:
      The text with properties replaced