1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Definitions SYSTEM "widlprocxml.dtd">
<Definitions>
<webidl>interface Transaction {
readonly attribute <ref>Account</ref> from;
readonly attribute <ref>Account</ref> to;
readonly attribute float amount;
readonly attribute DOMString description;
readonly attribute unsigned long number;
serializer;
};
interface Account {
attribute DOMString name;
attribute unsigned long number;
serializer DOMString serialize();
};
interface Transaction2 {
readonly attribute <ref>Account2</ref> from;
readonly attribute <ref>Account2</ref> to;
readonly attribute float amount;
readonly attribute DOMString description;
readonly attribute unsigned long number;
serializer = { from, to, amount, description };
};
interface Account2 {
attribute DOMString name;
attribute unsigned long number;
serializer = number;
};
interface Account3 {
attribute DOMString name;
attribute unsigned long number;
serializer = { attribute };
};
interface Account4 {
getter object getItem(unsigned long index);
serializer = { getter };
};
interface Account5 : <ref>Account</ref> {
attribute DOMString secondname;
serializer = { inherit, secondname };
};
interface Account6 : <ref>Account</ref> {
attribute DOMString secondname;
serializer = { inherit, attribute };
};
interface Account7 {
attribute DOMString name;
attribute unsigned long number;
serializer = [ name, number ];
};
interface Account8 {
getter object getItem(unsigned long index);
serializer = [ getter ];
};</webidl>
<Interface name="Transaction" id="::Transaction">
<webidl>interface Transaction {
readonly attribute <ref>Account</ref> from;
readonly attribute <ref>Account</ref> to;
readonly attribute float amount;
readonly attribute DOMString description;
readonly attribute unsigned long number;
serializer;
};</webidl>
<Attribute readonly="readonly" name="from" id="::Transaction::from">
<webidl> readonly attribute <ref>Account</ref> from;</webidl>
<Type name="Account"/>
</Attribute>
<Attribute readonly="readonly" name="to" id="::Transaction::to">
<webidl> readonly attribute <ref>Account</ref> to;</webidl>
<Type name="Account"/>
</Attribute>
<Attribute readonly="readonly" name="amount" id="::Transaction::amount">
<webidl> readonly attribute float amount;</webidl>
<Type type="float"/>
</Attribute>
<Attribute readonly="readonly" name="description" id="::Transaction::description">
<webidl> readonly attribute DOMString description;</webidl>
<Type type="DOMString"/>
</Attribute>
<Attribute readonly="readonly" name="number" id="::Transaction::number">
<webidl> readonly attribute unsigned long number;</webidl>
<Type type="unsigned long"/>
</Attribute>
<Serializer>
<webidl> serializer;</webidl>
</Serializer>
</Interface>
<Interface name="Account" id="::Account">
<webidl>interface Account {
attribute DOMString name;
attribute unsigned long number;
serializer DOMString serialize();
};</webidl>
<Attribute name="name" id="::Account::name">
<webidl> attribute DOMString name;</webidl>
<Type type="DOMString"/>
</Attribute>
<Attribute name="number" id="::Account::number">
<webidl> attribute unsigned long number;</webidl>
<Type type="unsigned long"/>
</Attribute>
<Operation serializer="serializer" name="serialize" id="::Account::serialize">
<webidl> serializer DOMString serialize();</webidl>
<Type type="DOMString"/>
<ArgumentList/>
</Operation>
</Interface>
<Interface name="Transaction2" id="::Transaction2">
<webidl>interface Transaction2 {
readonly attribute <ref>Account2</ref> from;
readonly attribute <ref>Account2</ref> to;
readonly attribute float amount;
readonly attribute DOMString description;
readonly attribute unsigned long number;
serializer = { from, to, amount, description };
};</webidl>
<Attribute readonly="readonly" name="from" id="::Transaction2::from">
<webidl> readonly attribute <ref>Account2</ref> from;</webidl>
<Type name="Account2"/>
</Attribute>
<Attribute readonly="readonly" name="to" id="::Transaction2::to">
<webidl> readonly attribute <ref>Account2</ref> to;</webidl>
<Type name="Account2"/>
</Attribute>
<Attribute readonly="readonly" name="amount" id="::Transaction2::amount">
<webidl> readonly attribute float amount;</webidl>
<Type type="float"/>
</Attribute>
<Attribute readonly="readonly" name="description" id="::Transaction2::description">
<webidl> readonly attribute DOMString description;</webidl>
<Type type="DOMString"/>
</Attribute>
<Attribute readonly="readonly" name="number" id="::Transaction2::number">
<webidl> readonly attribute unsigned long number;</webidl>
<Type type="unsigned long"/>
</Attribute>
<Serializer>
<webidl> serializer = { from, to, amount, description };</webidl>
<Map pattern="selection">
<PatternAttribute name="from"/>
<PatternAttribute name="to"/>
<PatternAttribute name="amount"/>
<PatternAttribute name="description"/>
</Map>
</Serializer>
</Interface>
<Interface name="Account2" id="::Account2">
<webidl>interface Account2 {
attribute DOMString name;
attribute unsigned long number;
serializer = number;
};</webidl>
<Attribute name="name" id="::Account2::name">
<webidl> attribute DOMString name;</webidl>
<Type type="DOMString"/>
</Attribute>
<Attribute name="number" id="::Account2::number">
<webidl> attribute unsigned long number;</webidl>
<Type type="unsigned long"/>
</Attribute>
<Serializer attribute="number">
<webidl> serializer = number;</webidl>
</Serializer>
</Interface>
<Interface name="Account3" id="::Account3">
<webidl>interface Account3 {
attribute DOMString name;
attribute unsigned long number;
serializer = { attribute };
};</webidl>
<Attribute name="name" id="::Account3::name">
<webidl> attribute DOMString name;</webidl>
<Type type="DOMString"/>
</Attribute>
<Attribute name="number" id="::Account3::number">
<webidl> attribute unsigned long number;</webidl>
<Type type="unsigned long"/>
</Attribute>
<Serializer>
<webidl> serializer = { attribute };</webidl>
<Map pattern="all"/>
</Serializer>
</Interface>
<Interface name="Account4" id="::Account4">
<webidl>interface Account4 {
getter object getItem(unsigned long index);
serializer = { getter };
};</webidl>
<Operation getter="getter" name="getItem" id="::Account4::getItem">
<webidl> getter object getItem(unsigned long index);</webidl>
<Type type="object"/>
<ArgumentList>
<Argument name="index">
<Type type="unsigned long"/>
</Argument>
</ArgumentList>
</Operation>
<Serializer>
<webidl> serializer = { getter };</webidl>
<Map pattern="getter"/>
</Serializer>
</Interface>
<Interface name="Account5" id="::Account5">
<webidl>interface Account5 : <ref>Account</ref> {
attribute DOMString secondname;
serializer = { inherit, secondname };
};</webidl>
<InterfaceInheritance>
<Name name="Account"/>
</InterfaceInheritance>
<Attribute name="secondname" id="::Account5::secondname">
<webidl> attribute DOMString secondname;</webidl>
<Type type="DOMString"/>
</Attribute>
<Serializer>
<webidl> serializer = { inherit, secondname };</webidl>
<Map inherit="inherit" pattern="selection">
<PatternAttribute name="secondname"/>
</Map>
</Serializer>
</Interface>
<Interface name="Account6" id="::Account6">
<webidl>interface Account6 : <ref>Account</ref> {
attribute DOMString secondname;
serializer = { inherit, attribute };
};</webidl>
<InterfaceInheritance>
<Name name="Account"/>
</InterfaceInheritance>
<Attribute name="secondname" id="::Account6::secondname">
<webidl> attribute DOMString secondname;</webidl>
<Type type="DOMString"/>
</Attribute>
<Serializer>
<webidl> serializer = { inherit, attribute };</webidl>
<Map inherit="inherit" pattern="all"/>
</Serializer>
</Interface>
<Interface name="Account7" id="::Account7">
<webidl>interface Account7 {
attribute DOMString name;
attribute unsigned long number;
serializer = [ name, number ];
};</webidl>
<Attribute name="name" id="::Account7::name">
<webidl> attribute DOMString name;</webidl>
<Type type="DOMString"/>
</Attribute>
<Attribute name="number" id="::Account7::number">
<webidl> attribute unsigned long number;</webidl>
<Type type="unsigned long"/>
</Attribute>
<Serializer>
<webidl> serializer = [ name, number ];</webidl>
<List pattern="selection">
<PatternAttribute name="name"/>
<PatternAttribute name="number"/>
</List>
</Serializer>
</Interface>
<Interface name="Account8" id="::Account8">
<webidl>interface Account8 {
getter object getItem(unsigned long index);
serializer = [ getter ];
};</webidl>
<Operation getter="getter" name="getItem" id="::Account8::getItem">
<webidl> getter object getItem(unsigned long index);</webidl>
<Type type="object"/>
<ArgumentList>
<Argument name="index">
<Type type="unsigned long"/>
</Argument>
</ArgumentList>
</Operation>
<Serializer>
<webidl> serializer = [ getter ];</webidl>
<List pattern="getter"/>
</Serializer>
</Interface>
</Definitions>
|