ccc.client.gwt.validation
Class Validations

java.lang.Object
  extended by ccc.client.validation.AbstractValidations
      extended by ccc.client.gwt.validation.Validations

public final class Validations
extends AbstractValidations

Client side validations library.

Author:
Civic Computing Ltd.

Field Summary
 
Fields inherited from class ccc.client.validation.AbstractValidations
MAX_NUMBER_OF_PARAGRAPHS, MIN_PASSWORD_LENGTH, NO_BRACKETS, UI_CONSTANTS, UI_MESSAGES, VALID_CHARACTERS, VALID_PASSWORD_CHARACTERS, VALID_URL, VALID_USERNAME_CHARACTERS
 
Constructor Summary
Validations()
           
 
Method Summary
 java.lang.String notValidXML(java.lang.String definition)
          Validates that xml is valid.
 
Methods inherited from class ccc.client.validation.AbstractValidations
emptyOrNumber, matchingPasswords, minLength, noBrackets, notEmpty, notValidEmail, notValidResourceName, notValidURL, notValidUserName, passwordStrength, reportErrors, validateMetadataValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Validations

public Validations()
Method Detail

notValidXML

public java.lang.String notValidXML(java.lang.String definition)
Validates that xml is valid.

Specified by:
notValidXML in class AbstractValidations
Parameters:
definition - The string to validate.
Returns:
The error message as a string or NULL if the value is valid.


Copyright © 2010. All Rights Reserved.