Options
All
  • Public
  • Public/Protected
  • All
Menu

Class XmlParser

Hierarchy

  • XmlParser

Implements

Implemented by

Index

Constructors

constructor

  • new XmlParser(onEvent: function, onError?: function, processNamespaces?: boolean): XmlParser
  • Parameters

    • onEvent: function
    • Optional onError: function
        • (error: Error, position: Position): void
        • Parameters

          • error: Error
          • position: Position

          Returns void

    • Optional processNamespaces: boolean

    Returns XmlParser

Properties

Private _namespaceStack

_namespaceStack: any[]

Private _parser

_parser: EasySAXParser

Private _processNamespaces

_processNamespaces: boolean

Accessors

angularSyntax

  • get (): boolean
  • set (value: boolean): void

Methods

Private _resolveNamespace

  • _resolveNamespace(fullName: string): object
  • Parameters

    • fullName: string

    Returns object

    • name: string
    • namespace: string
    • prefix: string

parse

  • parse(xmlString: string): void

Private Static _dereferenceEntities

  • _dereferenceEntities(s: string): string

Private Static _getNamespacesStackEntry

  • _getNamespacesStackEntry(attributes: any): any

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method