|
Namespace: |
|
|
@lang: |
|
|
http://suika.fam.cx/~wakaba/archive/2004/8/18/lang# |
|
|
@license: |
|
|
http://suika.fam.cx/~wakaba/archive/2004/8/18/license# |
|
|
@ManakaiDOMCore: |
|
|
http://suika.fam.cx/~wakaba/archive/2004/mdom-core# |
|
|
@TreeCore:\ |
|
1 |
Module: |
Module: |
2 |
@Name: DOMViews |
@QName: |
3 |
|
MDOM:DOMViews |
4 |
@Namespace: |
@Namespace: |
5 |
http://suika.fam.cx/~wakaba/archive/2004/dom/views# |
http://suika.fam.cx/~wakaba/archive/2004/dom/views# |
6 |
@BindingName: |
@BindingName: |
8 |
@@Type: |
@@Type: |
9 |
lang:IDL-DOM |
lang:IDL-DOM |
10 |
@@prefix: dom.w3c.org |
@@prefix: dom.w3c.org |
11 |
|
|
12 |
@Description: |
@Description: |
13 |
@@lang:en |
@@lang:en |
14 |
@@@: |
@@@: |
24 |
@@Mail: w@suika.fam.cx |
@@Mail: w@suika.fam.cx |
25 |
@License: |
@License: |
26 |
license:Perl+MPL |
license:Perl+MPL |
27 |
@Date.RCS: |
@Date: |
28 |
$Date$ |
@@@: |
29 |
|
$Date$ |
30 |
|
@@ContentType: |
31 |
|
dis:Date.RCS |
32 |
|
|
33 |
@ConditionDef: |
@DefaultFor: |
34 |
@@Name:DOM2 |
ManakaiDOM:ManakaiDOMLatest |
|
@NormalCondition:DOM2 |
|
35 |
|
|
36 |
@Feature: |
@Require: |
37 |
@@Name:Views |
@@Module: |
38 |
|
@@@Name: DOMCore |
39 |
|
@@Module: |
40 |
|
@@@Name: DOMViews |
41 |
|
@@@WithFor: |
42 |
|
ManakaiDOM:ManakaiDOM |
43 |
|
@@Module: |
44 |
|
@@@Name: DOMViews |
45 |
|
@@@WithFor: |
46 |
|
ManakaiDOM:ManakaiDOM2 |
47 |
|
@@Module: |
48 |
|
@@@Name: DOMViews |
49 |
|
@@@WithFor: |
50 |
|
ManakaiDOM:ManakaiDOMLatest |
51 |
|
|
52 |
|
Namespace: |
53 |
|
@dis: |
54 |
|
http://suika.fam.cx/~wakaba/archive/2004/8/18/lang#dis-- |
55 |
|
@dis2pm: |
56 |
|
http://suika.fam.cx/~wakaba/archive/2004/11/8/dis2pm# |
57 |
|
@DOMMain: |
58 |
|
http://suika.fam.cx/~wakaba/archive/2004/dom/main# |
59 |
|
@lang: |
60 |
|
http://suika.fam.cx/~wakaba/archive/2004/8/18/lang# |
61 |
|
@license: |
62 |
|
http://suika.fam.cx/~wakaba/archive/2004/8/18/license# |
63 |
|
@ManakaiDOM: |
64 |
|
http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom# |
65 |
|
@ManakaiDOMCore: |
66 |
|
http://suika.fam.cx/~wakaba/archive/2004/mdom-core# |
67 |
|
@MDOM: |
68 |
|
http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom#ManakaiDOM. |
69 |
|
@MDOMX: |
70 |
|
http://suika.fam.cx/~wakaba/archive/2004/8/4/manakai-dom-exception# |
71 |
|
@Perl: |
72 |
|
http://suika.fam.cx/~wakaba/archive/2004/8/18/lang#Perl-- |
73 |
|
@rdf: |
74 |
|
http://www.w3.org/1999/02/22-rdf-syntax-ns# |
75 |
|
@rdfs: |
76 |
|
http://www.w3.org/2000/01/rdf-schema# |
77 |
|
@TreeCore:\ |
78 |
|
|
79 |
|
## -- Features |
80 |
|
|
81 |
|
ElementTypeBinding: |
82 |
|
@Name: FeatureDef |
83 |
|
@ElementType: |
84 |
|
dis:ResourceDef |
85 |
|
@ShadowContent: |
86 |
|
@@rdf:type: |
87 |
|
DOMMain:DOMFeature |
88 |
|
@@AliasFor: |
89 |
|
@@@@: |
90 |
|
::ManakaiDOM:all |
91 |
|
@@@For: |
92 |
|
!=ManakaiDOM:all |
93 |
|
ElementTypeBinding: |
94 |
|
@Name: FeatureVerDef |
95 |
|
@ElementType: |
96 |
|
dis:ResourceDef |
97 |
|
@ShadowContent: |
98 |
|
@@rdf:type: |
99 |
|
DOMMain:DOMFeature |
100 |
|
|
101 |
|
ElementTypeBinding: |
102 |
|
@Name: featureName |
103 |
|
@ElementType: |
104 |
|
dis:AppName |
105 |
|
@ShadowContent: |
106 |
|
@@ContentType: |
107 |
|
dis:String |
108 |
|
|
109 |
|
FeatureDef: |
110 |
|
@featureName: Views |
111 |
|
@QName: ViewsFeature |
112 |
|
@FeatureVerDef: |
113 |
@@Version:2.0 |
@@Version:2.0 |
114 |
|
@@QName: ViewsFeature20 |
115 |
|
@@ISA: ViewsFeature |
116 |
@@FullName: |
@@FullName: |
117 |
@@@lang:en |
@@@lang:en |
118 |
@@@@: DOM Level 2 Views |
@@@@: DOM Level 2 Views |
119 |
@@ImplNote: |
@@DOMMain:requireFeature: |
120 |
@@@lang:en |
DOMCore:CoreFeature20 |
121 |
|
|
122 |
|
ElementTypeBinding: |
123 |
|
@Name: PerlDef |
124 |
|
@ElementType: |
125 |
|
dis:Def |
126 |
|
@ShadowContent: |
127 |
|
@@ContentType: |
128 |
|
lang:Perl |
129 |
|
|
130 |
|
ElementTypeBinding: |
131 |
|
@Name: IF |
132 |
|
@ElementType: |
133 |
|
dis:ResourceDef |
134 |
|
@ShadowContent: |
135 |
|
@@rdf:type: |
136 |
|
@@@@: |
137 |
|
dis:MultipleResource |
138 |
|
@@@ForCheck: |
139 |
|
!ManakaiDOM:ForClass !ManakaiDOM:ForIF |
140 |
|
@@rdf:type: |
141 |
|
@@@@: |
142 |
|
ManakaiDOM:IF |
143 |
|
@@@ForCheck: |
144 |
|
ManakaiDOM:ForIF |
145 |
|
@@rdf:type: |
146 |
|
@@@@: |
147 |
|
ManakaiDOM:Class |
148 |
|
@@@ForCheck: |
149 |
|
ManakaiDOM:ForClass |
150 |
|
@@resourceFor: |
151 |
|
ManakaiDOM:ForIF |
152 |
|
@@resourceFor: |
153 |
|
@@@@: |
154 |
|
ManakaiDOM:ForClass |
155 |
|
@@@ForCheck: |
156 |
|
ManakaiDOM:ManakaiDOM !=ManakaiDOM:ManakaiDOM |
157 |
|
@@ForCheck: |
158 |
|
ManakaiDOM:DOM |
159 |
|
@@ISA: |
160 |
|
@@@@: |
161 |
|
ManakaiDOM:ManakaiDOMObject |
162 |
|
@@@ForCheck: |
163 |
|
ManakaiDOM:ForClass |
164 |
|
@@ISA: |
165 |
@@@@: |
@@@@: |
166 |
The support for the <Feature:Core>/<FeatureVer:2.0> |
::ManakaiDOM:ManakaiDOM |
167 |
feature is required. |
@@@ForCheck: |
168 |
|
ManakaiDOM:ForIF |
169 |
|
@@@For: |
170 |
|
ManakaiDOM:ManakaiDOM2 |
171 |
|
|
172 |
|
ElementTypeBinding: |
173 |
|
@Name: Method |
174 |
|
@ElementType: |
175 |
|
dis:ResourceDef |
176 |
|
@ShadowContent: |
177 |
|
@@rdf:type: |
178 |
|
ManakaiDOM:DOMMethod |
179 |
|
@@ForCheck: |
180 |
|
ManakaiDOM:DOM !=ManakaiDOM:ManakaiDOM |
181 |
|
ElementTypeBinding: |
182 |
|
@Name: IntMethod |
183 |
|
@ElementType: |
184 |
|
dis:ResourceDef |
185 |
|
@ShadowContent: |
186 |
|
@@rdf:type: |
187 |
|
ManakaiDOM:DOMMethod |
188 |
|
@@ForCheck: |
189 |
|
ManakaiDOM:ManakaiDOM !=ManakaiDOM:ManakaiDOM |
190 |
|
@@ManakaiDOM:isForInternal: 1 |
191 |
|
ElementTypeBinding: |
192 |
|
@Name: ReMethod |
193 |
|
@ElementType: |
194 |
|
dis:ResourceDef |
195 |
|
@ShadowContent: |
196 |
|
@@rdf:type: |
197 |
|
ManakaiDOM:DOMMethod |
198 |
|
@@ForCheck: |
199 |
|
ManakaiDOM:ManakaiDOM !=ManakaiDOM:ManakaiDOM |
200 |
|
@@ManakaiDOM:isRedefining: 1 |
201 |
|
ElementTypeBinding: |
202 |
|
@Name: Param |
203 |
|
@ElementType: |
204 |
|
dis:ResourceDef |
205 |
|
@ShadowContent: |
206 |
|
@@rdf:type: |
207 |
|
ManakaiDOM:DOMMethodParameter |
208 |
|
ElementTypeBinding: |
209 |
|
@Name: Exception |
210 |
|
@ElementType: |
211 |
|
ManakaiDOM:raises |
212 |
|
|
213 |
|
ElementTypeBinding: |
214 |
|
@Name: Return |
215 |
|
@ElementType: |
216 |
|
dis:ResourceDef |
217 |
|
@ShadowContent: |
218 |
|
@@rdf:type: |
219 |
|
ManakaiDOM:DOMMethodReturn |
220 |
|
ElementTypeBinding: |
221 |
|
@Name: Attr |
222 |
|
@ElementType: |
223 |
|
dis:ResourceDef |
224 |
|
@ShadowContent: |
225 |
|
@@rdf:type: |
226 |
|
ManakaiDOM:DOMAttribute |
227 |
|
@@ForCheck: |
228 |
|
ManakaiDOM:DOM !=ManakaiDOM:ManakaiDOM |
229 |
|
|
230 |
|
ElementTypeBinding: |
231 |
|
@Name: ReAttr |
232 |
|
@ElementType: |
233 |
|
dis:ResourceDef |
234 |
|
@ShadowContent: |
235 |
|
@@rdf:type: |
236 |
|
ManakaiDOM:DOMAttribute |
237 |
|
@@ForCheck: |
238 |
|
ManakaiDOM:ManakaiDOM !=ManakaiDOM:ManakaiDOM |
239 |
|
@@ManakaiDOM:isRedefining: 1 |
240 |
|
ElementTypeBinding: |
241 |
|
@Name: Get |
242 |
|
@ElementType: |
243 |
|
dis:ResourceDef |
244 |
|
@ShadowContent: |
245 |
|
@@rdf:type: |
246 |
|
ManakaiDOM:DOMAttrGet |
247 |
|
ElementTypeBinding: |
248 |
|
@Name: Set |
249 |
|
@ElementType: |
250 |
|
dis:ResourceDef |
251 |
|
@ShadowContent: |
252 |
|
@@rdf:type: |
253 |
|
ManakaiDOM:DOMAttrSet |
254 |
|
ElementTypeBinding: |
255 |
|
@Name: InCase |
256 |
|
@ElementType: |
257 |
|
dis:ResourceDef |
258 |
|
@ShadowContent: |
259 |
|
@@rdf:type: |
260 |
|
ManakaiDOM:InCase |
261 |
|
|
262 |
|
ElementTypeBinding: |
263 |
|
@Name: ConstGroup |
264 |
|
@ElementType: |
265 |
|
dis:ResourceDef |
266 |
|
@ShadowContent: |
267 |
|
@@rdf:type: |
268 |
|
ManakaiDOM:ConstGroup |
269 |
|
@@ForCheck: |
270 |
|
ManakaiDOM:DOM !=ManakaiDOM:ManakaiDOM |
271 |
|
|
272 |
|
ElementTypeBinding: |
273 |
|
@Name: L2IF |
274 |
|
@ElementType: |
275 |
|
DOMMain:implementFeature |
276 |
|
@ShadowContent: |
277 |
|
@@@: ViewsFeature20 |
278 |
|
@@For: |
279 |
|
ManakaiDOM:DOM2 |
280 |
|
@ShadowSibling: |
281 |
|
@@For: |
282 |
|
ManakaiDOM:DOM2 |
283 |
|
@@For: |
284 |
|
=ManakaiDOM:ManakaiDOM |
285 |
|
|
286 |
|
ElementTypeBinding: |
287 |
|
@Name: L2 |
288 |
|
@ElementType: |
289 |
|
DOMMain:implementFeature |
290 |
|
@ShadowContent: |
291 |
|
@@@: ViewsFeature20 |
292 |
|
@@For: |
293 |
|
ManakaiDOM:DOM2 |
294 |
|
|
|
@Require: |
|
|
@@Module: |
|
|
@@@Name: DOMCore |
|
|
@@@FileName: |
|
|
@@@@@: dom.idl |
|
|
@@@@For: |
|
|
lang:IDL-DOM |
|
|
@@@Namespace: |
|
|
http://suika.fam.cx/~wakaba/archive/2004/8/18/dom-core# |
|
295 |
|
|
296 |
IF: |
IF: |
297 |
@Name: AbstractView |
@Name: |
298 |
|
@@@: AbstractView |
299 |
|
@@ForCheck: |
300 |
|
ManakaiDOM:ForIF |
301 |
|
|
302 |
|
@QName: |
303 |
|
@@@: ManakaiDOMAbstractView |
304 |
|
@@ForCheck: |
305 |
|
ManakaiDOM:ForClass |
306 |
|
|
307 |
|
@Level[list]: 2 |
308 |
|
@SpecLevel[list]: 2 |
309 |
|
@L2IF: |
310 |
|
|
311 |
@Description: |
@Description: |
312 |
@@lang:en |
@@lang:en |
313 |
@@@: |
@@@: |
314 |
A base interface from which all views shall derived. |
A base interface from which all views shall derived. |
315 |
|
|
|
@Level[list]: 2 |
|
|
@SpecLevel[list]: 2 |
|
316 |
@Attr: |
@Attr: |
317 |
@@Name: document |
@@Name: document |
318 |
@@Description: |
@@Description: |
323 |
@@Get: |
@@Get: |
324 |
@@@Type: DocumentView |
@@@Type: DocumentView |
325 |
@@@Def: |
@@@Def: |
326 |
@@@@Type: |
@@@@ContentType: |
327 |
lang:dis |
lang:dis |
328 |
@@@@GetPropNode: |
@@@@GetPropNode: |
329 |
DOMViews:document |
DOMViews:document |
341 |
@@@@lang:en |
@@@@lang:en |
342 |
@@@@@: |
@@@@@: |
343 |
The object for the <IF:AbstractView> to be created. |
The object for the <IF:AbstractView> to be created. |
344 |
@@@Def: |
@@@PerlDef: |
|
@@@@Type: |
|
|
lang:Perl |
|
345 |
@@@@@: |
@@@@@: |
346 |
my $node = $r = __CLASS{ManakaiDOMNodeObject::}__->__INT{new}__; |
my $node = $r = <ClassM::ManakaiDOM:ManakaiDOMNodeObject.new>; |
347 |
push @{$node->{<Q:TreeCore:origin>}}, <Q:DOMViews:document>; |
push @{$node->{<Q::TreeCore:origin>}}, <Q::DOMViews:document>; |
348 |
@@@ImplNote: |
@@@ImplNote: |
349 |
@@@@lang:en |
@@@@lang:en |
350 |
@@@@@: |
@@@@@: |
352 |
<Q:DOMViews:document>. |
<Q:DOMViews:document>. |
353 |
\ |
\ |
354 |
Optional properties: none. |
Optional properties: none. |
355 |
|
|
356 |
|
@IntMethod: |
357 |
|
@@Name: getNodeReference |
358 |
|
@@Description: |
359 |
|
@@@lang:en |
360 |
|
@@@@: |
361 |
|
Creates a new <IF::AbstractView> object blessed with an appropriate |
362 |
|
class. |
363 |
|
@@Param: |
364 |
|
@@@Name: object |
365 |
|
@@@Type: |
366 |
|
ManakaiDOM:ManakaiDOMNodeObject |
367 |
|
@@@Description: |
368 |
|
@@@@lang:en |
369 |
|
@@@@@: The node object referred to. |
370 |
|
@@Param: |
371 |
|
@@@Name:noSpecializedInterface |
372 |
|
@@@Type: |
373 |
|
DOMMain:boolean |
374 |
|
@@@Description: |
375 |
|
@@@@lang:en |
376 |
|
@@@@@: |
377 |
|
Whether the specialized interface for the type (such as |
378 |
|
element type or document type) is selected if available. |
379 |
|
@@@InCase: |
380 |
|
@@@@Value:true |
381 |
|
@@@@Description: |
382 |
|
@@@@@lang:en |
383 |
|
@@@@@@: |
384 |
|
Specialized object is not returned however the |
385 |
|
configuration parameter value is set. |
386 |
|
\ |
387 |
|
Note that even if the specialized interface is not |
388 |
|
selected by default, the specialized object can be |
389 |
|
obtained from <M:Node.getFeature>. |
390 |
|
@@@InCase: |
391 |
|
@@@@Value:false |
392 |
|
@@@@Description: |
393 |
|
@@@@@lang:en |
394 |
|
@@@@@@: |
395 |
|
Specialized object is returned unless the configuration |
396 |
|
disables it. |
397 |
|
@@Return: |
398 |
|
@@@Type: ManakaiDOMAbstractView |
399 |
|
@@@Description: |
400 |
|
@@@@lang:en |
401 |
|
@@@@@: The node reference. |
402 |
|
@@@PerlDef: |
403 |
|
## TODO: Find class |
404 |
|
$r = $object-><M::ManakaiDOM:ManakaiDOMNodeObject.newReference> |
405 |
|
(<ClassName::AbstractView>); |
406 |
##IF:AbstractView |
##IF:AbstractView |
407 |
|
|
408 |
IF: |
IF: |
409 |
@Name: DocumentView |
@Name: |
410 |
@Description: |
@@@: DocumentView |
411 |
@@lang:en |
@@ForCheck: |
412 |
|
ManakaiDOM:ForIF |
413 |
|
|
414 |
|
@Name: |
415 |
|
@@@: ManakaiDOMDocumentView |
416 |
|
@@ForCheck: |
417 |
|
ManakaiDOM:ForClass |
418 |
|
@ISA: |
419 |
@@@: |
@@@: |
420 |
The interface implemented by <IF:Document> object in |
DOMCore:ManakaiDOMDocument |
421 |
DOM Views implementation. |
@@ForCheck: |
422 |
|
ManakaiDOM:ForClass |
423 |
|
|
424 |
@Level[list]: 2 |
@Level[list]: 2 |
425 |
@SpecLevel[list]: 2 |
@SpecLevel[list]: 2 |
426 |
|
@L2IF: |
427 |
|
|
428 |
@Role: |
@Description: |
429 |
|
@@lang:en |
430 |
@@@: |
@@@: |
431 |
DOMCore:Document |
The interface implemented by <IF:Document> object in |
432 |
@@compat: |
DOM Views implementation. |
|
ManakaiDOMCore:Document |
|
433 |
|
|
434 |
@Attr: |
@Attr: |
435 |
@@Name: defaultView |
@@Name: defaultView |
446 |
@@@@@lang:en |
@@@@@lang:en |
447 |
@@@@@@: |
@@@@@@: |
448 |
No <IF:AbstractView> available. |
No <IF:AbstractView> available. |
449 |
@@@Def: |
@@@PerlDef: |
|
@@@@Type: |
|
|
lang:Perl |
|
450 |
@@@@@: |
@@@@@: |
451 |
$r = $self->{<Q:TreeCore:node>}->{<Q:DOMViews:view>}->[0]; |
$r = $self->{<Q::TreeCore:node>}->{<Q::DOMViews:view>}->[0]; |
452 |
|
if ($r) { |
453 |
|
$r = <ClassM::ManakaiDOMAbstractView.getNodeReference> ($r); |
454 |
|
} |
455 |
|
|
456 |
##IF:DocumentView |
##IF:DocumentView |
457 |
|
|
458 |
## DOMViews.dis ends here |
## DOMViews.dis ends here |