1 |
+ |
/* |
2 |
+ |
* i-scream central monitoring system |
3 |
+ |
* Copyright (C) 2000-2002 i-scream |
4 |
+ |
* |
5 |
+ |
* This program is free software; you can redistribute it and/or |
6 |
+ |
* modify it under the terms of the GNU General Public License |
7 |
+ |
* as published by the Free Software Foundation; either version 2 |
8 |
+ |
* of the License, or (at your option) any later version. |
9 |
+ |
* |
10 |
+ |
* This program is distributed in the hope that it will be useful, |
11 |
+ |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 |
+ |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 |
+ |
* GNU General Public License for more details. |
14 |
+ |
* |
15 |
+ |
* You should have received a copy of the GNU General Public License |
16 |
+ |
* along with this program; if not, write to the Free Software |
17 |
+ |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
18 |
+ |
*/ |
19 |
+ |
|
20 |
|
//---PACKAGE DECLARATION--- |
21 |
< |
package uk.org.iscream.util; |
21 |
> |
package uk.org.iscream.cms.server.util; |
22 |
|
|
23 |
|
//---IMPORTS--- |
24 |
|
import java.io.*; |
39 |
|
* The current CVS revision of this class |
40 |
|
*/ |
41 |
|
public final String REVISION = "$Revision$"; |
42 |
+ |
|
43 |
+ |
/** |
44 |
+ |
* A reference to the system saxParser factory |
45 |
+ |
*/ |
46 |
+ |
private final SAXParserFactory _factory = SAXParserFactory.newInstance(); |
47 |
|
|
48 |
|
//---STATIC METHODS--- |
49 |
|
|
82 |
|
* Overrides the {@link java.lang.Object#toString() Object.toString()} |
83 |
|
* method to provide clean logging (every class should have this). |
84 |
|
* |
85 |
< |
* This uses the uk.org.iscream.util.NameFormat class |
85 |
> |
* This uses the uk.org.iscream.cms.server.util.NameFormat class |
86 |
|
* to format the toString() |
87 |
|
* |
88 |
|
* @return the name of this class and its CVS revision |
112 |
|
private String _name = null; |
113 |
|
|
114 |
|
//---STATIC ATTRIBUTES--- |
91 |
– |
|
92 |
– |
/** |
93 |
– |
* A static reference to the system saxParser factory |
94 |
– |
*/ |
95 |
– |
private static SAXParserFactory _factory = SAXParserFactory.newInstance(); |
115 |
|
|
116 |
|
} |