org.jasig.portal.layout.dlm.providers
Class AttributeEvaluator
java.lang.Object
org.jasig.portal.layout.dlm.Evaluator
org.jasig.portal.layout.dlm.providers.AttributeEvaluator
public class AttributeEvaluator
- extends Evaluator
- Since:
- uPortal 2.5
- Version:
- $Revision: 19776 $ $Date: 2010-01-14 16:17:21 -0600 (Thu, 14 Jan 2010) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RCS_ID
public static final String RCS_ID
- See Also:
- Constant Field Values
CONTAINS
public static final int CONTAINS
- See Also:
- Constant Field Values
EQUALS
public static final int EQUALS
- See Also:
- Constant Field Values
STARTS_WITH
public static final int STARTS_WITH
- See Also:
- Constant Field Values
ENDS_WITH
public static final int ENDS_WITH
- See Also:
- Constant Field Values
EXISTS
public static final int EXISTS
- See Also:
- Constant Field Values
mode
protected int mode
name
protected String name
value
protected String value
AttributeEvaluator
public AttributeEvaluator()
- Zero-arg constructor required by JPA. Other Java code should not use it.
AttributeEvaluator
public AttributeEvaluator(String name,
String mode,
String value)
isApplicable
public boolean isApplicable(IPerson p)
- Specified by:
isApplicable in class Evaluator
toElement
public void toElement(org.dom4j.Element parent)
- Description copied from class:
Evaluator
- Serializes this
Evaluator into the same XML format supported
by dlm.xml. NOTE: this method will only yield usable XML if
invoked on an instance of FragmentDefinition; all other
subclasses will return only XML fragments.
- Specified by:
toElement in class Evaluator
- Parameters:
parent - The XML structure (starting with <dlm:fragment>) so far
getFactoryClass
public Class<? extends EvaluatorFactory> getFactoryClass()
- Specified by:
getFactoryClass in class Evaluator
Copyright © 2010 Jasig. All Rights Reserved.