Packagecom.ithaca.timeline
Classpublic class SelectorRegexp
InheritanceSelectorRegexp Inheritance Object
Implements ISelector

The SelectorRegexp class implements the ISelector interface. It is defined by two properties: field and _regexp. The selector checks if the obsel property named 'field' is matching the regular expression defined by '_regexp'.

See also

ISelector


Public Properties
 PropertyDefined By
  field : String
SelectorRegexp
  regexp : String
SelectorRegexp
Public Methods
 MethodDefined By
  
SelectorRegexp(params:String = null)
Instanciate a new SelectorRegexp The parameters syntax is a comma-separated list with two elements: field and regexp.
SelectorRegexp
  
getMatchingObsels(obselsArray:Array):Array
SelectorRegexp
  
getParameters():String
SelectorRegexp
  
isEqual(selector:ISelector):Boolean
SelectorRegexp
  
isObselMatching(obsel:Obsel):Boolean
SelectorRegexp
  
setParameters(params:String):void
SelectorRegexp
Property Detail
fieldproperty
public var field:String

regexpproperty 
regexp:String


Implementation
    public function get regexp():String
    public function set regexp(value:String):void
Constructor Detail
SelectorRegexp()Constructor
public function SelectorRegexp(params:String = null)

Instanciate a new SelectorRegexp The parameters syntax is a comma-separated list with two elements: field and regexp. For instance, "type,Message" matches all obsels whose type attribute contains the string "Message".

Parameters
params:String (default = null)
Method Detail
getMatchingObsels()method
public function getMatchingObsels(obselsArray:Array):Array

Parameters

obselsArray:Array

Returns
Array
getParameters()method 
public function getParameters():String

Returns
String
isEqual()method 
public function isEqual(selector:ISelector):Boolean

Parameters

selector:ISelector

Returns
Boolean
isObselMatching()method 
public function isObselMatching(obsel:Obsel):Boolean

Parameters

obsel:Obsel

Returns
Boolean
setParameters()method 
public function setParameters(params:String):void

Parameters

params:String