~gz/ubuntu/wily/steam/new_rel_udev_rules

« back to all changes in this revision

Viewing changes to sources/_XML/AbstractCallbacks.pike

  • Committer: Package Import Robot
  • Author(s): Felix Geyer
  • Date: 2013-10-29 19:51:18 UTC
  • mfrom: (1.1.4) (0.1.4 trusty-proposed)
  • Revision ID: package-import@ubuntu.com-20131029195118-b9bxciz5hwx5z459
Tags: 1:1.0.0.39-2ubuntu1
Add an epoch to the version number as there was an unrelated steam package
in the archive with a higher version number.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Pike Extension Modules - A collection of modules for the Pike Language
3
 
 * Copyright � 2000-2003 The Caudium Group
4
 
 * 
5
 
 * This program is free software; you can redistribute it and/or
6
 
 * modify it under the terms of the GNU General Public License as
7
 
 * published by the Free Software Foundation; either version 2 of the
8
 
 * License, or (at your option) any later version.
9
 
 * 
10
 
 * This program is distributed in the hope that it will be useful, but
11
 
 * WITHOUT ANY WARRANTY; without even the implied warranty of
12
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13
 
 * General Public License for more details.
14
 
 * 
15
 
 * You should have received a copy of the GNU General Public License
16
 
 * along with this program; if not, write to the Free Software
17
 
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18
 
 *
19
 
 * $Id: AbstractCallbacks.pike,v 1.1.1.1 2006/03/27 12:40:18 exodusd Exp $
20
 
 */
21
 
 
22
 
/*
23
 
 * File licensing and authorship information block.
24
 
 *
25
 
 * Version: MPL 1.1/LGPL 2.1
26
 
 *
27
 
 * The contents of this file are subject to the Mozilla Public License Version
28
 
 * 1.1 (the "License"); you may not use this file except in compliance with
29
 
 * the License. You may obtain a copy of the License at
30
 
 * http://www.mozilla.org/MPL/
31
 
 *
32
 
 * Software distributed under the License is distributed on an "AS IS" basis,
33
 
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
34
 
 * for the specific language governing rights and limitations under the
35
 
 * License.
36
 
 *
37
 
 * The Initial Developer of the Original Code is
38
 
 *
39
 
 * Marek Habersack <grendel@caudium.net>
40
 
 *
41
 
 * Portions created by the Initial Developer are Copyright (C) Marek Habersack
42
 
 * & The Caudium Group. All Rights Reserved.
43
 
 *
44
 
 * Contributor(s):
45
 
 *
46
 
 * Alternatively, the contents of this file may be used under the terms of
47
 
 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
48
 
 * in which case the provisions of the LGPL are applicable instead
49
 
 * of those above. If you wish to allow use of your version of this file only
50
 
 * under the terms of the LGPL, and not to allow others to use your version
51
 
 * of this file under the terms of the MPL, indicate your decision by
52
 
 * deleting the provisions above and replace them with the notice
53
 
 * and other provisions required by the LGPL. If you do not delete
54
 
 * the provisions above, a recipient may use your version of this file under
55
 
 * the terms of any one of the MPL or the LGPL.
56
 
 *
57
 
 * Significant Contributors to this file are:
58
 
 *
59
 
 */
60
 
 
61
 
//! Callback on internal subset declaration.
62
 
//!
63
 
//! @param name
64
 
//!  The root element name
65
 
//!
66
 
//! @param externalID
67
 
//!  The external ID
68
 
//!
69
 
//! @param systemID
70
 
//!  The SYSTEM ID (e.g. filename or URL)
71
 
void internalSubsetSAX(object parser, string name, string externalID, string systemID, void|mixed userData)
72
 
{}
73
 
 
74
 
//! Is this document tagged standalone or not.
75
 
//!
76
 
//! @returns
77
 
//!   0 -- the document is not standalone, 1 -- the document is standalone
78
 
int isStandaloneSAX(object parser, void|mixed userData)
79
 
{
80
 
  return 0;
81
 
}
82
 
 
83
 
//! Does this document have an internal subset
84
 
//!
85
 
//! @returns
86
 
//!  0 -- internal subset is absent, 1 -- internal subset is present.
87
 
int hasInternalSubsetSAX(object parser, void|mixed userData)
88
 
{
89
 
  return 0;
90
 
}
91
 
 
92
 
//! Does this document have an external subset
93
 
//!
94
 
//! @returns
95
 
//!  0 -- external subset is absent, 1 -- external subset is present.
96
 
int hasExternalSubsetSAX(object parser, void|mixed userData)
97
 
{
98
 
  return 0;
99
 
}
100
 
 
101
 
string getEntitySAX(object parser, string name, void|mixed userData)
102
 
{
103
 
  return 0;
104
 
}
105
 
 
106
 
//! An entity definition has been parsed.
107
 
//!
108
 
//! @param name
109
 
//!  The entity name
110
 
//!
111
 
//! @param type
112
 
//!  The entity type
113
 
//!
114
 
//! @param publicId
115
 
//!  The public ID of the entity
116
 
//!
117
 
//! @param systemId
118
 
//!  The system ID of the entity
119
 
//!
120
 
//! @param content
121
 
//!  The entity value (unprocessed)
122
 
void entityDeclSAX(object parser, string name, int type, string publicId,
123
 
                   string systemId, string content, void|mixed userData)
124
 
{}
125
 
 
126
 
//! A notation declaration has been parsed.
127
 
//!
128
 
//! @param name
129
 
//!  The name of the notation
130
 
//!
131
 
//! @param publicId
132
 
//!  The public ID of the entity
133
 
//!
134
 
//! @param systemId
135
 
//!  The system ID of the entity
136
 
void notationDeclSAX(object parser, string name, string publicId, string systemId, void|mixed userData)
137
 
{}
138
 
 
139
 
//! An attribute definition has been parsed
140
 
//!
141
 
//! @param elem
142
 
//!  The name of the element
143
 
//!
144
 
//! @param fullname
145
 
//!  The attribute name
146
 
//!
147
 
//! @param type
148
 
//!  The attribute type
149
 
//!
150
 
//! @param def
151
 
//!  The type of default value
152
 
//!
153
 
//! @param defaultValue
154
 
//!  The default value of the attribute
155
 
//!
156
 
//! @param enumvals
157
 
//!  An array containing the enumerated value set for the attribute
158
 
void attributeDeclSAX(object parser, string elem, string fullname, int type, int def,
159
 
                      string defaultValue, array(string) enumvals, void|mixed userData)
160
 
{}
161
 
 
162
 
//! An element definition has been parsed
163
 
//!
164
 
//! @param name
165
 
//!  The element name
166
 
//!
167
 
//! @param type
168
 
//!  The element type
169
 
//!
170
 
//! @param content
171
 
//!  The element value tree represented as a mapping.
172
 
void elementDeclSAX(object parser, string name, int type, mapping(string:string|int) content,
173
 
                    void|mixed userData)
174
 
{}
175
 
 
176
 
//! An unparsed entity declaration was parsed
177
 
//!
178
 
//! @param name
179
 
//!  The name of the entity
180
 
//!
181
 
//! @param publicId
182
 
//!  The public ID of the entity
183
 
//!
184
 
//! @param systemId
185
 
//!  The system ID of the entity
186
 
//!
187
 
//! @param notationName
188
 
//!  The name of the notation
189
 
void unparsedEntityDeclSAX(object parser, string name, string publicId, string systemId, string notationName,
190
 
                           void|mixed userData)
191
 
{}
192
 
 
193
 
//! The start of the document was parsed
194
 
void startDocumentSAX(object parser, void|mixed userData)
195
 
{}
196
 
 
197
 
//! The end of the document was parsed
198
 
void endDocumentSAX(object parser, void|mixed userData)
199
 
{}
200
 
 
201
 
//! An opening tag has been parsed
202
 
//!
203
 
//! @param name
204
 
//!  The tag name
205
 
//!
206
 
//! @param ettrs
207
 
//!  A mapping with all the attributes parsed in the tag
208
 
void startElementSAX(object parser, string name, mapping(string:string) attrs, void|mixed userData)
209
 
{}
210
 
 
211
 
//! A closing tag has been parsed
212
 
//!
213
 
//! @param name
214
 
//!  The name of the tag.
215
 
void endElementSAX(object parser, string name, void|mixed userData)
216
 
{}
217
 
 
218
 
//! An entity reference has been parsed.
219
 
//!
220
 
//! @param name
221
 
//!  The entity name
222
 
void referenceSAX(object parser, string name, void|mixed userData)
223
 
{}
224
 
 
225
 
//! The parser returned some arbitrary characters.
226
 
//!
227
 
//! @param chars
228
 
//!  The parsed characters.
229
 
void charactersSAX(object parser, string chars, void|mixed userData)
230
 
{}
231
 
 
232
 
//! Some ignorable white space characters were parsed
233
 
//!
234
 
//! @param chars
235
 
//!  The parsed characters
236
 
void ignorableWhitespaceSAX(object parser, string chars, void|mixed userData)
237
 
{}
238
 
 
239
 
//! A processing instruction has been parsed
240
 
//!
241
 
//! @param target
242
 
//!  The target name
243
 
//!
244
 
//! @param data
245
 
//!  The PI data
246
 
void processingInstructionSAX(object parser, string target, string data, void|mixed userData)
247
 
{}
248
 
 
249
 
//! A comment has been parsed
250
 
//!
251
 
//! @param value
252
 
//!  The contents of the comment block
253
 
void commentSAX(object parser, string value, void|mixed userData)
254
 
{}
255
 
 
256
 
//! Parser warning callback.
257
 
//!
258
 
//! @param msg
259
 
//!  The warning text
260
 
void warningSAX(object parser, string msg, void|mixed userData)
261
 
{}
262
 
 
263
 
//! Parser error callback.
264
 
//!
265
 
//! @param msg
266
 
//!  The warning text
267
 
void errorSAX(object parser, string msg, void|mixed userData)
268
 
{}
269
 
 
270
 
//! Parser fatal error callback.
271
 
//!
272
 
//! @param msg
273
 
//!  The warning text
274
 
void fatalErrorSAX(object parser, string msg, void|mixed userData)
275
 
{}
276
 
 
277
 
void getParameterEntitySAX(object parser, void|mixed userData)
278
 
{}
279
 
 
280
 
//! A PCDATA block has been parsed
281
 
//!
282
 
//! @param value
283
 
//!  The contents of the block
284
 
void cdataBlockSAX(object parser, string value, void|mixed userData)
285
 
{}
286
 
 
287
 
//! An external subset declaration has been parsed
288
 
//!
289
 
//! @param name
290
 
//!  The root element name
291
 
//!
292
 
//! @param externalId
293
 
//!  The external ID
294
 
//!
295
 
//! @param systemId
296
 
//!  The system ID (e.g. a filename or URL)
297
 
void externalSubsetSAX(object parser, string name, string externalId, string systemId,
298
 
                       void|mixed userData)
299
 
{}
300
 
 
301
 
 
302
 
 
303
 
 
304
 
 
305
 
 
306
 
 
307
 
 
308
 
 
309
 
 
310