com.intel.gpe.clients.api.workflow
Interface VariableValue


public interface VariableValue

The variable value.

Version:
$Id: VariableValue.java,v 1.4 2005/12/26 13:39:07 lukichev Exp $
Author:
Alexander Lukichev

Method Summary
 VariableValue getArrayValue(javax.xml.namespace.QName array, PartnerLinkValue[] elements)
          Create a new VariableValue that is an array of the supplied partner link values.
 VariableValue getArrayValue(javax.xml.namespace.QName array, VariableValue[] elements)
          Create a new VariableValue that is an array of the supplied values.
 java.lang.String getPlainVariableValue()
          If the variable value is a string return this string.
 org.w3c.dom.Node getXMLVariableValue()
          If the variable value is an XML node return this node.
 

Method Detail

getArrayValue

VariableValue getArrayValue(javax.xml.namespace.QName array,
                            VariableValue[] elements)
Create a new VariableValue that is an array of the supplied values. The root XML element is created and all the root nodes of the elements are appended to it.

Parameters:
array - the name of the root element of the new array
elements - the array of the VariableValues to build the array of

getArrayValue

VariableValue getArrayValue(javax.xml.namespace.QName array,
                            PartnerLinkValue[] elements)
Create a new VariableValue that is an array of the supplied partner link values. The root XML element is created and all the root nodes of the elements are appended to it.

Parameters:
array - the name of the root element of the new array
elements - the array of the PartnerLinkValues to build the array of

getPlainVariableValue

java.lang.String getPlainVariableValue()
If the variable value is a string return this string.

Returns:
the variable value as a string

getXMLVariableValue

org.w3c.dom.Node getXMLVariableValue()
If the variable value is an XML node return this node.

Returns:
the variable value as an XML element


Copyright © 2008. All Rights Reserved.