KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > slide > webdav > util > AbstractWebdavHelper


1 /*
2  * $Header: /home/cvs/jakarta-slide/src/webdav/server/org/apache/slide/webdav/util/AbstractWebdavHelper.java,v 1.13 2004/08/02 16:36:06 unico Exp $
3  * $Revision: 1.13 $
4  * $Date: 2004/08/02 16:36:06 $
5  *
6  * ====================================================================
7  *
8  * Copyright 1999-2002 The Apache Software Foundation
9  *
10  * Licensed under the Apache License, Version 2.0 (the "License");
11  * you may not use this file except in compliance with the License.
12  * You may obtain a copy of the License at
13  *
14  * http://www.apache.org/licenses/LICENSE-2.0
15  *
16  * Unless required by applicable law or agreed to in writing, software
17  * distributed under the License is distributed on an "AS IS" BASIS,
18  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  * See the License for the specific language governing permissions and
20  * limitations under the License.
21  *
22  */

23
24 package org.apache.slide.webdav.util;
25
26 import org.apache.slide.common.NamespaceAccessToken;
27 import org.apache.slide.common.SlideToken;
28 import org.apache.slide.content.NodeProperty.NamespaceCache;
29 import org.jdom.Namespace;
30 import org.jdom.input.SAXBuilder;
31 import org.jdom.output.XMLOutputter;
32
33
34 /**
35  * Helper class for handling report resources.
36  *
37  */

38
39 public class AbstractWebdavHelper
40 implements AclConstants, DeltavConstants, DaslConstants {
41     
42     
43     // an XML outputter
44
protected static XMLOutputter xmlOut = new XMLOutputter();
45     
46     // an XML parser
47
protected static SAXBuilder xmlBuilder = new SAXBuilder();
48         
49     protected static final Namespace DNSP = NamespaceCache.DEFAULT_NAMESPACE;
50     
51     
52     // the Slide token
53
protected SlideToken sToken = null;
54     
55     // the namespace access token
56
protected NamespaceAccessToken nsaToken = null;
57     
58     /**
59      * Protected contructor
60      */

61     protected AbstractWebdavHelper( SlideToken sToken, NamespaceAccessToken nsaToken ) {
62         this.sToken = sToken;
63         this.nsaToken = nsaToken;
64     }
65
66 }
67
68
Popular Tags