class ElementAnnotationBuilderImpl extends java.lang.Object implements ElementAnnotationBuilder
| Modifier and Type | Field and Description |
|---|---|
private org.w3c.dom.Element |
e |
| Constructor and Description |
|---|
ElementAnnotationBuilderImpl(org.w3c.dom.Element e) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(java.lang.String ns,
java.lang.String localName,
java.lang.String prefix,
java.lang.String value,
Location loc)
Called for an attribute annotation.
|
void |
addComment(CommentList comments)
Adds comments following the last initial child element annotation.
|
void |
addElement(ParsedElementAnnotation ea)
Called for a child element annotation.
|
void |
addLeadingComment(CommentList comments) |
void |
addText(java.lang.String value,
Location loc,
CommentList comments)
Called when a child text is found.
|
ParsedElementAnnotation |
makeElementAnnotation()
Called at the end to build an application data structure.
|
public ElementAnnotationBuilderImpl(org.w3c.dom.Element e)
public void addText(java.lang.String value,
Location loc,
CommentList comments)
throws BuildException
ElementAnnotationBuilderaddText in interface ElementAnnotationBuilderBuildExceptionpublic ParsedElementAnnotation makeElementAnnotation() throws BuildException
ElementAnnotationBuildermakeElementAnnotation in interface ElementAnnotationBuilderBuildExceptionpublic void addAttribute(java.lang.String ns,
java.lang.String localName,
java.lang.String prefix,
java.lang.String value,
Location loc)
throws BuildException
AnnotationsaddAttribute in interface AnnotationsBuildExceptionpublic void addElement(ParsedElementAnnotation ea) throws BuildException
AnnotationsaddElement in interface AnnotationsBuildExceptionpublic void addComment(CommentList comments) throws BuildException
AnnotationsaddComment in interface AnnotationsBuildExceptionpublic void addLeadingComment(CommentList comments) throws BuildException
addLeadingComment in interface AnnotationsBuildException