KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ozoneDB > core > xml > ValueArrayElement


1 // You can redistribute this software and/or modify it under the terms of
2
// the Ozone Core License version 1 published by ozone-db.org.
3
//
4
// The original code and portions created by SMB are
5
// Copyright (C) 1997-@year@ by SMB GmbH. All rights reserved.
6
//
7
// $Id: ValueArrayElement.java,v 1.2 2002/08/27 08:32:26 per_nyfelt Exp $
8

9 package org.ozoneDB.core.xml;
10
11 import org.xml.sax.*;
12
13 /**
14  * This class saves all attributes of the valueArrayElement.
15  *
16  * @version $Revision: 1.2 $
17  * @author <a HREF="http://www.softwarebuero.de">SMB</a>
18  */

19 public class ValueArrayElement implements Consts {
20
21     //
22
// member
23
//
24

25     /**
26      * The type of the array.
27      */

28     private String JavaDoc type;
29
30     /**
31      * The id of the array.
32      */

33     private String JavaDoc id;
34
35     //
36
// construcor
37
//
38

39     /**
40      */

41     public ValueArrayElement () {
42     }
43
44     /**
45      * @param atts (the attributes)
46      */

47     public ValueArrayElement (Attributes atts) {
48         type = atts.getValue(ATTR_TYPE);
49         id = atts.getValue(ATTR_ID);
50     }
51
52     //
53
// methods
54
//
55

56     /**
57      */

58     public String JavaDoc getType() {
59         return type;
60     }
61
62     /**
63      */

64     public String JavaDoc getId() {
65         return id;
66     }
67 }
68
69
Popular Tags