1 package com.thaiopensource.relaxng.impl; 2 3 import org.relaxng.datatype.Datatype; 4 5 public interface PatternVisitor { 6 void visitEmpty(); 7 void visitNotAllowed(); 8 void visitError(); 9 void visitGroup(Pattern p1, Pattern p2); 10 void visitInterleave(Pattern p1, Pattern p2); 11 void visitChoice(Pattern p1, Pattern p2); 12 void visitOneOrMore(Pattern p); 13 void visitElement(NameClass nc, Pattern content); 14 void visitAttribute(NameClass ns, Pattern value); 15 void visitData(Datatype dt); 16 void visitDataExcept(Datatype dt, Pattern except); 17 void visitValue(Datatype dt, Object obj); 18 void visitText(); 19 void visitList(Pattern p); 20 } 21 | Popular Tags |