systemic.sif.sbpframework.common.utils
Class SIFObjectUtils

java.lang.Object
  extended by systemic.sif.sbpframework.common.utils.SIFObjectUtils

public class SIFObjectUtils
extends java.lang.Object

Author:
Joerg Huber This class implements some handy generic methods for some OpenADK methods. For these methods to work properly it is assumed that the caller of them has called the ADK.initialise() beforehand.

Constructor Summary
SIFObjectUtils()
           
 
Method Summary
static openadk.library.SIFDataObject getSIFObjectFromXML(java.lang.String sifObjectXML)
           
static openadk.library.Query makeQueryFromXPathValueList(openadk.library.ElementDef sifObjectType, openadk.library.SIFVersion version, java.util.List<? extends systemic.sif.sifcommon.model.XPathValue> xpathValues)
          This method creates a SIF Query Object based on the sifObjectType, version and xpathValues.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SIFObjectUtils

public SIFObjectUtils()
Method Detail

makeQueryFromXPathValueList

public static openadk.library.Query makeQueryFromXPathValueList(openadk.library.ElementDef sifObjectType,
                                                                openadk.library.SIFVersion version,
                                                                java.util.List<? extends systemic.sif.sifcommon.model.XPathValue> xpathValues)
                                                         throws java.lang.IllegalArgumentException
This method creates a SIF Query Object based on the sifObjectType, version and xpathValues. The version and xpathValues are allowed to be null.

Parameters:
sifObjectType - The SIF object type for which to create the SIFQuery
version - The SIF Version for which to create the query. Allowed to be null.
xpathValues - List of xpath/value that make up the condition of the SIF Query. Allowed to be null.
Returns:
See Description
Throws:
java.lang.IllegalArgumentException - sifObjectType is null.

getSIFObjectFromXML

public static openadk.library.SIFDataObject getSIFObjectFromXML(java.lang.String sifObjectXML)