final class RelaxedNames extends java.lang.Object implements java.lang.Iterable
Generates relaxed name variations from a given source.
Modifiers | Name | Description |
---|---|---|
enum |
RelaxedNames.Manipulation |
Name manipulations. |
enum |
RelaxedNames.Variation |
Name variations. |
Modifiers | Name | Description |
---|---|---|
private static java.util.regex.Pattern |
CAMEL_CASE_PATTERN |
|
private static java.util.regex.Pattern |
SEPARATED_TO_CAMEL_CASE_PATTERN |
|
private java.lang.String |
name |
|
private java.util.Set<java.lang.String> |
values |
Constructor and description |
---|
RelaxedNames
(java.lang.String name) Create a new RelaxedNames instance. |
Type Params | Return Type | Name and description |
---|---|---|
|
private void |
initialize(java.lang.String name, java.util.Set<java.lang.String> values) |
|
public java.util.Iterator<java.lang.String> |
iterator() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Create a new RelaxedNames instance.
name
- the source name. For the maximum number of variations specify the name
using dashed notation (e.g. my-property-name