org.kuali.rice.kew.engine.node.var.schemes
Class XPathScheme

java.lang.Object
  extended by org.kuali.rice.kew.engine.node.var.schemes.XPathScheme
All Implemented Interfaces:
PropertyScheme

public class XPathScheme
extends Object
implements PropertyScheme

A PropertyScheme that resolves the Property by evaluating it as an XPath expression. DocumentRouteHeaderValue variables are set on the XPath instance so they are accessible.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
 
Fields inherited from interface org.kuali.rice.kew.engine.node.var.PropertyScheme
LITERAL_SCHEME, RESOURCE_SCHEME, SCHEMES, URL_SCHEME, VARIABLE_SCHEME, XPATH_SCHEME
 
Constructor Summary
XPathScheme()
           
 
Method Summary
 String getName()
          Scheme name
 String getShortName()
          Short scheme name
 Object load(Property property, RouteContext context)
          Loads/resolves a Property
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPathScheme

public XPathScheme()
Method Detail

getName

public String getName()
Description copied from interface: PropertyScheme
Scheme name

Specified by:
getName in interface PropertyScheme
Returns:
scheme name

getShortName

public String getShortName()
Description copied from interface: PropertyScheme
Short scheme name

Specified by:
getShortName in interface PropertyScheme
Returns:
short scheme name

load

public Object load(Property property,
                   RouteContext context)
Description copied from interface: PropertyScheme
Loads/resolves a Property

Specified by:
load in interface PropertyScheme
Parameters:
property - the property to resolve
context - the current RouteContext
Returns:
the loaded/resolved value


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.