Package com.sun.xml.ws.config.metro
Class SimpleFeatureReader<T extends WebServiceFeature>
java.lang.Object
com.sun.xml.ws.config.metro.SimpleFeatureReader<T>
- All Implemented Interfaces:
FeatureReader<T>
- Direct Known Subclasses:
TcpTransportFeatureReader
public abstract class SimpleFeatureReader<T extends WebServiceFeature>
extends Object
implements FeatureReader<T>
Parse a feature with no further attributes than "enabled" and return it as
a WebServiceFeature instance.
- Author:
- Fabian Ritzmann
-
Field Summary
Fields inherited from interface com.sun.xml.ws.config.metro.dev.FeatureReader
ENABLED_ATTRIBUTE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract TcreateFeature(boolean enabled) Instantiate the proper feature class.parse(XMLEventReader reader) Parse an XML stream and return the corresponding WebServiceFeature instance.
-
Constructor Details
-
SimpleFeatureReader
protected SimpleFeatureReader()
-
-
Method Details
-
parse
Description copied from interface:FeatureReaderParse an XML stream and return the corresponding WebServiceFeature instance.- Specified by:
parsein interfaceFeatureReader<T extends WebServiceFeature>- Throws:
WebServiceException
-
createFeature
Instantiate the proper feature class.- Throws:
WebServiceException
-