|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.databinder.data.Nameable
public class Nameable
Foundation for objects that generate names based on string properties.
| Field Summary | |
|---|---|
protected static java.util.regex.Pattern |
nonWords
|
protected static java.util.regex.Pattern |
spaces
|
| Constructor Summary | |
|---|---|
Nameable()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
stringIdFor(java.lang.String string)
Converts string to lowercase with spaces as hyphens and other non-word charters removed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static java.util.regex.Pattern spaces
protected static java.util.regex.Pattern nonWords
| Constructor Detail |
|---|
public Nameable()
| Method Detail |
|---|
public static java.lang.String stringIdFor(java.lang.String string)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||