KickJava   Java API By Example, From Geeks To Geeks.

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


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

11 public class TypeDeclarations extends XMLCollection {
12
13    // min=0, max=unbounded
14
public TypeDeclarations (Package JavaDoc p) {
15       super(p, false);
16    }
17
18    public XMLElement generateNewElement() {
19       return new TypeDeclaration(this);
20    }
21
22    public TypeDeclaration getTypeDeclaration (String JavaDoc Id) {
23       return (TypeDeclaration)getCollectionElement(Id);
24    }
25
26 }
27
Popular Tags