01: /*
02: * The contents of this file are subject to the
03: * Mozilla Public License Version 1.1 (the "License");
04: * you may not use this file except in compliance with the License.
05: * You may obtain a copy of the License at http://www.mozilla.org/MPL/
06: *
07: * Software distributed under the License is distributed on an "AS IS"
08: * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.
09: * See the License for the specific language governing rights and
10: * limitations under the License.
11: *
12: * The Initial Developer of the Original Code is Simulacra Media Ltd.
13: * Portions created by Simulacra Media Ltd are Copyright (C) Simulacra Media Ltd, 2004.
14: *
15: * All Rights Reserved.
16: *
17: * Contributor(s):
18: */
19: package org.openharmonise.webdav.client.methods;
20:
21: /**
22: * Contains property information for a propfind request.
23: *
24: * @author Matthew Large
25: * @version $Revision: 1.1 $
26: *
27: */
28: public class PropFindProperty {
29:
30: /**
31: * Namespace.
32: */
33: private String m_sNamespaceURI = null;
34:
35: /**
36: * Name.
37: */
38: private String m_sName = null;
39:
40: /**
41: * Creates a new propfind property.
42: *
43: * @param sNamespaceURI Namespace
44: * @param sName Name
45: */
46: public PropFindProperty(String sNamespaceURI, String sName) {
47: this .m_sNamespaceURI = sNamespaceURI;
48: this .m_sName = sName;
49: }
50:
51: /**
52: * Returns the namespace.
53: *
54: * @return Namespace
55: */
56: public String getNamespaceURI() {
57: return this .m_sNamespaceURI;
58: }
59:
60: /**
61: * Returns the name.
62: *
63: * @return Name
64: */
65: public String getName() {
66: return this.m_sName;
67: }
68: }
|