KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > soto > util > matcher > AbstractPatternElement


1 package org.sapia.soto.util.matcher;
2
3
4 /**
5  * @author Yanick Duchesne
6  * <dl>
7  * <dt><b>Copyright:</b><dd>Copyright &#169; 2002-2003 <a HREF="http://www.sapia-oss.org">Sapia Open Source Software</a>. All Rights Reserved.</dd></dt>
8  * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the
9  * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt>
10  * </dl>
11  */

12 public abstract class AbstractPatternElement implements PatternElement {
13   protected PatternElement _next;
14
15   /**
16    * Constructor for AbstractPatternElement.
17    */

18   public AbstractPatternElement() {
19     super();
20   }
21
22   public void setNext(PatternElement elem) {
23     _next = elem;
24   }
25
26   /**
27    * @see org.sapia.soto.util.matcher.PatternElement#getNext()
28    */

29   public PatternElement getNext() {
30     return _next;
31   }
32 }
33
Popular Tags