org.jboss.metadata.property
Class PropertyReplacers
java.lang.Object
org.jboss.metadata.property.PropertyReplacers
public class PropertyReplacers
- extends Object
- Author:
- John Bailey
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyReplacers
public PropertyReplacers()
noop
public static PropertyReplacer noop()
- Return a replacer that functions as a no-op.
- Returns:
- replacer
resolvingReplacer
public static PropertyReplacer resolvingReplacer(PropertyResolver resolver)
- Return a
PropertyReplacer
that uses the provided PropertyResolver
to resolver any properties found in the text.
- Parameters:
resolver
- The resolver used for any properties being replaced
- Returns:
- The replacer
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.