org.kohsuke.rngom.ast.builder
Interface ElementAnnotationBuilder<P extends ParsedPattern,E extends ParsedElementAnnotation,L extends Location,A extends Annotations<E,L,CL>,CL extends CommentList<L>>

All Superinterfaces:
Annotations<E,L,CL>
All Known Implementing Classes:
SchemaBuilderImpl

public interface ElementAnnotationBuilder<P extends ParsedPattern,E extends ParsedElementAnnotation,L extends Location,A extends Annotations<E,L,CL>,CL extends CommentList<L>>
extends Annotations<E,L,CL>

Used to build foreign element annotations.


Method Summary
 void addText(java.lang.String value, L loc, CL comments)
          Called when a child text is found.
 E makeElementAnnotation()
          Called at the end to build an application data structure.
 
Methods inherited from interface org.kohsuke.rngom.ast.builder.Annotations
addAttribute, addComment, addElement, addLeadingComment
 

Method Detail

addText

void addText(java.lang.String value,
             L loc,
             CL comments)
             throws BuildException
Called when a child text is found.

Throws:
BuildException

makeElementAnnotation

E makeElementAnnotation()
                                                        throws BuildException
Called at the end to build an application data structure.

Throws:
BuildException