{
processSchemaValidation(dep, sepMetaData, sepClass);
}
else if (an.annotationType() == FastInfoset.class)
{
FastInfoset anFeature = sepClass.getAnnotation(FastInfoset.class);
FastInfosetFeature feature = new FastInfosetFeature(anFeature.enabled());
sepMetaData.addFeature(feature);
}
else if (an.annotationType() == JsonEncoding.class)
{
JsonEncoding anFeature = sepClass.getAnnotation(JsonEncoding.class);
JsonEncodingFeature feature = new JsonEncodingFeature(anFeature.enabled());
sepMetaData.addFeature(feature);
}
else if (an.annotationType() == RespectBinding.class)
{
RespectBinding anFeature = sepClass.getAnnotation(RespectBinding.class);
RespectBindingFeature feature = new RespectBindingFeature(anFeature.enabled());
sepMetaData.addFeature(feature);
}
else
{
throw new WebServiceException("Unsupported feature: " + wsfa.bean());