001 package com.thaiopensource.relaxng.parse; 002 003 /** 004 * Includes attributes and child elements before any RELAX NG element. 005 */ 006 public interface Annotations { 007 void addAttribute(String ns, String localName, String prefix, String value, Location loc) 008 throws BuildException; 009 void addElement(ParsedElementAnnotation ea) throws BuildException; 010 /** 011 * Adds comments following the last initial child element annotation. 012 */ 013 void addComment(CommentList comments) throws BuildException; 014 void addLeadingComment(CommentList comments) throws BuildException; 015 }