View Javadoc

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.fs;
14  
15  import org.abstracthorizon.danube.webdav.fs.properties.GetContentLength;
16  import org.abstracthorizon.danube.webdav.fs.properties.GetContentType;
17  import org.abstracthorizon.danube.webdav.fs.properties.GetLastModified;
18  import org.abstracthorizon.danube.webdav.fs.properties.Source;
19  import org.abstracthorizon.danube.webdav.xml.XMLParserHandler;
20  import org.abstracthorizon.danube.webdav.xml.dav.DAVFactory;
21  
22  /**
23   * DAV Factory that returns file system specific request properties
24   *
25   * @author Daniel Sendula
26   */
27  public class FSDAVFactory extends DAVFactory {
28  
29  
30      public GetContentLength newGetContentLength(XMLParserHandler parent) {
31          return new GetContentLength(parent);
32      }
33  
34      public GetContentType newGetContentType(XMLParserHandler parent) {
35          return new GetContentType(parent);
36      }
37  
38      public GetLastModified newGetLastModified(XMLParserHandler parent) {
39          return new GetLastModified(parent);
40      }
41  
42      public Source newSource(XMLParserHandler parent) {
43          return new Source(parent);
44      }
45  
46  }