API Docs for: 0.0.57
Show:

ReaderState Class

Constructor

ReaderState

(
  • options
)
private

Parameters:

  • options Object
    • [parser=null] Map optional

      }

    • [init|null] Function optional
    • [finish] Function optional
    • [startElement] Function optional
    • [endElement] Function optional

Methods

_coerceParser

(
  • parser
)
Map private static

Parameters:

  • parser Map

Returns:

Map:

_on_endElement

(
  • name
)
protected

Parameters:

  • name String

_on_init

(
  • name
  • attrs
)
protected

Parameters:

  • name String
    • the name of the element
  • attrs Map

_on_startElement

(
  • name
  • attrs
)
protected

Parameters:

  • name String
    • the name of the element
  • attrs Map

_on_text

(
  • text
)
protected

Parameters:

  • text String

    the text found inside the element