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

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

public class BPELReaderImpl
extends java.lang.Object
implements BPELReader

Author:
Nicolas Salatge - eBM WebSourcing

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.ebmwebsourcing.easybpel.model.bpel.api.inout.BPELReader
BPELReader.FeatureConstants
 
Constructor Summary
BPELReaderImpl()
           
BPELReaderImpl(java.util.List<java.lang.Class<?>> addedObjectFactories)
           
 
Method Summary
 java.lang.Object getFeature(BPELReader.FeatureConstants name)
          Gets the value of the specified feature.
 java.util.Map<BPELReader.FeatureConstants,java.lang.Object> getFeatures()
          Gets all features.
static BPELJAXBContext getJaxbcontext()
           
 javax.xml.bind.JAXBContext getJaxbContext()
           
 BPELProcess readBPEL(org.w3c.dom.Document bpelDocument)
          Read the specified WSDL document into a WSDL definition.
 BPELProcess readBPEL(java.net.URI wsdlURI)
          Read the WSDL document accessible via the specified URI into a BPEL definition.
 BPELProcess readBPEL(java.net.URI wsdlURI, org.xml.sax.InputSource inputSource)
          Read a BPEL document into a BPEL definition.
 void setFeature(BPELReader.FeatureConstants name, java.lang.Object value)
          Sets the specified feature to the specified value.
 void setFeatures(java.util.Map<BPELReader.FeatureConstants,java.lang.Object> features)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BPELReaderImpl

public BPELReaderImpl()
               throws BPELException
Throws:
BPELException

BPELReaderImpl

public BPELReaderImpl(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

readBPEL

public BPELProcess readBPEL(java.net.URI wsdlURI)
                     throws BPELException
Description copied from interface: BPELReader
Read the WSDL document accessible via the specified URI into a BPEL definition.

Specified by:
readBPEL in interface BPELReader
Returns:
the definition.
Throws:
BPELException

readBPEL

public BPELProcess readBPEL(org.w3c.dom.Document bpelDocument)
                     throws BPELException
Description copied from interface: BPELReader
Read the specified WSDL document into a WSDL definition.

Specified by:
readBPEL in interface BPELReader
Returns:
the definition described in the document.
Throws:
BPELException

readBPEL

public BPELProcess readBPEL(java.net.URI wsdlURI,
                            org.xml.sax.InputSource inputSource)
                     throws BPELException
Description copied from interface: BPELReader
Read a BPEL document into a BPEL definition.

Specified by:
readBPEL in interface BPELReader
Parameters:
wsdlURI - uri of the bpel
inputSource - an InputSource pointing to the WSDL document, an XML document obeying the WSDL schema.
Returns:
the definition described in the document pointed to by the InputSource.
Throws:
BPELException

setFeature

public final void setFeature(BPELReader.FeatureConstants name,
                             java.lang.Object value)
                      throws BPELException
Description copied from interface: BPELReader
Sets the specified feature to the specified value.

The minimum features that must be supported are:

Name DescriptionImpl Default Value
com.ebmwebsourcing.easybpel.model.bpel.verbose
If set to true, status messages will be displayed.
type: boolean - default value: false
com.ebmwebsourcing.easybpel.model.bpel.importDocuments
If set to true, imported WSDL documents will be retrieved and processed.
type: boolean - default value: true
com.ebmwebsourcing.easybpel.model.bpel.pathDirectoryOfImportLocations
If the location is set, imported WSDL documents will be retrieved at this location (Set the importDocuments Features at true).
type: String

All feature names must be fully-qualified, Java package style. All names starting with om.ebmwebsourcing. are reserved for features defined by the 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 BPELReader
Parameters:
name - the name of the feature to be set.
value - the value to set the feature to.
Throws:
BPELException - TODO
See Also:
#getFeature(String)

getFeature

public final java.lang.Object getFeature(BPELReader.FeatureConstants name)
Description copied from interface: BPELReader
Gets the value of the specified feature.

Specified by:
getFeature in interface BPELReader
Parameters:
name - the name of the feature to get the value of.
Returns:
the value of feature
See Also:
#setFeature(String, boolean)

getFeatures

public final java.util.Map<BPELReader.FeatureConstants,java.lang.Object> getFeatures()
Description copied from interface: BPELReader
Gets all features.

Specified by:
getFeatures in interface BPELReader
Returns:
the features
See Also:
#setFeature(String, boolean)

setFeatures

public final void setFeatures(java.util.Map<BPELReader.FeatureConstants,java.lang.Object> features)


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