uPortal 2.4.1
API Documentation

org.jasig.portal.groups.pags.testers
Class RegexTester

java.lang.Object
  extended byorg.jasig.portal.groups.pags.testers.BaseAttributeTester
      extended byorg.jasig.portal.groups.pags.testers.StringTester
          extended byorg.jasig.portal.groups.pags.testers.RegexTester
All Implemented Interfaces:
IPersonTester

public class RegexTester
extends StringTester

A tester for matching the possibly multiple values of an attribute against a regular expression. If any of the values matches the pattern, the tester returns true.

Version:
$Revision: 1.1 $
Author:
Dan Ellentuck

Constructor Summary
RegexTester(java.lang.String attribute, java.lang.String test)
           
 
Method Summary
 boolean test(java.lang.String att)
           
 
Methods inherited from class org.jasig.portal.groups.pags.testers.StringTester
test
 
Methods inherited from class org.jasig.portal.groups.pags.testers.BaseAttributeTester
asString, getAttributeName, getTestValue, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RegexTester

public RegexTester(java.lang.String attribute,
                   java.lang.String test)
Method Detail

test

public boolean test(java.lang.String att)
Overrides:
test in class StringTester

uPortal 2.4.1
API Documentation