Class ElementAnnotationBuilderImpl
- java.lang.Object
-
- com.thaiopensource.relaxng.input.parse.ElementAnnotationBuilderImpl
-
- All Implemented Interfaces:
Annotations<SourceLocation,ElementAnnotationBuilderImpl,CommentListImpl>,ElementAnnotationBuilder<SourceLocation,ElementAnnotationBuilderImpl,CommentListImpl>
public class ElementAnnotationBuilderImpl extends java.lang.Object implements ElementAnnotationBuilder<SourceLocation,ElementAnnotationBuilderImpl,CommentListImpl>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAttribute(java.lang.String ns, java.lang.String localName, java.lang.String prefix, java.lang.String value, SourceLocation loc)voidaddComment(CommentListImpl comments)voidaddElement(ElementAnnotationBuilderImpl ea)voidaddLeadingComment(CommentListImpl comments)voidaddText(java.lang.String value, SourceLocation loc, CommentListImpl comments)ElementAnnotationBuilderImplmakeElementAnnotation()
-
-
-
Method Detail
-
addText
public void addText(java.lang.String value, SourceLocation loc, CommentListImpl comments) throws BuildException- Specified by:
addTextin interfaceElementAnnotationBuilder<SourceLocation,ElementAnnotationBuilderImpl,CommentListImpl>- Throws:
BuildException
-
addAttribute
public void addAttribute(java.lang.String ns, java.lang.String localName, java.lang.String prefix, java.lang.String value, SourceLocation loc) throws BuildException- Specified by:
addAttributein interfaceAnnotations<SourceLocation,ElementAnnotationBuilderImpl,CommentListImpl>- Throws:
BuildException
-
makeElementAnnotation
public ElementAnnotationBuilderImpl makeElementAnnotation() throws BuildException
- Specified by:
makeElementAnnotationin interfaceElementAnnotationBuilder<SourceLocation,ElementAnnotationBuilderImpl,CommentListImpl>- Throws:
BuildException
-
addElement
public void addElement(ElementAnnotationBuilderImpl ea) throws BuildException
- Specified by:
addElementin interfaceAnnotations<SourceLocation,ElementAnnotationBuilderImpl,CommentListImpl>- Throws:
BuildException
-
addComment
public void addComment(CommentListImpl comments) throws BuildException
- Specified by:
addCommentin interfaceAnnotations<SourceLocation,ElementAnnotationBuilderImpl,CommentListImpl>- Throws:
BuildException
-
addLeadingComment
public void addLeadingComment(CommentListImpl comments) throws BuildException
- Specified by:
addLeadingCommentin interfaceAnnotations<SourceLocation,ElementAnnotationBuilderImpl,CommentListImpl>- Throws:
BuildException
-
-