ElementAnnotationBuilder<P,E,L,A,CL>SchemaBuilderImplpublic interface Annotations<E extends ParsedElementAnnotation,L extends Location,CL extends CommentList<L>>
| Modifier and Type | Method | Description |
|---|---|---|
void |
addAttribute(java.lang.String ns,
java.lang.String localName,
java.lang.String prefix,
java.lang.String value,
L loc) |
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) |
void addAttribute(java.lang.String ns,
java.lang.String localName,
java.lang.String prefix,
java.lang.String value,
L loc)
throws BuildException
BuildExceptionvoid addElement(E ea) throws BuildException
BuildExceptionvoid addComment(CL comments) throws BuildException
BuildExceptionvoid addLeadingComment(CL comments) throws BuildException
BuildExceptionCopyright © 2018 Oracle Corporation. All rights reserved.