Drag[en]gine Script Module DragonScript Script API  1.0
EasyXML Class Reference

XML Document. More...

Inheritance diagram for EasyXML:

Public Member Functions

EasyXML new ()
 Create empty document for building XML to write to file. More...
EasyXML new (String filename)
 Load xml from file. More...
String getFilename ()
 Filename of the xml file. More...
bool hasParseFailed ()
 Parsing failed. More...
String getParseLog ()
 Parse log. More...
EasyXMLElement getRootElement ()
 Root element. More...
void setRootElement (EasyXMLElement element)
 Set root element. More...
void writeToFile (FileWriter fileWriter, bool compact)
 Write document to file. More...

Detailed Description

XML Document.

Can be used to read XML from file or construct an XML to be written to file.

This is a native class.

Member Function Documentation

◆ getFilename()

String getFilename ( )

Filename of the xml file.

◆ getParseLog()

String getParseLog ( )

Parse log.

◆ getRootElement()

EasyXMLElement getRootElement ( )

Root element.

◆ hasParseFailed()

bool hasParseFailed ( )

Parsing failed.

◆ new() [1/2]

EasyXML new ( )

Create empty document for building XML to write to file.

◆ new() [2/2]

EasyXML new ( String  filename)

Load xml from file.

◆ setRootElement()

void setRootElement ( EasyXMLElement  element)

Set root element.

◆ writeToFile()

void writeToFile ( FileWriter  fileWriter,
bool  compact 

Write document to file.

The documentation for this class was generated from the following file: