org.alfresco.web.config
Class NodeTypeEvaluator

java.lang.Object
  extended by org.alfresco.web.config.NodeTypeEvaluator
All Implemented Interfaces:
org.springframework.extensions.config.evaluator.Evaluator

public class NodeTypeEvaluator
extends java.lang.Object
implements org.springframework.extensions.config.evaluator.Evaluator

Evaluator that determines whether a given object has a particular node type


Constructor Summary
NodeTypeEvaluator()
           
 
Method Summary
 boolean applies(java.lang.Object obj, java.lang.String condition)
          Determines whether the given node type matches the path of the given object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeTypeEvaluator

public NodeTypeEvaluator()
Method Detail

applies

public boolean applies(java.lang.Object obj,
                       java.lang.String condition)
Determines whether the given node type matches the path of the given object

Specified by:
applies in interface org.springframework.extensions.config.evaluator.Evaluator
See Also:
Evaluator.applies(java.lang.Object, java.lang.String)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.