|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.xwork.apt.AbstractProcessor
public abstract class AbstractProcessor
AbstractProcessor
Field Summary | |
---|---|
protected com.sun.mirror.apt.AnnotationProcessorEnvironment |
env
|
protected org.apache.commons.logging.Log |
log
|
Constructor Summary | |
---|---|
AbstractProcessor()
|
Method Summary | |
---|---|
protected PrintWriter |
getClassesMetaInfWriter(String filename)
Returns a PrintWriter that writes to META-INF directory within the Filer.Location.CLASS_TREE. |
protected PrintWriter |
getSourceMetaInfWriter(String filename)
Returns a PrintWriter that writes to META-INF directory within the Filer.Location.SOURCE_TREE. |
protected PrintWriter |
getWebInfWriter(String filename)
Returns a PrintWriter that writes to WEB-INF directory within the Filer.Location.SOURCE_TREE. |
void |
init()
Initializes all annotations types required for processing. |
abstract void |
process()
Process all program elements supported by this annotations processor. |
void |
setEnv(com.sun.mirror.apt.AnnotationProcessorEnvironment env)
Sets the AnnotationProcessorEnvironment. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.apache.commons.logging.Log log
protected com.sun.mirror.apt.AnnotationProcessorEnvironment env
Constructor Detail |
---|
public AbstractProcessor()
Method Detail |
---|
public void setEnv(com.sun.mirror.apt.AnnotationProcessorEnvironment env)
env
- the AnnotationProcessorEnvironment.public void init()
public abstract void process()
process
in interface com.sun.mirror.apt.AnnotationProcessor
protected PrintWriter getSourceMetaInfWriter(String filename) throws IOException
filename
- The filename of the file to be written.
IOException
protected PrintWriter getClassesMetaInfWriter(String filename) throws IOException
filename
- The filename of the file to be written.
IOException
protected PrintWriter getWebInfWriter(String filename) throws IOException
filename
- The filename of the file to be written.
IOException
|
XWork Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |