1 19 package org.netbeans.modules.subversion.options; 20 21 import java.util.regex.Pattern ; 22 23 27 public class AnnotationExpression { 28 29 private String urlExp; 30 private String annotationExp; 31 private Pattern urlPattern; 32 33 public AnnotationExpression(String urlExp, String annotationExp) { 34 this.urlExp = urlExp; 35 this.annotationExp = annotationExp; 36 this.urlPattern = Pattern.compile(urlExp); 37 } 38 public String getUrlExp() { 39 return urlExp; 40 } 41 public String getAnnotationExp() { 42 return annotationExp; 43 } 44 public Pattern getUrlPatern() { 45 return urlPattern; 46 } 47 void setUrlExp(String urlExp) { 48 this.urlExp = urlExp; 49 } 50 void setAnnotationExp(String annotationExp) { 51 this.annotationExp = annotationExp; 52 } 53 } 54 | Popular Tags |