KickJava   Java API By Example, From Geeks To Geeks.

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


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 SchemaType extends XMLComplexElement {
11
12    public SchemaType (DataTypes parent) {
13       super(parent, true);
14    }
15
16    public void setValue(String JavaDoc v) {
17       if (isReadOnly) {
18          throw new RuntimeException JavaDoc("Can't set the value of read only element!");
19       }
20       this.value = v;
21    }
22    
23    protected void fillStructure () {}
24
25 }
26
27
Popular Tags