2
Copyright (C) 2000-2006 SKYRIX Software AG
3
Copyright (C) 2006 Helge Hess
5
This file is part of SOPE.
7
SOPE is free software; you can redistribute it and/or modify it under
8
the terms of the GNU Lesser General Public License as published by the
9
Free Software Foundation; either version 2, or (at your option) any
12
SOPE is distributed in the hope that it will be useful, but WITHOUT ANY
13
WARRANTY; without even the implied warranty of MERCHANTABILITY or
14
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
15
License for more details.
17
You should have received a copy of the GNU Lesser General Public
18
License along with SOPE; see the file COPYING. If not, write to the
19
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
23
#ifndef __SoObjects_SoWebDAVRenderer_H__
24
#define __SoObjects_SoWebDAVRenderer_H__
26
#import <Foundation/NSObject.h>
31
An object which can render DAV responses of all kinds.
37
@interface SoWebDAVRenderer : NSObject
45
- (NSException *)renderObject:(id)_object inContext:(WOContext *)_ctx;
46
- (BOOL)canRenderObject:(id)_object inContext:(WOContext *)_ctx;
48
/* render individual response types, auto-selected by renderObject:inContext: */
50
- (BOOL)renderSearchResult:(id)_object inContext:(WOContext *)_ctx;
51
- (BOOL)renderLockToken:(id)_object inContext:(WOContext *)_ctx;
52
- (BOOL)renderOptions:(id)_object inContext:(WOContext *)_ctx;
53
- (BOOL)renderSubscription:(id)_object inContext:(WOContext *)_ctx;
54
- (BOOL)renderPropPatchResult:(id)_object inContext:(WOContext *)_ctx;
55
- (BOOL)renderDeleteResult:(id)_object inContext:(WOContext *)_ctx;
56
- (BOOL)renderUploadResult:(id)_object inContext:(WOContext *)_ctx;
57
- (BOOL)renderPollResult:(id)_object inContext:(WOContext *)_ctx;
58
- (BOOL)renderMkColResult:(id)_object inContext:(WOContext *)_ctx;
62
#endif /* __SoObjects_SoWebDAVRenderer_H__ */