Interface Annotations<E extends ParsedElementAnnotation,L extends Location,CL extends CommentList<L>>
-
- All Known Subinterfaces:
ElementAnnotationBuilder<P,E,L,A,CL>
public interface Annotations<E extends ParsedElementAnnotation,L extends Location,CL extends CommentList<L>>Includes attributes and child elements before any RELAX NG element.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddAttribute(java.lang.String ns, java.lang.String localName, java.lang.String prefix, java.lang.String value, L loc)Called for an attribute annotation.voidaddComment(CL comments)Adds comments following the last initial child element annotation.voidaddElement(E ea)Called for a child element annotation.voidaddLeadingComment(CL comments)
-
-
-
Method Detail
-
addAttribute
void addAttribute(java.lang.String ns, java.lang.String localName, java.lang.String prefix, java.lang.String value, L loc) throws BuildExceptionCalled for an attribute annotation.- Throws:
BuildException
-
addElement
void addElement(E ea) throws BuildException
Called for a child element annotation.- Throws:
BuildException
-
addComment
void addComment(CL comments) throws BuildException
Adds comments following the last initial child element annotation.- Throws:
BuildException
-
addLeadingComment
void addLeadingComment(CL comments) throws BuildException
- Throws:
BuildException
-
-