All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sun.xml.ws.developer.Serialization Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 1997, 2022 Oracle and/or its affiliates. All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Distribution License v. 1.0, which is available at
 * http://www.eclipse.org/org/documents/edl-v10.php.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

package com.sun.xml.ws.developer;

import jakarta.xml.ws.spi.WebServiceFeatureAnnotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Configures various aspects of serialization like encoding
 *
 * 
 * for e.g.:
 *
 * @WebService
 * @Serialization(encoding="Shift_JIS")
 * public class HelloImpl {
 *   ...
 * }
 * 
* * * @since JAX-WS RI 2.2.6 * @author Jitendra Kotamraju * @see com.sun.xml.ws.developer.SerializationFeature */ @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD}) @Documented @WebServiceFeatureAnnotation(id = SerializationFeature.ID, bean = SerializationFeature.class) public @interface Serialization { /** * Turns validation on/off for inbound messages * * @since JAX-WS RI 2.2.6 */ String encoding() default ""; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy