org.rhq.helpers.rest_docs_generator
Class ClassLevelProcessor

java.lang.Object
  extended by javax.annotation.processing.AbstractProcessor
      extended by org.rhq.helpers.rest_docs_generator.ClassLevelProcessor
All Implemented Interfaces:
Processor

@SupportedOptions(value={"targetDirectory","verbose","modelPkg"})
@SupportedSourceVersion(value=RELEASE_6)
@SupportedAnnotationTypes(value={"com.wordnik.swagger.annotations.*","javax.ws.rs.*","javax.xml.bind.annotation.XmlRootElement"})
public class ClassLevelProcessor
extends AbstractProcessor

Processor for JAX-RS classes

Author:
Heiko W. Rupp

Field Summary
static String MODEL_PACKAGE_KEY
           
 String modelPackage
           
static String TARGET_DIRECTORY
           
static String VERBOSE
           
 
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
 
Constructor Summary
ClassLevelProcessor()
           
 
Method Summary
 void init(ProcessingEnvironment processingEnvironment)
           
 boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
           
 
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, isInitialized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TARGET_DIRECTORY

public static final String TARGET_DIRECTORY
See Also:
Constant Field Values

VERBOSE

public static final String VERBOSE
See Also:
Constant Field Values

MODEL_PACKAGE_KEY

public static final String MODEL_PACKAGE_KEY
See Also:
Constant Field Values

modelPackage

public String modelPackage
Constructor Detail

ClassLevelProcessor

public ClassLevelProcessor()
Method Detail

init

public void init(ProcessingEnvironment processingEnvironment)
Specified by:
init in interface Processor
Overrides:
init in class AbstractProcessor

process

public boolean process(Set<? extends TypeElement> annotations,
                       RoundEnvironment roundEnv)
Specified by:
process in interface Processor
Specified by:
process in class AbstractProcessor


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.