com.ebmwebsourcing.commons.schema.api.abstractElmt
Class AbstractSchemaReader
java.lang.Object
com.ebmwebsourcing.commons.schema.api.abstractElmt.AbstractSchemaReader
- All Implemented Interfaces:
- SchemaReader
- Direct Known Subclasses:
- SchemaReader
public abstract class AbstractSchemaReader
- 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 |
AbstractSchemaReader
public AbstractSchemaReader()
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 |
| com.ebmwebsourcing.commons.schema.verbose |
If set to true, status messages will be displayed. |
type: boolean - default value: false |
| com.ebmwebsourcing.commons.schema.importDocuments |
If set to true, imported WSDL documents will be
retrieved and processed. |
type: boolean - default value: true |
| com.ebmwebsourcing.commons.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.