Oxygen XML Editor 14.2 Author API

ro.sync.annotations.api
Annotation Type API


@Documented
@Retention(value=CLASS)
@Target(value=TYPE)
public @interface API

Indicates the type of an API element and the visibility of its source code. If a Java type (class, interface, enum or annotation type) is annotated with this annotation it means that the type is intended to be exposed as public API.


Required Element Summary
 SourceType src
          States whether the source code of this API element is available to end users.
 APIType type
          Describes the type of the API element.
 

Element Detail

type

public abstract APIType type
Describes the type of the API element. It can have one of the values defined in APIType.

Returns:
The type of the API element.

src

public abstract SourceType src
States whether the source code of this API element is available to end users. Values are defined in SourceType.

Returns:
The availability of the annotated API element source code.

Oxygen XML Editor 14.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2013. All rights reserved.