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>
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddText(java.lang.String value, L loc, CL comments)Called when a child text is found.EmakeElementAnnotation()Called at the end to build an application data structure.- 
Methods inherited from interface org.kohsuke.rngom.rngparser.ast.builder.Annotations
addAttribute, addComment, addElement, addLeadingComment 
 - 
 
 - 
 
- 
- 
Method Detail
- 
addText
void addText(java.lang.String value, L loc, CL comments) throws BuildExceptionCalled 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
 
 - 
 
 -