MCPcopy
hub / github.com/vpulim/node-soap / OutputElement

Class OutputElement

src/wsdl/elements.ts:351–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349}
350
351export 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
370export class SimpleTypeElement extends Element {
371 public readonly allowedChildren = buildAllowedChildren(['restriction']);

Callers

nothing calls this directly

Calls 1

buildAllowedChildrenFunction · 0.85

Tested by

no test coverage detected