org.springframework.boot.bind
Class RelaxedNames

java.lang.Object
  extended by org.springframework.boot.bind.RelaxedNames
All Implemented Interfaces:
Iterable<String>

public final class RelaxedNames
extends Object
implements Iterable<String>

Generates relaxed name variations from a given source.

Author:
Phillip Webb, Dave Syer
See Also:
RelaxedDataBinder, RelaxedPropertyResolver

Constructor Summary
RelaxedNames(String name)
          Create a new RelaxedNames instance.
 
Method Summary
 Iterator<String> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelaxedNames

public RelaxedNames(String name)
Create a new RelaxedNames instance.

Parameters:
name - the source name. For the maximum number of variations specify the name using dashed notation (e.g. my-property-name
Method Detail

iterator

public Iterator<String> iterator()
Specified by:
iterator in interface Iterable<String>


Copyright © 2013. All Rights Reserved.