com.ebmwebsourcing.commons.wsdl.api.abstractElmt
Class AbstractWSDLReaderImpl

java.lang.Object
  extended by com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractWSDLReaderImpl
All Implemented Interfaces:
WSDLReader
Direct Known Subclasses:
WSDLReaderImpl, WSDLReaderImpl, WSDLReaderImpl

public abstract class AbstractWSDLReaderImpl
extends java.lang.Object
implements WSDLReader

Author:
Nicolas Salatge - eBM WebSourcing

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.ebmwebsourcing.commons.wsdl.api.WSDLReader
WSDLReader.FeatureConstants
 
Field Summary
protected  WSDLJDomAnalyzer analyzer
           
 
Constructor Summary
AbstractWSDLReaderImpl()
           
 
Method Summary
 WSDLJDomAnalyzer getAnalyzer()
           
 java.lang.Object getFeature(WSDLReader.FeatureConstants name)
          Gets the value of the specified feature.
 java.util.Map<WSDLReader.FeatureConstants,java.lang.Object> getFeatures()
          Gets all features.
 void setAnalyzer(WSDLJDomAnalyzer analyzer)
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ebmwebsourcing.commons.wsdl.api.WSDLReader
readWSDL, readWSDL, readWSDL
 

Field Detail

analyzer

protected WSDLJDomAnalyzer analyzer
Constructor Detail

AbstractWSDLReaderImpl

public AbstractWSDLReaderImpl()
Method Detail

getAnalyzer

public WSDLJDomAnalyzer getAnalyzer()
Returns:
the analyzer

setAnalyzer

public void setAnalyzer(WSDLJDomAnalyzer analyzer)
Parameters:
analyzer - the analyzer to set

setFeature

public void setFeature(WSDLReader.FeatureConstants name,
                       java.lang.Object value)
                throws java.lang.IllegalArgumentException
Description copied from interface: WSDLReader
Sets the specified feature to the specified value.

The minimum features that must be supported are:

Name DescriptionImpl Default Value
com.ebmwebsourcing.commons.wsdl.verbose
If set to true, status messages will be displayed.
type: boolean - default value: false
com.ebmwebsourcing.commons.wsdl.importDocuments
If set to true, imported WSDL documents will be retrieved and processed.
type: boolean - default value: true
com.ebmwebsourcing.commons.wsdl.pathDirectoryOfImportLocations
If the location is set, imported WSDL documents will be retrieved at this location (Set the importDocuments Features at true).
type: String

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

Specified by:
setFeature in interface WSDLReader
Parameters:
name - the name of the feature to be set.
value - the value to set the feature to.
Throws:
java.lang.IllegalArgumentException - if the feature name is not recognized.
See Also:
#getFeature(String)

getFeature

public java.lang.Object getFeature(WSDLReader.FeatureConstants name)
                            throws java.lang.IllegalArgumentException
Description copied from interface: WSDLReader
Gets the value of the specified feature.

Specified by:
getFeature in interface WSDLReader
Parameters:
name - the name of the feature to get the value of.
Returns:
the value of feature
Throws:
java.lang.IllegalArgumentException - if the feature name is not recognized.
See Also:
#setFeature(String, boolean)

getFeatures

public java.util.Map<WSDLReader.FeatureConstants,java.lang.Object> getFeatures()
Description copied from interface: WSDLReader
Gets all features.

Specified by:
getFeatures in interface WSDLReader
Returns:
the features
See Also:
#setFeature(String, boolean)

setFeatures

public void setFeatures(java.util.Map<WSDLReader.FeatureConstants,java.lang.Object> features)


Copyright © 2008 eBM WebSourcing. All Rights Reserved.