org.apache.myfaces.tobago.apt
Class FacesConfigAnnotationVisitor

java.lang.Object
  extended by com.sun.mirror.util.SimpleDeclarationVisitor
      extended by org.apache.myfaces.tobago.apt.AnnotationDeclarationVisitorCollector
          extended by org.apache.myfaces.tobago.apt.AbstractAnnotationVisitor
              extended by org.apache.myfaces.tobago.apt.FacesConfigAnnotationVisitor
All Implemented Interfaces:
com.sun.mirror.util.DeclarationVisitor

public class FacesConfigAnnotationVisitor
extends AbstractAnnotationVisitor


Field Summary
static String SOURCE_FACES_CONFIG_KEY
           
static String TARGET_FACES_CONFIG_KEY
           
 
Constructor Summary
FacesConfigAnnotationVisitor(com.sun.mirror.apt.AnnotationProcessorEnvironment env)
           
 
Method Summary
protected  void addAttribute(com.sun.mirror.declaration.MethodDeclaration d, Class uiComponentClass, List properties, List attributes, org.jdom.Namespace namespace)
           
protected  void addAttributes(com.sun.mirror.declaration.ClassDeclaration d, Class uiComponentClass, List properties, List attributes, org.jdom.Namespace namespace)
           
protected  void addAttributes(Collection<com.sun.mirror.type.InterfaceType> interfaces, Class uiComponentClass, List properties, List attributes, org.jdom.Namespace namespace)
           
protected  void addAttributes(com.sun.mirror.declaration.InterfaceDeclaration type, Class uiComponentClass, List properties, List attributes, org.jdom.Namespace namespace)
           
protected  void addElement(com.sun.mirror.declaration.ClassDeclaration decl, List<org.jdom.Element> components, List<org.jdom.Element> renderer, org.jdom.Namespace namespace)
           
protected  void addElement(com.sun.mirror.declaration.InterfaceDeclaration decl, List<org.jdom.Element> components, List<org.jdom.Element> renderer, org.jdom.Namespace namespace)
           
protected  void addRendererElement(com.sun.mirror.declaration.TypeDeclaration decl, UIComponentTag componentTag, Class uiComponentClass, List<org.jdom.Element> renderer, org.jdom.Namespace namespace)
           
protected  org.jdom.Element createComponentElement(com.sun.mirror.declaration.TypeDeclaration decl, UIComponentTag componentTag, Class uiComponentClass, org.jdom.Namespace namespace)
           
 boolean equals(org.jdom.Element element1, org.jdom.Element element2)
           
 void process()
           
 
Methods inherited from class org.apache.myfaces.tobago.apt.AbstractAnnotationVisitor
addLeafCDATAElement, addLeafTextElement, getEnv
 
Methods inherited from class org.apache.myfaces.tobago.apt.AnnotationDeclarationVisitorCollector
getCollectedClassDeclarations, getCollectedInterfaceDeclarations, getCollectedMethodDeclarations, getCollectedPackageDeclarations, visitClassDeclaration, visitInterfaceDeclaration, visitMethodDeclaration, visitPackageDeclaration
 
Methods inherited from class com.sun.mirror.util.SimpleDeclarationVisitor
visitAnnotationTypeDeclaration, visitAnnotationTypeElementDeclaration, visitConstructorDeclaration, visitDeclaration, visitEnumConstantDeclaration, visitEnumDeclaration, visitExecutableDeclaration, visitFieldDeclaration, visitMemberDeclaration, visitParameterDeclaration, visitTypeDeclaration, visitTypeParameterDeclaration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOURCE_FACES_CONFIG_KEY

public static final String SOURCE_FACES_CONFIG_KEY
See Also:
Constant Field Values

TARGET_FACES_CONFIG_KEY

public static final String TARGET_FACES_CONFIG_KEY
See Also:
Constant Field Values
Constructor Detail

FacesConfigAnnotationVisitor

public FacesConfigAnnotationVisitor(com.sun.mirror.apt.AnnotationProcessorEnvironment env)
Method Detail

process

public void process()
             throws ParserConfigurationException,
                    IOException
Throws:
ParserConfigurationException
IOException

equals

public boolean equals(org.jdom.Element element1,
                      org.jdom.Element element2)

createComponentElement

protected org.jdom.Element createComponentElement(com.sun.mirror.declaration.TypeDeclaration decl,
                                                  UIComponentTag componentTag,
                                                  Class uiComponentClass,
                                                  org.jdom.Namespace namespace)
                                           throws IOException,
                                                  NoSuchFieldException,
                                                  IllegalAccessException
Throws:
IOException
NoSuchFieldException
IllegalAccessException

addRendererElement

protected void addRendererElement(com.sun.mirror.declaration.TypeDeclaration decl,
                                  UIComponentTag componentTag,
                                  Class uiComponentClass,
                                  List<org.jdom.Element> renderer,
                                  org.jdom.Namespace namespace)
                           throws IOException,
                                  NoSuchFieldException,
                                  IllegalAccessException
Throws:
IOException
NoSuchFieldException
IllegalAccessException

addAttribute

protected void addAttribute(com.sun.mirror.declaration.MethodDeclaration d,
                            Class uiComponentClass,
                            List properties,
                            List attributes,
                            org.jdom.Namespace namespace)

addAttributes

protected void addAttributes(com.sun.mirror.declaration.InterfaceDeclaration type,
                             Class uiComponentClass,
                             List properties,
                             List attributes,
                             org.jdom.Namespace namespace)

addAttributes

protected void addAttributes(Collection<com.sun.mirror.type.InterfaceType> interfaces,
                             Class uiComponentClass,
                             List properties,
                             List attributes,
                             org.jdom.Namespace namespace)

addAttributes

protected void addAttributes(com.sun.mirror.declaration.ClassDeclaration d,
                             Class uiComponentClass,
                             List properties,
                             List attributes,
                             org.jdom.Namespace namespace)

addElement

protected void addElement(com.sun.mirror.declaration.ClassDeclaration decl,
                          List<org.jdom.Element> components,
                          List<org.jdom.Element> renderer,
                          org.jdom.Namespace namespace)
                   throws IOException
Throws:
IOException

addElement

protected void addElement(com.sun.mirror.declaration.InterfaceDeclaration decl,
                          List<org.jdom.Element> components,
                          List<org.jdom.Element> renderer,
                          org.jdom.Namespace namespace)
                   throws IOException
Throws:
IOException


Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.