Package org.jboss.ws.annotation

Examples of org.jboss.ws.annotation.FastInfoset


            {
               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());
View Full Code Here


         {
            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);
         }
      }
   }
View Full Code Here

         {
            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);
         }
      }
   }
View Full Code Here

TOP

Related Classes of org.jboss.ws.annotation.FastInfoset

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.