|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SAWSDLReader
This interface describes a collection of methods that enable conversion of a WSDL document (in XML, following the WSDL schema described in the WSDL specification) into a WSDL tag.
Method Summary | |
---|---|
java.lang.Object |
getFeature(org.ow2.easywsdl.wsdl.api.WSDLReader.FeatureConstants name)
Gets the value of the specified feature. |
java.util.Map<org.ow2.easywsdl.wsdl.api.WSDLReader.FeatureConstants,java.lang.Object> |
getFeatures()
Gets all features. |
Description |
read(org.w3c.dom.Document document)
Read the SA-WSDL document available at the specified DOM Document
, and bind it into a Description object. |
Description |
read(org.xml.sax.InputSource inputSource)
Read the SA-WSDL document available at the specified InputSource ,
and bind it into a Description object. |
Description |
read(java.net.URL wsdlURL)
Read the SA-WSDL document available at the location identified by the specified URL, and bind it into a Description object. |
void |
setFeature(org.ow2.easywsdl.wsdl.api.WSDLReader.FeatureConstants name,
java.lang.Object value)
Sets the specified feature to the specified value. |
Method Detail |
---|
void setFeature(org.ow2.easywsdl.wsdl.api.WSDLReader.FeatureConstants name, java.lang.Object value) throws org.ow2.easywsdl.wsdl.api.WSDLException
The minimum features that must be supported are:
Name | DescriptionImpl | Default Value |
---|---|---|
If set to true, status messages will be displayed. | ||
If set to true, imported WSDL documents will be retrieved and processed. | ||
|
If the location is set, imported WSDL documents will be retrieved at this location (Set the importDocuments Features at true). |
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
name
- the name of the feature to be set.value
- the value to set the feature to.
org.ow2.easywsdl.wsdl.api.WSDLException
- TODO#getFeature(String)
java.lang.Object getFeature(org.ow2.easywsdl.wsdl.api.WSDLReader.FeatureConstants name)
name
- the name of the feature to get the value of.
java.lang.IllegalArgumentException
- if the feature name is not recognized.#setFeature(String, boolean)
java.util.Map<org.ow2.easywsdl.wsdl.api.WSDLReader.FeatureConstants,java.lang.Object> getFeatures()
#setFeature(String, boolean)
Description read(java.net.URL wsdlURL) throws SAWSDLException, java.io.IOException, java.net.URISyntaxException
Read the SA-WSDL document 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.
wsdlURL
- an URL pointing to a SA-WSDL document.
Description
definition.
SAWSDLException
- An error occurs during the parsing or the binding of the
SA-WSDL document.
java.net.URISyntaxException
- If the URL is not formatted strictly according to to RFC2396
and cannot be converted to a URI.
java.io.IOException
- An I/O error occurs openning the URL stream.Description read(org.w3c.dom.Document document) throws SAWSDLException, java.net.URISyntaxException
Read the SA-WSDL document 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.
document
- a DOM Document
pointing to a SA-WSDL document.
Description
definition.
SAWSDLException
- An error occurs during the parsing or the binding of the
SA-WSDL document
java.net.URISyntaxException
- the DOM Document
base URI is not formatted strictly
according to to RFC2396 and cannot be converted to a URI.Description read(org.xml.sax.InputSource inputSource) throws SAWSDLException, java.net.MalformedURLException, java.net.URISyntaxException
Read the SA-WSDL document 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.
inputSource
- an InputSource
pointing to a SA-WSDL document.
Description
definition.
SAWSDLException
- An error occurs during the parsing or the binding of the
SA-WSDL document.
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |