1 /*
2 * Copyright (c) 2006-2007 Creative Sphere Limited.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors:
9 *
10 * Creative Sphere - initial API and implementation
11 *
12 */
13 package org.abstracthorizon.danube.webdav.xml.dav.response.properties;
14
15 import org.abstracthorizon.danube.http.Status;
16 import org.abstracthorizon.danube.webdav.xml.XMLRenderer;
17
18 public abstract class ResponseProperty implements XMLRenderer {
19
20 /** Status 200 OK - {@link Status#OK */
21 protected Status status = Status.OK;
22
23 /**
24 * Constructor
25 */
26 public ResponseProperty() {
27 }
28
29 /**
30 * Constructor
31 * @param status status
32 */
33 public ResponseProperty(Status status) {
34 this.status = status;
35 }
36
37 /**
38 * Returns status
39 * @return status
40 */
41 public Status getStatus() {
42 return status;
43 }
44
45 }