|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.intel.gpe.gridbeans.plugins.validators.NCNameValueValidator
public class NCNameValueValidator
This validator checks if the supplied string satisfies the xsd:NCName restrictions.
Constructor Summary | |
---|---|
NCNameValueValidator()
|
Method Summary | |
---|---|
static IValueValidator |
getInstance()
|
boolean |
isValid(java.lang.Object value,
java.lang.StringBuffer reason)
Validate the value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NCNameValueValidator()
Method Detail |
---|
public boolean isValid(java.lang.Object value, java.lang.StringBuffer reason)
IValueValidator
isValid
in interface IValueValidator
value
- The valuereason
- The reson of the validation failure (if any)
true
if the value is validpublic static IValueValidator getInstance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |