|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.easywsdl.wsdl.api.abstractElmt.AbstractWSDLReaderImpl
org.ow2.easywsdl.wsdl.impl.wsdl20.WSDLReaderImpl
public class WSDLReaderImpl
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.ow2.easywsdl.wsdl.api.WSDLReader |
---|
WSDLReader.FeatureConstants |
Constructor Summary | |
---|---|
WSDLReaderImpl()
|
|
WSDLReaderImpl(java.util.List<java.lang.Class> addedObjectFactories)
|
Method Summary | |
---|---|
Description |
read(org.w3c.dom.Document doc)
Read the WSDL definition available at the specified DOM |
Description |
read(org.xml.sax.InputSource inputSource)
Read the WSDL definition available at the specified |
Description |
read(org.xml.sax.InputSource source,
java.util.Map<java.net.URI,AbsItfDescription> descriptionImports,
java.util.Map<java.net.URI,org.ow2.easywsdl.schema.api.absItf.AbsItfSchema> schemaImports)
Read an WSDL part provided by an InputSource , description
imports/includes and schema imports/includes provided by
descriptionImports and schemaImports are not
read. |
Description |
read(org.xml.sax.InputSource inputSource,
java.util.Map<java.net.URI,AbsItfDescription> descriptionImports,
java.util.Map<java.net.URI,org.ow2.easywsdl.schema.api.absItf.AbsItfSchema> schemaImports,
boolean deleteImports)
Read an WSDL part provided by an InputSource , description
imports/includes and schema imports/includes provided by
descriptionImports and schemaImports are not
read. |
Description |
read(java.net.URL wsdlURL)
Read the WSDL definition available at the location identified by the
specified URL, and bind it into a |
Methods inherited from class org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractWSDLReaderImpl |
---|
getFeature, getFeatures, getImportList, getSchemaReader, readExternalPart, setDocumentBaseURI, setFeature, setFeatures, setImportList |
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, setFeatures |
Constructor Detail |
---|
public WSDLReaderImpl() throws WSDLException
WSDLException
public WSDLReaderImpl(java.util.List<java.lang.Class> addedObjectFactories) throws WSDLException
WSDLException
Method Detail |
---|
public Description read(java.net.URL wsdlURL) throws WSDLException, java.io.IOException, java.net.URISyntaxException
Read the WSDL definition available at the location identified by the
specified URL, and bind it into a Description
object.
Note: all relative URIs are resolved according to the specified URL.
read
in interface WSDLReader
wsdlURL
- an URL pointing to a WSDL definition.
Description
definition.
WSDLException
- An error occurs during the parsing or the binding of the
WSDL definition
java.io.IOException
- An I/O error occurs openning the URL stream.
java.net.URISyntaxException
- If the URL is not formatted strictly according to to RFC2396
and cannot be converted to a URI.public Description read(org.xml.sax.InputSource inputSource) throws WSDLException, java.net.MalformedURLException, java.net.URISyntaxException
Read the WSDL definition available at the specified InputSource
,
and bind it into a Description
object.
Note: To be able to resolve relative URIs, the InputSource
system identifier must be set.
read
in interface WSDLReader
inputSource
- an InputSource
pointing to a WSDL definition.
Description
definition.
WSDLException
- An error occurs during the parsing or the binding of the WSDL
definition.
java.net.MalformedURLException
- The InputSource
system identifier is not a
well-formed URL.
java.net.URISyntaxException
- the InputSource
system identifier is not formatted
strictly according to to RFC2396 and cannot be converted to a
URI.public Description read(org.w3c.dom.Document doc) throws WSDLException, java.net.URISyntaxException
Read the WSDL definition available at the specified DOM Document
,
and bind it into a Description
object.
Note: To be able to resolve relative URIs, the Document
base URI must be set.
read
in interface WSDLReader
doc
- a DOM Document
pointing to a WSDL definition.
Description
definition.
WSDLException
- An error occurs during the parsing or the binding of the WSDL
definition
java.net.URISyntaxException
- the DOM Document
base URI is not formatted strictly
according to to RFC2396 and cannot be converted to a URI.public Description read(org.xml.sax.InputSource inputSource, java.util.Map<java.net.URI,AbsItfDescription> descriptionImports, java.util.Map<java.net.URI,org.ow2.easywsdl.schema.api.absItf.AbsItfSchema> schemaImports, boolean deleteImports) throws WSDLException, java.net.MalformedURLException, java.net.URISyntaxException
InputSource
, description
imports/includes and schema imports/includes provided by
descriptionImports
and schemaImports
are not
read.
read
in class AbstractWSDLReaderImpl
WSDLException
java.net.MalformedURLException
- The InputSource
systemId is a malformed URL.
java.net.URISyntaxException
- The InputSource
systemId is an URL not formatted
strictly according to to RFC2396 and cannot be converted to a
URI.public Description read(org.xml.sax.InputSource source, java.util.Map<java.net.URI,AbsItfDescription> descriptionImports, java.util.Map<java.net.URI,org.ow2.easywsdl.schema.api.absItf.AbsItfSchema> schemaImports) throws WSDLException, java.net.MalformedURLException, java.net.URISyntaxException
WSDLReader
InputSource
, description
imports/includes and schema imports/includes provided by
descriptionImports
and schemaImports
are not
read.
read
in interface WSDLReader
WSDLException
java.net.MalformedURLException
- The InputSource
systemId is a malformed URL.
java.net.URISyntaxException
- The InputSource
systemId is an URL not formatted
strictly according to to RFC2396 and cannot be converted to a
URI.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |