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

uk.org.retep.xmpp.annotation.XEP Maven / Gradle / Ivy

The newest version!
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package uk.org.retep.xmpp.annotation;

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;

/**
 * Package annotation used to enable a protocol to be added to the JAXB support
 * just by being placed in the classpath.
 * @author peter
 */
@Documented
@Retention( RetentionPolicy.RUNTIME )
@Target(
{
    ElementType.PACKAGE,
    ElementType.TYPE,
    ElementType.CONSTRUCTOR,
    ElementType.METHOD
} )
public @interface XEP
{

    /**
     * The xep number(s) that the annotated element conforms to
     * @return
     */
    int[] value();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy