JBoss Metadata Common 7.2.2.Final

org.jboss.metadata.property
Class DefaultExpressionReplacer

java.lang.Object
  extended by 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 Summary
 String replaceProperties(String text)
          Replace any properties found within the text provided.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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

JBoss Metadata Common 7.2.2.Final

Copyright © 2015 JBoss by Red Hat. All Rights Reserved.