1 package com.thaiopensource.relaxng.parse; 2 3 public interface GrammarSection { 4 5 static final class Combine { 6 private final String name; 7 private Combine(String name) { 8 this.name = name; 9 } 10 final public String toString() { 11 return name; 12 } 13 } 14 15 static final Combine COMBINE_CHOICE = new Combine("choice"); 16 static final Combine COMBINE_INTERLEAVE = new Combine("interleave"); 17 18 static final String START = new String ("#start"); 19 20 void define(String name, Combine combine, ParsedPattern pattern, Location loc, Annotations anno) 21 throws BuildException; 22 void topLevelAnnotation(ParsedElementAnnotation ea) throws BuildException; 23 void topLevelComment(CommentList comments) throws BuildException; 24 Div makeDiv(); 25 28 Include makeInclude(); 29 } 30 | Popular Tags |