Class: NvsXmlStreamReader

NvsXmlStreamReader(filePath)

XML stream reader

Constructor

new NvsXmlStreamReader(filePath)

Parameters:
Name Type Description
filePath file path
Source:

Methods

atEnd()

Read to the end of stream
Source:
Returns:

close()

Close reader
Source:
Returns:

getAttributeValue(attributeName)

Get attribute value
Parameters:
Name Type Description
attributeName attribute name
Source:
Returns:

hasError()

Encounter an error.
Source:
Returns:

isEndDocument()

Whether end document or not
Source:
Returns:

isEndElement()

Whether end element or not
Source:
Returns:

isStartDocument()

Whether start document or not
Source:
Returns:

isStartElement()

Whether start element or not
Source:
Returns:

name()

The name of current element
Source:
Returns:

open()

Open reader
Source:
Returns:

readNext()

Read next
Source:
Returns:

readNextStartElement()

Read next start element
Source:
Returns: