Drag[en]gine Script Module DragonScript  1.21
Dragengine.XML.EasyXML Class Reference

XML Document. More...

Inheritance diagram for Dragengine.XML.EasyXML:

Public Member Functions

Constructors
EasyXML new ()
 Create empty document for building XML to write to file. More...
 
EasyXML new (String filename)
 Load xml from file. More...
 
Management
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 Dragengine.XML.EasyXML.getFilename ( )

Filename of the xml file.

◆ getParseLog()

String Dragengine.XML.EasyXML.getParseLog ( )

Parse log.

◆ getRootElement()

EasyXMLElement Dragengine.XML.EasyXML.getRootElement ( )

Root element.

◆ hasParseFailed()

bool Dragengine.XML.EasyXML.hasParseFailed ( )

Parsing failed.

◆ new() [1/2]

EasyXML Dragengine.XML.EasyXML.new ( )

Create empty document for building XML to write to file.

◆ new() [2/2]

EasyXML Dragengine.XML.EasyXML.new ( String  filename)

Load xml from file.

◆ setRootElement()

void Dragengine.XML.EasyXML.setRootElement ( EasyXMLElement  element)

Set root element.

◆ writeToFile()

void Dragengine.XML.EasyXML.writeToFile ( FileWriter  fileWriter,
bool  compact 
)

Write document to file.


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