KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > shark > xpdl > elements > Route


1 package org.enhydra.shark.xpdl.elements;
2
3 import org.enhydra.shark.xpdl.XMLComplexElement;
4
5 /**
6  * Represents coresponding element from XPDL schema.
7  *
8  * @author Sasa Bojanic
9  */

10 public class Route extends XMLComplexElement {
11
12    public Route (ActivityTypes parent) {
13       super(parent, true);
14    }
15
16    /**
17    * Overrides super-class method to indicate that element
18    * is never empty, so it's tag will always be written into
19    * XML file.
20    *
21    * @return <tt>false</tt>
22    */

23    public boolean isEmpty() {
24       return false;
25    }
26
27    protected void fillStructure () {}
28 }
29
Popular Tags