Search in sources :

Example 1 with DatabindingMode

use of com.oracle.webservices.api.databinding.DatabindingMode in project metro-jax-ws by eclipse-ee4j.

the class JAXBWrapperAccessorTest method testDatabindingModeAnnotationToFeature.

public void testDatabindingModeAnnotationToFeature() throws Exception {
    DatabindingMode a = SEB.class.getAnnotation(DatabindingMode.class);
    DatabindingModeFeature f = (DatabindingModeFeature) WebServiceFeatureList.getFeature(a);
    assertEquals(f.getMode(), a.value());
}
Also used : DatabindingMode(com.oracle.webservices.api.databinding.DatabindingMode) DatabindingModeFeature(com.oracle.webservices.api.databinding.DatabindingModeFeature)

Aggregations

DatabindingMode (com.oracle.webservices.api.databinding.DatabindingMode)1 DatabindingModeFeature (com.oracle.webservices.api.databinding.DatabindingModeFeature)1