API reference
Preparing search index…

Native XML tokenizer with synchronous or batched event delivery.

Type hierarchy

Hierarchy (View Summary)

Source & inheritance
Member directory12

Constructors

Methods

Constructors

Methods

  • Get the current one-based source line, or zero before parsing.

    Returns

    number

    Current one-based line, or zero before parsing.

    Source & inheritance
  • Get the source line of the most recent opening tag.

    Returns

    number

    Line of the last opening tag, or zero before parsing.

    Source & inheritance
  • Copy the native source URL during active parsing.

    Returns

    string

    Native resource URL text; throws outside a parse callback.

    Source & inheritance
  • Invoke Rml::BaseXMLParser::HandleData outside parser callbacks.

    Parameters

    data
    string

    Content delivered to the synchronous virtual.

    type

    Checked native data category.

    Returns

    void
    Source & inheritance
  • Invoke Rml::BaseXMLParser::HandleElementEnd outside parser callbacks.

    Parameters

    name
    string

    Closing tag delivered to the synchronous virtual.

    Returns

    void

    XMLParser protects its structural handlers and rejects direct calls.

    Source & inheritance
  • Invoke Rml::BaseXMLParser::HandleElementStart outside parser callbacks.

    Parameters

    name
    string

    Tag name delivered to the synchronous virtual.

    attributes

    Attributes copied before dispatch.

    Returns

    void

    XMLParser protects its structural handlers and rejects direct calls.

    Source & inheritance
  • Invoke Rml::BaseXMLParser::IsCDATATag.

    Parameters

    tag
    string

    Case-insensitive tag.

    Returns

    boolean

    Whether the native tag is registered.

    Source & inheritance
  • Parse the retained native stream, invoking synchronous virtuals in order.

    Parameters

    stream

    Native stream, retained throughout parsing.

    Returns

    void
    Source & inheritance
  • Register Rml::BaseXMLParser::RegisterCDATATag for this parser.

    Parameters

    tag
    string

    Case-insensitive tag; empty is ignored.

    Returns

    void
    Source & inheritance
  • Register an attribute that captures a node’s inner markup as data.

    Parameters

    name
    string

    Attribute whose presence captures inner markup as data.

    Returns

    void
    Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0