org.jasig.portal.layout.dlm
Class Evaluator

java.lang.Object
  extended by org.jasig.portal.layout.dlm.Evaluator
Direct Known Subclasses:
AllUsersEvaluatorFactory, AttributeEvaluator, FragmentDefinition, GroupMembershipEvaluator, GuestUserEvaluatorFactory, Paren

public abstract class Evaluator
extends Object

Since:
uPortal 2.5
Version:
$Revision: 19776 $ $Date: 2010-01-14 16:17:21 -0600 (Thu, 14 Jan 2010) $

Field Summary
static String NAMESPACE_URI
           
static String RCS_ID
           
 
Constructor Summary
Evaluator()
           
 
Method Summary
abstract  Class<? extends EvaluatorFactory> getFactoryClass()
           
abstract  boolean isApplicable(IPerson person)
           
abstract  void toElement(org.dom4j.Element parent)
          Serializes this Evaluator into the same XML format supported by dlm.xml.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RCS_ID

public static final String RCS_ID
See Also:
Constant Field Values

NAMESPACE_URI

public static final String NAMESPACE_URI
See Also:
Constant Field Values
Constructor Detail

Evaluator

public Evaluator()
Method Detail

isApplicable

public abstract boolean isApplicable(IPerson person)

toElement

public abstract void toElement(org.dom4j.Element parent)
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.

Parameters:
parent - The XML structure (starting with <dlm:fragment>) so far

getFactoryClass

public abstract Class<? extends EvaluatorFactory> getFactoryClass()


Copyright © 2010 Jasig. All Rights Reserved.