Packagenet.user1.reactor
Classpublic final class Validator
InheritanceValidator Inheritance Object

Since : Reactor 1.0.0

Provides a collection of validation methods used to check whether a roomID or attribute name is legally formed.



Public Methods
 MethodDefined By
  
isValidAttributeName(value:String):Boolean
[static] Returns true if the specified attribute name is legally formed.
Validator
  
isValidAttributeScope(value:String):Boolean
[static] Returns true if the specified client-attribute scope is legally formed.
Validator
  
isValidAttributeValue(value:String):Boolean
[static] Returns true if the specified attribute value is legally formed.
Validator
  
isValidModuleName(value:String):Boolean
[static] Returns true if the specified room module name is legally formed.
Validator
  
isValidPassword(value:String):Boolean
[static] Returns true if the specified password is legally formed.
Validator
  
isValidResolvedRoomID(value:String):Boolean
[static] Returns true if the specified value could legally be resolved to a single, specific room; false otherwise.
Validator
  
isValidRoomID(value:String):Boolean
[static] Returns true if the specified room ID (with no qualifier) is legally formed; false otherwise.
Validator
  
isValidRoomQualifier(value:String):Boolean
[static] Returns true if the specified room qualifier is legally formed; false otherwise.
Validator
Method Descriptions
isValidAttributeName()method
public static function isValidAttributeName(value:String):Boolean

Since : Reactor 1.0.0

Returns true if the specified attribute name is legally formed. An attribute name is invalid if:

Parameters

value:String

Returns
Boolean

See also

isValidAttributeScope()method 
public static function isValidAttributeScope(value:String):Boolean

Since : Reactor 1.0.0

Returns true if the specified client-attribute scope is legally formed. A client attribute scope is invalid if:

Parameters

value:String

Returns
Boolean

See also

isValidAttributeValue()method 
public static function isValidAttributeValue(value:String):Boolean

Since : Reactor 1.0.0

Returns true if the specified attribute value is legally formed. An attribute value is invalid if:

Parameters

value:String

Returns
Boolean

See also

isValidModuleName()method 
public static function isValidModuleName(value:String):Boolean

Since : Reactor 1.0.0

Returns true if the specified room module name is legally formed. A room module name is invalid if:

Parameters

value:String

Returns
Boolean

See also

isValidPassword()method 
public static function isValidPassword(value:String):Boolean

Since : Reactor 1.0.0

Returns true if the specified password is legally formed. A password is invalid if:

Parameters

value:String

Returns
Boolean

See also

isValidResolvedRoomID()method 
public static function isValidResolvedRoomID(value:String):Boolean

Since : Reactor 1.0.0

Returns true if the specified value could legally be resolved to a single, specific room; false otherwise. The supplied value is invalid if:

Parameters

value:String

Returns
Boolean

See also

isValidRoomID()method 
public static function isValidRoomID(value:String):Boolean

Since : Reactor 1.0.0

Returns true if the specified room ID (with no qualifier) is legally formed; false otherwise. An unqualified room ID is invalid if:

Parameters

value:String

Returns
Boolean

See also

isValidRoomQualifier()method 
public static function isValidRoomQualifier(value:String):Boolean

Since : Reactor 1.0.0

Returns true if the specified room qualifier is legally formed; false otherwise. A room qualifier is invalid if:

Parameters

value:String

Returns
Boolean

See also