]> err.no Git - sope/blob - sope-xml/SaxObjC/SaxDefaultHandler.m
removed NGCString
[sope] / sope-xml / SaxObjC / SaxDefaultHandler.m
1 /*
2   Copyright (C) 2000-2003 SKYRIX Software AG
3
4   This file is part of OGo
5
6   OGo is free software; you can redistribute it and/or modify it under
7   the terms of the GNU Lesser General Public License as published by the
8   Free Software Foundation; either version 2, or (at your option) any
9   later version.
10
11   OGo is distributed in the hope that it will be useful, but WITHOUT ANY
12   WARRANTY; without even the implied warranty of MERCHANTABILITY or
13   FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
14   License for more details.
15
16   You should have received a copy of the GNU Lesser General Public
17   License along with OGo; see the file COPYING.  If not, write to the
18   Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
19   02111-1307, USA.
20 */
21 // $Id$
22
23 #include "SaxDefaultHandler.h"
24 #include "SaxException.h"
25
26 @implementation SaxDefaultHandler
27
28 /* SaxContentHandler */
29
30 - (void)startDocument {
31 }
32 - (void)endDocument {
33 }
34
35 - (void)startPrefixMapping:(NSString *)_prefix uri:(NSString *)_uri {
36 }
37 - (void)endPrefixMapping:(NSString *)_prefix {
38 }
39
40 - (void)startElement:(NSString *)_localName
41   namespace:(NSString *)_ns
42   rawName:(NSString *)_rawName
43   attributes:(id<SaxAttributes>)_attributes
44 {
45 }
46 - (void)endElement:(NSString *)_localName
47   namespace:(NSString *)_ns
48   rawName:(NSString *)_rawName
49 {
50 }
51
52 - (void)characters:(unichar *)_chars length:(int)_len {
53 }
54 - (void)ignorableWhitespace:(unichar *)_chars length:(int)_len {
55 }
56
57 - (void)processingInstruction:(NSString *)_pi data:(NSString *)_data {
58 }
59 - (void)setDocumentLocator:(id<NSObject,SaxLocator>)_locator {
60 }
61 - (void)skippedEntity:(NSString *)_entityName {
62 }
63
64 /* SaxDTDHandler */
65
66 - (void)notationDeclaration:(NSString *)_name
67   publicId:(NSString *)_pubId
68   systemId:(NSString *)_sysId
69 {
70 }
71
72 - (void)unparsedEntityDeclaration:(NSString *)_name
73   publicId:(NSString *)_pubId
74   systemId:(NSString *)_sysId
75   notationName:(NSString *)_notName
76 {
77 }
78
79 /* SaxEntityResolver */
80
81 - (id)resolveEntityWithPublicId:(NSString *)_pubId systemId:(NSString *)_sysId {
82   return nil;
83 }
84
85 /* SaxErrorHandler */
86
87 - (void)warning:(SaxParseException *)_exception {
88 }
89 - (void)error:(SaxParseException *)_exception {
90 }
91
92 - (void)fatalError:(SaxParseException *)_exception {
93   [_exception raise];
94 }
95
96 @end /* SaxDefaultHandler */