org.apache.myfaces.tobago.apt
Class TaglibAnnotationVisitor

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.TaglibAnnotationVisitor
All Implemented Interfaces:
com.sun.mirror.util.DeclarationVisitor
Direct Known Subclasses:
TobagoAnnotationVisitor

public class TaglibAnnotationVisitor
extends AbstractAnnotationVisitor


Constructor Summary
TaglibAnnotationVisitor(com.sun.mirror.apt.AnnotationProcessorEnvironment env)
           
 
Method Summary
protected  void addAttribute(com.sun.mirror.declaration.MethodDeclaration d, Element tagElement, Document document)
           
protected  void addAttributes(com.sun.mirror.declaration.ClassDeclaration d, Element tagElement, Document document)
           
protected  void addAttributes(Collection<com.sun.mirror.type.InterfaceType> interfaces, Element tagElement, Document document)
           
protected  void addAttributes(com.sun.mirror.declaration.InterfaceDeclaration type, Element tagElement, Document document)
           
protected  void addDescription(com.sun.mirror.declaration.Declaration decl, Element element, Document document)
           
protected  void addDescription(com.sun.mirror.declaration.Declaration decl, Element element, Document document, boolean deprecated)
           
protected  void appendTag(com.sun.mirror.declaration.ClassDeclaration decl, Element parent, Document document)
           
protected  void appendTag(com.sun.mirror.declaration.InterfaceDeclaration decl, Element parent, Document document)
           
protected  Element createTag(com.sun.mirror.declaration.Declaration decl, Tag annotationTag, String className, Document document, boolean deprecated)
           
 void process()
           
protected  void writeTaglib(com.sun.mirror.declaration.PackageDeclaration packageDeclaration, Taglib taglibAnnotation, Document document)
           
 
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
 

Constructor Detail

TaglibAnnotationVisitor

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

process

public void process()
             throws Exception
Throws:
Exception

writeTaglib

protected void writeTaglib(com.sun.mirror.declaration.PackageDeclaration packageDeclaration,
                           Taglib taglibAnnotation,
                           Document document)
                    throws IOException,
                           TransformerException
Throws:
IOException
TransformerException

appendTag

protected void appendTag(com.sun.mirror.declaration.ClassDeclaration decl,
                         Element parent,
                         Document document)

appendTag

protected void appendTag(com.sun.mirror.declaration.InterfaceDeclaration decl,
                         Element parent,
                         Document document)

createTag

protected Element createTag(com.sun.mirror.declaration.Declaration decl,
                            Tag annotationTag,
                            String className,
                            Document document,
                            boolean deprecated)

addDescription

protected void addDescription(com.sun.mirror.declaration.Declaration decl,
                              Element element,
                              Document document)

addDescription

protected void addDescription(com.sun.mirror.declaration.Declaration decl,
                              Element element,
                              Document document,
                              boolean deprecated)

addAttributes

protected void addAttributes(Collection<com.sun.mirror.type.InterfaceType> interfaces,
                             Element tagElement,
                             Document document)

addAttributes

protected void addAttributes(com.sun.mirror.declaration.InterfaceDeclaration type,
                             Element tagElement,
                             Document document)

addAttributes

protected void addAttributes(com.sun.mirror.declaration.ClassDeclaration d,
                             Element tagElement,
                             Document document)

addAttribute

protected void addAttribute(com.sun.mirror.declaration.MethodDeclaration d,
                            Element tagElement,
                            Document document)


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