Package com.sun.xml.ws.config.metro
Class SimpleFeatureReader<T extends jakarta.xml.ws.WebServiceFeature>
java.lang.Object
com.sun.xml.ws.config.metro.SimpleFeatureReader<T>
- All Implemented Interfaces:
FeatureReader
- Direct Known Subclasses:
TcpTransportFeatureReader
public abstract class SimpleFeatureReader<T extends jakarta.xml.ws.WebServiceFeature>
extends Object
implements FeatureReader
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
public SimpleFeatureReader()
-
-
Method Details
-
parse
Description copied from interface:FeatureReaderParse an XML stream and return the corresponding WebServiceFeature instance.- Specified by:
parsein interfaceFeatureReader<T extends jakarta.xml.ws.WebServiceFeature>- Throws:
jakarta.xml.ws.WebServiceException
-
createFeature
Instantiate the proper feature class.- Throws:
jakarta.xml.ws.WebServiceException
-