|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.easywsdl.extensions.multiple.impl.MultipleExtReaderImpl
public class MultipleExtReaderImpl
Constructor Summary | |
---|---|
MultipleExtReaderImpl()
|
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(java.util.List<org.ow2.easywsdl.wsdl.ExtensionFactory> extFactories,
org.w3c.dom.Document wsdlDocument)
Read the WSDL document available at the specified DOM Document ,
and bind it into a Description object. |
Description |
read(java.util.List<org.ow2.easywsdl.wsdl.ExtensionFactory> extFactories,
org.xml.sax.InputSource wsdlInputSource)
Read the WSDL document available at the specified InputSource ,
and bind it into a Description object. |
Description |
read(java.util.List<org.ow2.easywsdl.wsdl.ExtensionFactory> extFactories,
java.net.URL wsdlURL)
Read the WSDL document available at the location identified by the specified URL, and bind it into a Description object. |
Description |
read(java.net.URL wsdlURL)
Read the 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. |
void |
setFeatures(java.util.Map<org.ow2.easywsdl.wsdl.api.WSDLReader.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 |
---|
public MultipleExtReaderImpl() throws MultipleExtException
MultipleExtException
Method Detail |
---|
public java.lang.Object getFeature(org.ow2.easywsdl.wsdl.api.WSDLReader.FeatureConstants name)
MultipleExtReader
getFeature
in interface MultipleExtReader
name
- the name of the feature to get the value of.
#setFeature(String, boolean)
public java.util.Map<org.ow2.easywsdl.wsdl.api.WSDLReader.FeatureConstants,java.lang.Object> getFeatures()
MultipleExtReader
getFeatures
in interface MultipleExtReader
#setFeature(String, boolean)
public void setFeatures(java.util.Map<org.ow2.easywsdl.wsdl.api.WSDLReader.FeatureConstants,java.lang.Object> features)
public Description read(java.net.URL wsdlURL) throws MultipleExtException, java.io.IOException, java.net.URISyntaxException
Read the WSDL document available at the location identified by the
specified URL, and bind it into a Description
object.
By default, no specific extensions will be used.
Note: all relative URIs are resolved according to the specified URL.
read
in interface MultipleExtReader
wsdlURL
- an URL pointing to a WSDL document.
Description
definition.
MultipleExtException
- An error occurs during the parsing or the binding of the WSDL
document.
java.io.IOException
- An I/O error occurs opening 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(java.util.List<org.ow2.easywsdl.wsdl.ExtensionFactory> extFactories, java.net.URL wsdlURL) throws MultipleExtException, java.io.IOException, java.net.URISyntaxException
Read the 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.
read
in interface MultipleExtReader
extFactories
- List of wanted extensions AbsFactory classeswsdlURL
- an URL pointing to a WSDL document.
Description
definition.
MultipleExtException
- An error occurs during the parsing or the binding of the WSDL
document.
java.io.IOException
- An I/O error occurs opening 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(java.util.List<org.ow2.easywsdl.wsdl.ExtensionFactory> extFactories, org.w3c.dom.Document wsdlDocument) throws MultipleExtException, java.net.URISyntaxException
Read the 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.
read
in interface MultipleExtReader
extFactories
- List of wanted extensions AbsFactory classes
Description
definition.
MultipleExtException
- An error occurs during the parsing or the binding of the WSDL
document.
java.net.URISyntaxException
- If the URL is not formatted strictly according to to RFC2396
and cannot be converted to a URI.public Description read(java.util.List<org.ow2.easywsdl.wsdl.ExtensionFactory> extFactories, org.xml.sax.InputSource wsdlInputSource) throws MultipleExtException, java.net.MalformedURLException, java.net.URISyntaxException
Read the 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.
read
in interface MultipleExtReader
extFactories
- List of wanted extensions AbsFactory classeswsdlInputSource
- an InputSource
pointing to a WSDL document.
Description
definition.
MultipleExtException
- An error occurs during the parsing or the binding of the 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.public void setFeature(org.ow2.easywsdl.wsdl.api.WSDLReader.FeatureConstants name, java.lang.Object value) throws org.ow2.easywsdl.wsdl.api.WSDLException
MultipleExtReader
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
setFeature
in interface MultipleExtReader
name
- the name of the feature to be set.value
- the value to set the feature to.
org.ow2.easywsdl.wsdl.api.WSDLException
#getFeature(String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |