Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EwsXmlReader

Hierarchy

Index

Constructors

constructor

  • Parameters

    • rawXML: string

    Returns EwsXmlReader

Properties

Protected currentNode

currentNode: Node

Private eof

eof: boolean

Private jsObject

jsObject: any

Private prevNodeType

prevNodeType: number

Protected treeWalker

treeWalker: TreeWalker

Protected xmlDoc

xmlDoc: XMLDocument

Private xmlReader

xmlReader: any

Static Private ReadWriteBufferSize

ReadWriteBufferSize: number

Accessors

CurrentNode

  • get CurrentNode(): Node
  • Returns Node

Eof

  • get Eof(): boolean
  • Returns boolean

HasAttributes

  • get HasAttributes(): boolean
  • Returns boolean

IsEmptyElement

  • get IsEmptyElement(): boolean
  • Returns boolean

IsRoot

  • get IsRoot(): boolean
  • Returns boolean

JsObject

  • get JsObject(): any
  • Returns any

LocalName

  • get LocalName(): string
  • Returns string

NamespacePrefix

  • get NamespacePrefix(): string
  • Returns string

NamespaceUri

  • get NamespaceUri(): string
  • Returns string

NodeType

  • get NodeType(): number
  • Returns number

ParentNode

  • get ParentNode(): Node
  • Returns Node

Methods

EnsureCurrentNodeIsEndElement

  • EnsureCurrentNodeIsEndElement(xmlNamespace: XmlNamespace, localName: string): any
  • Parameters

    Returns any

FormatElementName

  • FormatElementName(namespacePrefix: string, localElementName: string): string
  • Parameters

    • namespacePrefix: string
    • localElementName: string

    Returns string

GetXmlReaderForNode

  • GetXmlReaderForNode(): any
  • Returns any

HasRecursiveParent

  • HasRecursiveParent(localName: string, node?: Node): boolean
  • Parameters

    • localName: string
    • Default value node: Node = this.currentNode

    Returns boolean

HasRecursiveParentNode

  • HasRecursiveParentNode(parentNode: Node, parentName: string, node?: Node): boolean
  • Parameters

    • parentNode: Node
    • parentName: string
    • Default value node: Node = this.currentNode

    Returns boolean

InitializeXmlReader

  • InitializeXmlReader(stream: any): any
  • Parameters

    • stream: any

    Returns any

InternalReadElement

  • InternalReadElement(xmlNamespace: XmlNamespace, localName: string, nodeType: number): any
  • Parameters

    • xmlNamespace: XmlNamespace
    • localName: string
    • nodeType: number

    Returns any

IsElement

  • IsElement(xmlNamespace: XmlNamespace, localName: string): boolean
  • Parameters

    Returns boolean

Read

  • Read(nodeType?: number): boolean
  • Parameters

    • Optional nodeType: number

    Returns boolean

ReadAttributeValue

  • ReadAttributeValue(xmlNamespace: XmlNamespace, attributeName: string): string
  • Parameters

    Returns string

ReadBase64ElementValue

  • ReadBase64ElementValue(): any[]
  • Returns any[]

ReadElementValue

  • ReadElementValue(): string
  • Returns string

ReadEndElement

  • ReadEndElement(xmlNamespace: XmlNamespace, localName: string): void
  • Parameters

    Returns void

ReadEndElementIfNecessary

  • ReadEndElementIfNecessary(xmlNamespace: XmlNamespace, localName: string): void
  • Parameters

    Returns void

ReadInnerXml

  • ReadInnerXml(): string
  • Returns string

ReadNullableAttributeValue

  • ReadNullableAttributeValue(attributeName: string): any
  • Parameters

    • attributeName: string

    Returns any

ReadOuterXml

  • ReadOuterXml(): string
  • Returns string

ReadStartElement

  • ReadStartElement(xmlNamespace: XmlNamespace, localName: string): void
  • Parameters

    Returns void

ReadToDescendant

  • ReadToDescendant(xmlNamespace: XmlNamespace, localName: string): any
  • Parameters

    Returns any

ReadValue

  • ReadValue(): string
  • Returns string

SeekLast

  • SeekLast(): void
  • Returns void

SkipCurrentElement

  • SkipCurrentElement(): void
  • Returns void

SkipElement

  • SkipElement(xmlNamespace: XmlNamespace, localName: string): any
  • Parameters

    Returns any

TryReadValue

  • TryReadValue(value: any): boolean
  • Parameters

    • value: any

    Returns boolean

Generated using TypeDoc