org.jasig.portal.layout.dlm.providers
Class AllUsersEvaluatorFactory

java.lang.Object
  extended by org.jasig.portal.layout.dlm.Evaluator
      extended by org.jasig.portal.layout.dlm.providers.AllUsersEvaluatorFactory
All Implemented Interfaces:
EvaluatorFactory

public class AllUsersEvaluatorFactory
extends Evaluator
implements EvaluatorFactory

Used to target a fragment to all users of the system including guest users.

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

Field Summary
static String RCS_ID
           
 
Fields inherited from class org.jasig.portal.layout.dlm.Evaluator
NAMESPACE_URI
 
Constructor Summary
AllUsersEvaluatorFactory()
           
 
Method Summary
 Evaluator getEvaluator(Node audience)
           
 Class<? extends EvaluatorFactory> getFactoryClass()
           
 boolean isApplicable(IPerson p)
           
 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
Constructor Detail

AllUsersEvaluatorFactory

public AllUsersEvaluatorFactory()
Method Detail

getEvaluator

public Evaluator getEvaluator(Node audience)
Specified by:
getEvaluator in interface EvaluatorFactory

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.