Skip navigation links

Oracle BPEL Process Manager
Workflow Services API Reference
10g Release 3 (10.1.3)
B28985-02


oracle.bpel.services.workflow.metadata.routingslip
Class RoutingSlipUtil

java.lang.Object
  extended byoracle.bpel.services.common.util.AbstractJaxbUtil
      extended byoracle.bpel.services.workflow.metadata.routingslip.RoutingSlipUtil


public class RoutingSlipUtil
extends AbstractJaxbUtil

Method Summary
static boolean getBooleanValueForXPath(java.lang.String xpathExpr, Task task, RoutingSlip routingSlip)
          Get the boolean values for the XPath expression on the task
static org.exolab.types.Duration getExpirationDuration(java.lang.String expiration, Task task, RoutingSlip routingSlip)
          Get the expiration duration
static RoutingSlipUtil getInstance()
          Get the RoutingSlipUtil instance
 java.lang.String getJaxbContextString()
          Get the Jaxb Context String
static java.util.List getNodesForXPath(java.lang.String xpathExpr, Task task, RoutingSlip routingSlip)
          Get the node values for the XPath expression on the task
 java.lang.String getSchemaLocation()
          Get the XSD location.
static java.lang.String getStringValueForXPath(java.lang.String xpathExpr, Task task, RoutingSlip routingSlip)
          Get the string values for the XPath expression on the task

 

Methods inherited from class oracle.bpel.services.common.util.AbstractJaxbUtil
cloneObject, cloneObject, createURL, getAbsoluteSchemaLocation, getClassLoader, getSchemaValidationErrors, marshal, marshal, schemaValidate, toElement, toString, unmarshal, unmarshal, unmarshal, unmarshal

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getJaxbContextString

public java.lang.String getJaxbContextString()
Get the Jaxb Context String
Specified by:
getJaxbContextString in class AbstractJaxbUtil
Returns:
a String value

getSchemaLocation

public java.lang.String getSchemaLocation()
Get the XSD location. This location is a resource location string like A.xsd, a/b/C.xsd The actual file location is determined from the classpath
Specified by:
getSchemaLocation in class AbstractJaxbUtil
Returns:
a String value

getInstance

public static RoutingSlipUtil getInstance()
Get the RoutingSlipUtil instance
Returns:
a RoutingSlipUtil value

getNodesForXPath

public static java.util.List getNodesForXPath(java.lang.String xpathExpr,
                                              Task task,
                                              RoutingSlip routingSlip)
                                       throws java.lang.Exception
Get the node values for the XPath expression on the task
Parameters:
xpathExpr - The String representing the XPath
task - The Task object
routingSlip - The RoutingSlip to which the XPath belongs
Returns:
a List containing String values
Throws:
java.lang.Exception - if an error occurs

getStringValueForXPath

public static java.lang.String getStringValueForXPath(java.lang.String xpathExpr,
                                                      Task task,
                                                      RoutingSlip routingSlip)
                                               throws java.lang.Exception
Get the string values for the XPath expression on the task
Parameters:
xpathExpr - The String representing the XPath
task - The Task object
routingSlip - The RoutingSlip to which the XPath belongs
Returns:
a String containing String value for XPath
Throws:
java.lang.Exception - if an error occurs

getExpirationDuration

public static org.exolab.types.Duration getExpirationDuration(java.lang.String expiration,
                                                              Task task,
                                                              RoutingSlip routingSlip)
                                                       throws java.lang.Exception
Get the expiration duration
Parameters:
expiration - The String representing the expiration duration or an XPath expr that points to the expiration duration
task - The Task object
routingSlip - The RoutingSlip to which the XPath belongs
Returns:
a Duration for the expiration duration
Throws:
java.lang.Exception - if an error occurs

getBooleanValueForXPath

public static boolean getBooleanValueForXPath(java.lang.String xpathExpr,
                                              Task task,
                                              RoutingSlip routingSlip)
                                       throws java.lang.Exception
Get the boolean values for the XPath expression on the task
Parameters:
xpathExpr - The boolean representing the XPath
task - The Task object
routingSlip - The RoutingSlip to which the XPath belongs
Returns:
a boolean containing boolean value for XPath
Throws:
java.lang.Exception - if an error occurs

Skip navigation links

Oracle BPEL Process Manager
Workflow Services API Reference
10g Release 3 (10.1.3)
B28985-02


Copyright © 2006, Oracle. All rights reserved.