org.kuali.rice.krad.workflow.attribute
Class KualiXMLBooleanTranslatorSearchableAttributeImpl
java.lang.Object
org.kuali.rice.kew.docsearch.xml.StandardGenericXMLSearchableAttribute
org.kuali.rice.krad.workflow.attribute.KualiXmlSearchableAttributeImpl
org.kuali.rice.krad.workflow.attribute.KualiXMLBooleanTranslatorSearchableAttributeImpl
- All Implemented Interfaces:
- SearchableAttribute, KualiXmlAttribute
public class KualiXMLBooleanTranslatorSearchableAttributeImpl
- extends KualiXmlSearchableAttributeImpl
This is an XML KEW search attribute that can be used where the XML of the attribute has an xpath expression that returns a
boolean. This attribute takes that boolean expression and translates it into true and false values based on the
getValueForXPathTrueEvaluation()
and getValueForXPathFalseEvaluation()
method's return variables.
NOTE: This will not longer be necessary if the version of xPath being used is every upgrade to 2.x or higher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VALUE_FOR_TRUE
public static final String VALUE_FOR_TRUE
- See Also:
- Constant Field Values
VALUE_FOR_FALSE
public static final String VALUE_FOR_FALSE
- See Also:
- Constant Field Values
KualiXMLBooleanTranslatorSearchableAttributeImpl
public KualiXMLBooleanTranslatorSearchableAttributeImpl()
getConfigXML
public Element getConfigXML(ExtensionDefinition extensionDefinition)
- This overriden method does the translation of the given xPath expression from the XML definition of the attribute and
translates it into the true and false values based on the
getValueForXPathTrueEvaluation()
and
getValueForXPathFalseEvaluation()
method's return variables
- Specified by:
getConfigXML
in interface KualiXmlAttribute
- Overrides:
getConfigXML
in class KualiXmlSearchableAttributeImpl
getValueForXPathTrueEvaluation
public String getValueForXPathTrueEvaluation()
getValueForXPathFalseEvaluation
public String getValueForXPathFalseEvaluation()
Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.