org.ow2.easywsdl.wsdl.impl.wsdl11
Class WSDLReaderImpl

java.lang.Object
  extended by org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractWSDLReaderImpl
      extended by org.ow2.easywsdl.wsdl.impl.wsdl11.WSDLReaderImpl
All Implemented Interfaces:
WSDLReader

public class WSDLReaderImpl
extends AbstractWSDLReaderImpl
implements WSDLReader

Author:
Nicolas Salatge - eBM WebSourcing

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ow2.easywsdl.wsdl.api.WSDLReader
WSDLReader.FeatureConstants
 
Field Summary
 
Fields inherited from class org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractWSDLReaderImpl
analyzer
 
Constructor Summary
WSDLReaderImpl()
           
WSDLReaderImpl(java.util.List<java.lang.Class> addedObjectFactories)
           
 
Method Summary
static javax.xml.bind.JAXBContext getJaxbContext()
           
 javax.xml.bind.Unmarshaller getUnMarshaller()
          Get the unmarshaller instance.
 Description readWSDL(org.w3c.dom.Document wsdlDocument)
          Read the specified WSDL document into a WSDL definition.
 Description readWSDL(org.w3c.dom.Document wsdlDocument, java.util.Map<java.net.URI,org.w3c.dom.Document> imports)
          Read the specified WSDL document into a WSDL definition.
 Description readWSDL(java.net.URI wsdlURI)
          Read the WSDL document accessible via the specified URI into a WSDL definition.
 Description readWSDL(java.net.URI wsdlURI, javax.xml.transform.dom.DOMSource inputSource)
          Read a WSDL document into a WSDL definition.
 Description readWSDL(java.net.URI baseURI, javax.xml.transform.dom.DOMSource inputSource, java.util.Map<java.net.URI,javax.xml.transform.dom.DOMSource> imports)
          Read a WSDL document into a WSDL definition.
 
Methods inherited from class org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractWSDLReaderImpl
getAnalyzer, getFeature, getFeatures, setAnalyzer, setFeature, setFeatures
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ow2.easywsdl.wsdl.api.WSDLReader
getFeature, getFeatures, setFeature
 

Constructor Detail

WSDLReaderImpl

public WSDLReaderImpl()
               throws WSDLException
Throws:
WSDLException

WSDLReaderImpl

public WSDLReaderImpl(java.util.List<java.lang.Class> addedObjectFactories)
               throws WSDLException
Throws:
WSDLException
Method Detail

getUnMarshaller

public javax.xml.bind.Unmarshaller getUnMarshaller()
                                            throws WSDLException
Get the unmarshaller instance.

Returns:
the unmarshaller instance
Throws:
WSDLException - The exception raised during the unmarshaller creation.

getJaxbContext

public static javax.xml.bind.JAXBContext getJaxbContext()
Returns:
the jaxbContext

readWSDL

public Description readWSDL(java.net.URI wsdlURI)
                     throws WSDLException
Description copied from interface: WSDLReader
Read the WSDL document accessible via the specified URI into a WSDL definition.

Specified by:
readWSDL in interface WSDLReader
Parameters:
wsdlURI - a URI (can be a filename or URL) pointing to a WSDL XML definition.
Returns:
the definition.
Throws:
WSDLException

readWSDL

public Description readWSDL(org.w3c.dom.Document wsdlDocument,
                            java.util.Map<java.net.URI,org.w3c.dom.Document> imports)
                     throws WSDLException
Description copied from interface: WSDLReader
Read the specified WSDL document into a WSDL definition.

Specified by:
readWSDL in interface WSDLReader
Parameters:
wsdlDocument - the WSDL document, an XML document obeying the WSDL schema.
imports - a Map of URI location to WSDL Document imports
Returns:
the definition described in the document.
Throws:
WSDLException

readWSDL

public Description readWSDL(java.net.URI baseURI,
                            javax.xml.transform.dom.DOMSource inputSource,
                            java.util.Map<java.net.URI,javax.xml.transform.dom.DOMSource> imports)
                     throws WSDLException
Description copied from interface: WSDLReader
Read a WSDL document into a WSDL definition.

Specified by:
readWSDL in interface WSDLReader
Parameters:
baseURI - uri of the wsdl
inputSource - an InputSource pointing to the WSDL document, an XML document obeying the WSDL schema.
imports - a Map of URI location to WSDL DOMSource imports
Returns:
the definition described in the document pointed to by the InputSource.
Throws:
WSDLException

readWSDL

public Description readWSDL(org.w3c.dom.Document wsdlDocument)
                     throws WSDLException
Description copied from interface: WSDLReader
Read the specified WSDL document into a WSDL definition.

Specified by:
readWSDL in interface WSDLReader
Parameters:
wsdlDocument - the WSDL document, an XML document obeying the WSDL schema.
Returns:
the definition described in the document.
Throws:
WSDLException

readWSDL

public Description readWSDL(java.net.URI wsdlURI,
                            javax.xml.transform.dom.DOMSource inputSource)
                     throws WSDLException
Description copied from interface: WSDLReader
Read a WSDL document into a WSDL definition.

Specified by:
readWSDL in interface WSDLReader
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:
WSDLException


Copyright © 2008 eBM WebSourcing. All Rights Reserved.