|
||||||||||
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
public abstract class AbstractWSDLReaderImpl
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.ow2.easywsdl.wsdl.api.WSDLReader |
---|
WSDLReader.FeatureConstants |
Field Summary | |
---|---|
protected static java.util.logging.Logger |
log
|
Constructor Summary | |
---|---|
AbstractWSDLReaderImpl()
|
Method Summary | |
---|---|
java.lang.Object |
getFeature(WSDLReader.FeatureConstants name)
Gets the value of the specified feature. |
java.util.Map<WSDLReader.FeatureConstants,java.lang.Object> |
getFeatures()
Get all features. |
java.util.Map<java.lang.String,AbsItfDescription> |
getImportList()
|
org.ow2.easywsdl.schema.api.SchemaReader |
getSchemaReader()
|
abstract 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,
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. |
protected Description |
readExternalPart(java.net.URI externalURI,
java.net.URI documentBaseURI,
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 external WSDL URI according to a base URI. |
void |
setDocumentBaseURI(java.net.URI documentBaseURI)
|
void |
setFeature(WSDLReader.FeatureConstants name,
java.lang.Object value)
Sets the specified feature to the specified value. |
void |
setFeatures(java.util.Map<WSDLReader.FeatureConstants,java.lang.Object> features)
Set all features. |
void |
setImportList(java.util.Map<java.lang.String,AbsItfDescription> importLists)
|
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 |
---|
read, read, read, read |
Field Detail |
---|
protected static java.util.logging.Logger log
Constructor Detail |
---|
public AbstractWSDLReaderImpl() throws WSDLException
WSDLException
Method Detail |
---|
public org.ow2.easywsdl.schema.api.SchemaReader getSchemaReader()
public void setDocumentBaseURI(java.net.URI documentBaseURI)
public final void setFeature(WSDLReader.FeatureConstants name, java.lang.Object value) throws WSDLException
WSDLReader
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 WSDLReader
name
- the name of the feature to be set.value
- the value to set the feature to.
WSDLException
- TODO#getFeature(String)
public final java.lang.Object getFeature(WSDLReader.FeatureConstants name)
WSDLReader
getFeature
in interface WSDLReader
name
- the name of the feature to get the value of.
#setFeature(String, boolean)
public final java.util.Map<WSDLReader.FeatureConstants,java.lang.Object> getFeatures()
WSDLReader
getFeatures
in interface WSDLReader
#setFeature(String, boolean)
public final void setFeatures(java.util.Map<WSDLReader.FeatureConstants,java.lang.Object> features)
WSDLReader
setFeatures
in interface WSDLReader
public java.util.Map<java.lang.String,AbsItfDescription> getImportList()
public void setImportList(java.util.Map<java.lang.String,AbsItfDescription> importLists)
public abstract 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, 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.
deleteImport
- Clear import list
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.protected Description readExternalPart(java.net.URI externalURI, java.net.URI documentBaseURI, 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
WSDLException
java.net.MalformedURLException
- The URL based on the external WSDL URI and the current base
URI is a malformed URL.
java.net.URISyntaxException
- The URL based on the external WSDL URI and the current base
URI 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 |