| 1 |
package com.thaiopensource.relaxng.parse; |
| 2 |
|
| 3 |
/** |
| 4 |
* Includes attributes and child elements before any RELAX NG element. |
| 5 |
*/ |
| 6 |
public interface Annotations<L, EA, CL extends CommentList<L>> { |
| 7 |
void addAttribute(String ns, String localName, String prefix, String value, L loc) |
| 8 |
throws BuildException; |
| 9 |
void addElement(EA ea) throws BuildException; |
| 10 |
/* |
| 11 |
* Adds comments following the last initial child element annotation. |
| 12 |
*/ |
| 13 |
void addComment(CL comments) throws BuildException; |
| 14 |
void addLeadingComment(CL comments) throws BuildException; |
| 15 |
} |