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.java;
14
15 import org.abstracthorizon.danube.webdav.java.properties.GetContentLength;
16 import org.abstracthorizon.danube.webdav.java.properties.GetContentType;
17
18 import org.abstracthorizon.danube.webdav.xml.XMLParserHandler;
19 import org.abstracthorizon.danube.webdav.xml.dav.DAVFactory;
20
21 /**
22 * Java DAV factory. It returns java related properties
23 *
24 * @author Daniel Sendula
25 */
26 public class JavaDAVFactory extends DAVFactory {
27
28 /**
29 * Returns new {@link GetContentLength} object
30 * @param parent parent parser handler
31 * @return new {@link GetContentLength} object
32 */
33 public GetContentLength newGetContentLength(XMLParserHandler parent) {
34 return new GetContentLength(parent);
35 }
36
37 /**
38 * Returns new {@link GetContentType} object
39 * @param parent parent parser handler
40 * @return new {@link GetContentType} object
41 */
42 public GetContentType newGetContentType(XMLParserHandler parent) {
43 return new GetContentType(parent);
44 }
45
46 }