Options
All
  • Public
  • Public/Protected
  • All
Menu

A DynamicValue reducer returning the input XML parsed

example

new XMLValue(new TextValue("<root>test</root>")).onValue(parsed=>
 parsed.root === "test" //true
)

Hierarchy

  • XMLValue

Implements

Constructors

Properties

Methods

Constructors

constructor

Parameters

  • input: DynamicValue<string>
  • options: X2jOptionsOptional Optional
  • name: string Optional

Returns XMLValue

Properties

__variant__

__variant__: string = "XMLValue"

input

input: DynamicValue<string>

name

name: string | void

options

options: X2jOptionsOptional

Methods

getValue

  • getValue(): Promise<any>

Returns Promise<any>

onValue

Parameters

Returns Unsubscriber

Static fromJSON

  • fromJSON(json: object): any

Parameters

  • json: object
    • input: any
    • Optional name?: string
    • Optional options?: X2jOptionsOptional

Returns any

  • Inherited
  • Protected
  • Private
  • Static
  • Module
  • Object
  • Property
  • Function
  • Variable
  • Index
  • Type
  • Class
  • Interface
  • Enum
  • Constructor
  • Getter/Setter
Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.