1 6 7 package com.hp.hpl.jena.graph.query.regexptrees; 8 9 import java.util.List ; 10 11 17 public interface RegexpTreeGenerator 18 { 19 23 public abstract RegexpTree getAnySingle(); 24 25 29 public abstract RegexpTree getStartOfLine(); 30 31 35 public abstract RegexpTree getEndOfLine(); 36 37 41 public abstract RegexpTree getText( char ch ); 42 43 46 public abstract RegexpTree getZeroOrMore( RegexpTree d ); 47 48 51 public abstract RegexpTree getOneOrMore( RegexpTree d ); 52 53 56 public abstract RegexpTree getOptional( RegexpTree d ); 57 58 64 public abstract RegexpTree getSequence( List operands ); 65 66 72 public abstract RegexpTree getAlternatives( List operands ); 73 74 78 public abstract RegexpTree getNothing(); 79 80 84 public abstract RegexpTree getClass( String chars, boolean reject ); 85 86 90 public abstract RegexpTree getParen( RegexpTree operand, int index ); 91 92 95 public abstract RegexpTree getBackReference( int n ); 96 } 97 98 | Popular Tags |