Class XmlTextWriter

Hierarchy

Index

Constructors

constructor

Properties

formatting

formatting: Formatting

indentation

indentation: number

textWriter

textWriter: TextWriter

Methods

close

  • close(): void
  • Returns void

constructor_

flush

  • flush(): void
  • Returns void

writeAttributeString

  • writeAttributeString(localName: string, value: string): void
  • Parameters

    • localName: string
    • value: string

    Returns void

writeDocType

  • writeDocType(name: string, pubid: string, sysid: string, subset: string): void
  • Parameters

    • name: string
    • pubid: string
    • sysid: string
    • subset: string

    Returns void

writeElementString

  • writeElementString(localName: string, value: string): void
  • Parameters

    • localName: string
    • value: string

    Returns void

writeElementString2

  • writeElementString2(localName: string, ns: string, value: string): void
  • Parameters

    • localName: string
    • ns: string
    • value: string

    Returns void

writeElementString3

  • writeElementString3(prefix: string, localName: string, ns: string, value: string): void
  • Parameters

    • prefix: string
    • localName: string
    • ns: string
    • value: string

    Returns void

writeEndAttribute

  • writeEndAttribute(): void
  • Returns void

writeEndDocument

  • writeEndDocument(): void
  • Returns void

writeEndElement

  • writeEndElement(): void
  • Returns void

writeFullEndElement

  • writeFullEndElement(): void
  • Returns void

writeName

  • writeName(name: string): void
  • Parameters

    • name: string

    Returns void

writeQualifiedName

  • writeQualifiedName(localName: string, ns: string): void
  • Parameters

    • localName: string
    • ns: string

    Returns void

writeRaw

  • writeRaw(data: string): void
  • Parameters

    • data: string

    Returns void

writeStartAttribute

  • writeStartAttribute(prefix: string, localName: string, ns: string): void
  • Parameters

    • prefix: string
    • localName: string
    • ns: string

    Returns void

writeStartDocument

  • writeStartDocument(standalone?: boolean): void
  • Parameters

    • Optional standalone: boolean

    Returns void

writeStartElement

  • writeStartElement(localName: string): void
  • Parameters

    • localName: string

    Returns void

writeString

  • writeString(text: string): void
  • Parameters

    • text: string

    Returns void

Generated using TypeDoc