class Annotation extends java.lang.Object implements Annotations<ElementWrapper,LocatorImpl,CommentListImpl>
| Modifier and Type | Field and Description |
|---|---|
private DAnnotation |
a |
| Constructor and Description |
|---|
Annotation() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(java.lang.String ns,
java.lang.String localName,
java.lang.String prefix,
java.lang.String value,
LocatorImpl loc)
Called for an attribute annotation.
|
void |
addComment(CommentListImpl comments)
Adds comments following the last initial child element annotation.
|
void |
addElement(ElementWrapper ea)
Called for a child element annotation.
|
void |
addLeadingComment(CommentListImpl comments) |
(package private) DAnnotation |
getResult() |
private final DAnnotation a
public void addAttribute(java.lang.String ns,
java.lang.String localName,
java.lang.String prefix,
java.lang.String value,
LocatorImpl loc)
throws BuildException
AnnotationsaddAttribute in interface Annotations<ElementWrapper,LocatorImpl,CommentListImpl>BuildExceptionpublic void addElement(ElementWrapper ea) throws BuildException
AnnotationsaddElement in interface Annotations<ElementWrapper,LocatorImpl,CommentListImpl>BuildExceptionpublic void addComment(CommentListImpl comments) throws BuildException
AnnotationsaddComment in interface Annotations<ElementWrapper,LocatorImpl,CommentListImpl>BuildExceptionpublic void addLeadingComment(CommentListImpl comments) throws BuildException
addLeadingComment in interface Annotations<ElementWrapper,LocatorImpl,CommentListImpl>BuildExceptionDAnnotation getResult()