01: // You can redistribute this software and/or modify it under the terms of
02: // the Ozone Core License version 1 published by ozone-db.org.
03: //
04: // The original code and portions created by SMB are
05: // Copyright (C) 1997-@year@ by SMB GmbH. All rights reserved.
06: //
07: // $Id: MemberElement.java,v 1.1 2001/12/18 10:31:31 per_nyfelt Exp $
08:
09: package org.ozoneDB.core.xml;
10:
11: import org.xml.sax.*;
12:
13: /**
14: * This class saves all attributes of the memberElement.
15: *
16: * @version $Revision: 1.1 $
17: * @author <a href="http://www.softwarebuero.de">SMB</a>
18: */
19: public class MemberElement implements Consts {
20:
21: //
22: // member
23: //
24:
25: /**
26: * The name of the member.
27: */
28: private String name;
29:
30: //
31: // construcor
32: //
33:
34: /**
35: * @param atts (the attributes)
36: */
37: public MemberElement(Attributes atts) {
38: name = atts.getValue(ATTR_NAME);
39: }
40:
41: //
42: // methods
43: //
44:
45: /**
46: */
47: public String getName() {
48: return name;
49: }
50:
51: /**
52: */
53: public String toString() {
54: return ("MemberElement: " + name);
55: }
56: }
|