com.sun.tools.jxc.ap
Class AnnotationParser

java.lang.Object
  extended by javax.annotation.processing.AbstractProcessor
      extended by com.sun.tools.jxc.ap.AnnotationParser
All Implemented Interfaces:
Processor

@SupportedAnnotationTypes(value="javax.xml.bind.annotation.*")
@SupportedOptions(value="jaxb.config")
public final class AnnotationParser
extends AbstractProcessor

This class behaves as a JAXB Annotation Processor, It reads the user specified typeDeclarations and the config files It also reads config files Used in unit tests

Author:
Bhakti Mehta (bhakti.mehta@sun.com)

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

Constructor Detail

AnnotationParser

public AnnotationParser()
Method Detail

init

public void init(ProcessingEnvironment processingEnv)
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

getSupportedSourceVersion

public SourceVersion getSupportedSourceVersion()
Specified by:
getSupportedSourceVersion in interface Processor
Overrides:
getSupportedSourceVersion in class AbstractProcessor


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.