|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.oclc.da.gdfr.registryprototype.validation.RefValidator
public class RefValidator
| Constructor Summary | |
|---|---|
RefValidator()
|
|
| Method Summary | |
|---|---|
static boolean |
isValid(Ref ref)
Validate the given ref. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RefValidator()
| Method Detail |
|---|
public static final boolean isValid(Ref ref)
ref. Refs are only allowed to have
alphanumeric characters, spaces, dashes and underscores in their names.
Empty or null values are not allowed. The number of
keys must match the number of values. The object values can only be
of type String or Ref.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||