source: trunk/greenstone3-extensions/gs3build/src/org/greenstone/gsdl3/gs3build/schema/SchemaChoice.java@ 12188

Last change on this file since 12188 was 12188, checked in by kjdon, 18 years ago

Initial revision

  • Property svn:keywords set to Author Date Id Revision
File size: 436 bytes
Line 
1package org.greenstone.gsdl3.gs3build.schema;
2
3import org.w3c.dom.Element;
4import org.w3c.dom.Node;
5import org.w3c.dom.NodeList;
6
7import java.util.List;
8import java.util.ArrayList;
9
10public class SchemaChoice extends SchemaNode
11{
12 List alternatives;
13
14 public SchemaChoice(Element element) throws SchemaException
15 {
16 super(element);
17 }
18
19 protected List _allocate()
20 { this.alternatives = new ArrayList();
21 return this.alternatives;
22 }
23}
Note: See TracBrowser for help on using the repository browser.