KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > thaiopensource > relaxng > impl > AfterPattern


1 package com.thaiopensource.relaxng.impl;
2
3
4 class AfterPattern extends BinaryPattern {
5   AfterPattern(Pattern p1, Pattern p2) {
6     super(false,
7       combineHashCode(AFTER_HASH_CODE, p1.hashCode(), p2.hashCode()),
8       p1,
9       p2);
10   }
11
12   boolean isNotAllowed() {
13     return p1.isNotAllowed();
14   }
15
16   Object JavaDoc apply(PatternFunction f) {
17     return f.caseAfter(this);
18   }
19   void accept(PatternVisitor visitor) {
20     // XXX visitor.visitAfter(p1, p2);
21
}
22 }
23
Popular Tags