com.ebmwebsourcing.easybpel.model.bpel.impl.inout
Class BPELWriterImpl

java.lang.Object
  extended by com.ebmwebsourcing.easybpel.model.bpel.impl.inout.BPELWriterImpl
All Implemented Interfaces:
BPELWriter

public class BPELWriterImpl
extends java.lang.Object
implements BPELWriter

Author:
Nicolas Salatge - eBM WebSourcing

Constructor Summary
BPELWriterImpl()
           
BPELWriterImpl(java.util.List<java.lang.Class<?>> addedObjectFactories)
           
 
Method Summary
 org.w3c.dom.Document convertProcess2DOMElement(TProcess bpelDescriptor)
          Build the XML nodes from the WSDL descriptor in Java classes form.
 java.lang.String getDefinition(BPELElement element)
           
 org.w3c.dom.Document getDocument(BPELProcess processDef)
          Return a document generated from the specified BPEL model.
 boolean getFeature(java.lang.String name)
          Gets the value of the specified feature.
static BPELJAXBContext getJaxbcontext()
           
 javax.xml.bind.JAXBContext getJaxbContext()
           
 void setFeature(java.lang.String name, boolean value)
          Sets the specified feature to the specified value.
 java.lang.String writeBPEL(BPELProcess processDef)
          Write the specified BPEL definition .
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BPELWriterImpl

public BPELWriterImpl()
               throws BPELException
Throws:
BPELException

BPELWriterImpl

public BPELWriterImpl(java.util.List<java.lang.Class<?>> addedObjectFactories)
               throws BPELException
Throws:
BPELException
Method Detail

getJaxbcontext

public static BPELJAXBContext getJaxbcontext()
                                      throws BPELException
Throws:
BPELException

getJaxbContext

public javax.xml.bind.JAXBContext getJaxbContext()
                                          throws BPELException
Throws:
BPELException

convertProcess2DOMElement

public org.w3c.dom.Document convertProcess2DOMElement(TProcess bpelDescriptor)
                                               throws BPELException
Build the XML nodes from the WSDL descriptor in Java classes form.

Parameters:
EndpointReferenceDescriptorClass - The EndpointReference Descriptor root class
EndpointReferenceDescriptorNode - The XML Node to fill with the EndpointReference descriptor XML nodes
Throws:
BPELException

getDefinition

public java.lang.String getDefinition(BPELElement element)
                               throws BPELException
Specified by:
getDefinition in interface BPELWriter
Throws:
BPELException

getDocument

public org.w3c.dom.Document getDocument(BPELProcess processDef)
                                 throws BPELException
Description copied from interface: BPELWriter
Return a document generated from the specified BPEL model.

Specified by:
getDocument in interface BPELWriter
Throws:
BPELException

getFeature

public boolean getFeature(java.lang.String name)
                   throws java.lang.IllegalArgumentException
Description copied from interface: BPELWriter
Gets the value of the specified feature.

Specified by:
getFeature in interface BPELWriter
Parameters:
name - the name of the feature to get the value of.
Returns:
the value of the feature.
Throws:
java.lang.IllegalArgumentException - if the feature name is not recognized.
See Also:
BPELWriter.setFeature(String, boolean)

setFeature

public void setFeature(java.lang.String name,
                       boolean value)
                throws java.lang.IllegalArgumentException
Description copied from interface: BPELWriter
Sets the specified feature to the specified value.

There are no minimum features that must be supported.

All feature names must be fully-qualified, Java package style. All names starting with javax.wsdl. are reserved for features defined by the JWSDL specification. It is recommended that implementation- specific features be fully-qualified to match the package name of that implementation. For example: com.abc.featureName

Specified by:
setFeature in interface BPELWriter
Parameters:
name - the name of the feature to be set.
value - the value to set the feature to.
Throws:
java.lang.IllegalArgumentException - if the feature name is not recognized.
See Also:
BPELWriter.getFeature(String)

writeBPEL

public java.lang.String writeBPEL(BPELProcess processDef)
                           throws BPELException
Description copied from interface: BPELWriter
Write the specified BPEL definition .

Specified by:
writeBPEL in interface BPELWriter
Throws:
BPELException


Copyright © 2008-2009 eBM WebSourcing. All Rights Reserved.