org.ow2.easywsdl.schema.api.abstractElmt
Class AbstractSchemaReaderImpl
java.lang.Object
org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaReaderImpl
- All Implemented Interfaces:
- SchemaReader
- Direct Known Subclasses:
- SchemaReaderImpl
public abstract class AbstractSchemaReaderImpl
- extends java.lang.Object
- implements SchemaReader
- Author:
- Nicolas Salatge - eBM WebSourcing
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSchemaReaderImpl
public AbstractSchemaReaderImpl()
setFeature
public void setFeature(SchemaReader.FeatureConstants name,
java.lang.Object value)
throws java.lang.IllegalArgumentException
- Description copied from interface:
SchemaReader
- Sets the specified feature to the specified value.
The minimum features that must be supported are:
| Name |
Description |
Default Value |
| org.ow2.easywsdl.schema.verbose |
If set to true, status messages will be displayed. |
type: boolean - default value: false |
| org.ow2.easywsdl.schema.importDocuments |
If set to true, imported WSDL documents will be retrieved and
processed. |
type: boolean - default value: true |
|
org.ow2.easywsdl.schema.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 com.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 SchemaReader
- 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(SchemaReader.FeatureConstants name)
throws java.lang.IllegalArgumentException
- Description copied from interface:
SchemaReader
- Gets the value of the specified feature.
- Specified by:
getFeature in interface SchemaReader
- 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<SchemaReader.FeatureConstants,java.lang.Object> getFeatures()
- Description copied from interface:
SchemaReader
- Gets all features.
- Specified by:
getFeatures in interface SchemaReader
- Returns:
- the features
- See Also:
#setFeature(String, boolean)
setFeatures
public void setFeatures(java.util.Map<SchemaReader.FeatureConstants,java.lang.Object> features)
Copyright © 2008 eBM WebSourcing. All Rights Reserved.