1 /*
2  *  CVS: $Id: DTDEntry.java,v 1.2 2004/07/16 16:22:34 marcus Exp $
3  * 
4  *  This file is part of zuul.
5  *
6  *  zuul is free software; you can redistribute it and/or modify
7  *  it under the terms of the GNU General Public License as published by
8  *  the Free Software Foundation; either version 2 of the License, or
9  *  (at your option) any later version.
10 *
11 *  zuul is distributed in the hope that it will be useful,
12 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 *  GNU General Public License for more details.
15 *
16 *  You should have received a copy of the GNU General Public License
17 *  along with zuul; if not, write to the Free Software
18 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19 * 
20 *  Copyrigth 2004 by marcus, leh
21 * 
22 */
23package org.jzuul.dtdparser;
24
25
26/**
27 * TODO Document new class
28 * 
29 * Created on Jun 7, 2004
30 * 
31 * 
32 * @version $Revision: 1.2 $
33 */
34public abstract class DTDEntry {
35    protected String name;
36
37    public DTDEntry(String name) {
38        if (name == null) throw new IllegalArgumentException("Name must not be null");
39        this.name = name;
40    }
41    
42    /**
43     * @param name The name to set.
44     */
45    private void setName(String name) {
46        this.name = name;
47    }
48
49    /**
50     * @return Returns the name.
51     */
52    public String getName() {
53        return name;
54    }
55
56}
57