| 349 | } |
| 350 | |
| 351 | export class OutputElement extends Element { |
| 352 | public readonly allowedChildren = buildAllowedChildren(['body', 'documentation', 'header', 'SecuritySpecRef']); |
| 353 | public targetNSAlias?: string; |
| 354 | public targetNamespace?: string; |
| 355 | public use?: string; |
| 356 | public encodingStyle?: string; |
| 357 | public $lookupTypes; |
| 358 | |
| 359 | public addChild(child: Element) { |
| 360 | if (child instanceof BodyElement) { |
| 361 | this.use = child.$use; |
| 362 | if (this.use === 'encoded') { |
| 363 | this.encodingStyle = child.$encodingStyle; |
| 364 | } |
| 365 | this.children.pop(); |
| 366 | } |
| 367 | } |
| 368 | } |
| 369 | |
| 370 | export class SimpleTypeElement extends Element { |
| 371 | public readonly allowedChildren = buildAllowedChildren(['restriction']); |
nothing calls this directly
no test coverage detected