Package com.sun.tools.rngom.ast.builder
Interface Annotations<E extends ParsedElementAnnotation,L extends Location,CL extends CommentList<L>>
- All Known Subinterfaces:
ElementAnnotationBuilder<P,
E, L, A, CL>
- All Known Implementing Classes:
SchemaBuilderImpl
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
Modifier and TypeMethodDescriptionvoid
Called for an attribute annotation.void
addComment
(CL comments) Adds comments following the last initial child element annotation.void
addElement
(E ea) Called for a child element annotation.void
addLeadingComment
(CL comments)
-
Method Details
-
addAttribute
void addAttribute(String ns, String localName, String prefix, String value, L loc) throws BuildException Called for an attribute annotation.- Throws:
BuildException
-
addElement
Called for a child element annotation.- Throws:
BuildException
-
addComment
Adds comments following the last initial child element annotation.- Throws:
BuildException
-
addLeadingComment
- Throws:
BuildException
-