JBoss Metadata Common 7.0.4.Final-redhat-1

org.jboss.metadata.property
Class PropertyReplacers

java.lang.Object
  extended by org.jboss.metadata.property.PropertyReplacers

public class PropertyReplacers
extends Object

Author:
John Bailey

Constructor Summary
PropertyReplacers()
           
 
Method Summary
static PropertyReplacer noop()
          Return a replacer that functions as a no-op.
static PropertyReplacer resolvingReplacer(PropertyResolver resolver)
          Return a PropertyReplacer that uses the provided PropertyResolver to resolver any properties found in the text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyReplacers

public PropertyReplacers()
Method Detail

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

JBoss Metadata Common 7.0.4.Final-redhat-1

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