com.ebmwebsourcing.wsstar.notification.extension.inout
Class WSNotificationExtensionReader

java.lang.Object
  extended by com.ebmwebsourcing.wsstar.notification.extension.inout.WSNotificationExtensionReader

public class WSNotificationExtensionReader
extends java.lang.Object

This class provides a collection of methods that enable conversion of a Document object into a "custom java type" object defined in the xml schema file named "specifictypesFornotifications.xsd". This conversion uses JAXB "unmarshalling" mechanism

Author:
tdejean -eBM WebSourcing

Method Summary
static WSNotificationExtensionReader getInstance()
          Return an unique - respect to the Singleton design pattern - instance of the WSNotificationExtensionReader class.
 ContextPolicyType readContextPolicyType(org.w3c.dom.Document javaObj)
          Unmarshall ContextPolicyType object from a Document representation fragment object
 ProcessPolicyType readProcessPolicyType(org.w3c.dom.Document javaObj)
          Unmarshall ProcessPolicyType object from a Document representation fragment object
 ResourcesUuidType readResourcesUuidType(org.w3c.dom.Document javaObj)
          Unmarshall ResourcesUuidType object from a Document representation fragment object
 SOAParameterType readSOAParameterType(org.w3c.dom.Document javaObj)
          Unmarshall SOAParameterType object from a Document representation fragment object
 TerminationTimeType readTerminationTimeType(org.w3c.dom.Document javaObj)
          Unmarshall TerminationTimeType object from a Document representation fragment object
 XsltStyleSheetType readXsltStyleSheetType(org.w3c.dom.Document javaObj)
          Unmarshall XsltStyleSheetType object from a Document representation fragment object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static WSNotificationExtensionReader getInstance()
Return an unique - respect to the Singleton design pattern - instance of the WSNotificationExtensionReader class.

Returns:
a unique WSNotificationFactory instance.

readSOAParameterType

public SOAParameterType readSOAParameterType(org.w3c.dom.Document javaObj)
                                      throws WSNotificationExtensionException
Unmarshall SOAParameterType object from a Document representation fragment object

Parameters:
javaObj - Document object representation of SOAParameterType Java type
Returns:
SOAParameterType object (type generated with jaxb tools)
Throws:
WSNotificationExtensionException

readResourcesUuidType

public ResourcesUuidType readResourcesUuidType(org.w3c.dom.Document javaObj)
                                        throws WSNotificationExtensionException
Unmarshall ResourcesUuidType object from a Document representation fragment object

Parameters:
javaObj - Document object representation of ResourcesUuidType Java type
Returns:
ResourcesUuidType object (type generated with jaxb tools)
Throws:
WSNotificationExtensionException

readProcessPolicyType

public ProcessPolicyType readProcessPolicyType(org.w3c.dom.Document javaObj)
                                        throws WSNotificationExtensionException
Unmarshall ProcessPolicyType object from a Document representation fragment object

Parameters:
javaObj - Document object representation of ProcessPolicyType Java type
Returns:
ProcessPolicyType object (type generated with jaxb tools)
Throws:
WSNotificationExtensionException

readContextPolicyType

public ContextPolicyType readContextPolicyType(org.w3c.dom.Document javaObj)
                                        throws WSNotificationExtensionException
Unmarshall ContextPolicyType object from a Document representation fragment object

Parameters:
javaObj - Document object representation of ContextPolicyType Java type
Returns:
ContextPolicyType object (type generated with jaxb tools)
Throws:
WSNotificationExtensionException

readXsltStyleSheetType

public XsltStyleSheetType readXsltStyleSheetType(org.w3c.dom.Document javaObj)
                                          throws WSNotificationExtensionException
Unmarshall XsltStyleSheetType object from a Document representation fragment object

Parameters:
javaObj - Document object representation of XsltStyleSheetType Java type
Returns:
XsltStyleSheetType object (type generated with jaxb tools)
Throws:
WSNotificationExtensionException

readTerminationTimeType

public TerminationTimeType readTerminationTimeType(org.w3c.dom.Document javaObj)
                                            throws WSNotificationExtensionException
Unmarshall TerminationTimeType object from a Document representation fragment object

Parameters:
javaObj - Document object representation of TerminationTimeType Java type
Returns:
TerminationTimeType object (type generated with jaxb tools)
Throws:
WSNotificationExtensionException


Copyright © 2009-2010 eBM Websourcing. All Rights Reserved.