All Bundles
XmlBuilder
Used to programmatically build XML documents
Operations
New
Default constructor
New(name:String)
Parameters
Name | Type | Description |
---|
name | String | root element name |
Default constructor
New(name:String, version:String)
Parameters
Name | Type | Description |
---|
name | String | root element name |
version | String | XML version tag |
Default constructor
New(name:String, version:String, encoding:String)
Parameters
Name | Type | Description |
---|
name | String | root element name |
version | String | XML version tag |
encoding | String | XML encoding type |
GetEncoding
Gets the XML encoding
method : public : GetEncoding() ~ String
Return
Type | Description |
---|
String | XML encoding |
GetRoot
Returns the root node of the XML document
method : public : GetRoot() ~ XmlElement
Return
GetVersion
Gets the XML version
method : public : GetVersion() ~ String
Return
Type | Description |
---|
String | XML version |
SetEncoding
Sets the XML encoding
method : public : SetEncoding(encoding:String) ~ Nil
Parameters
Name | Type | Description |
---|
encoding | String | encoding version |
Return
Type | Description |
---|
Nil | XML encoding |
SetVersion
Sets the XML version
method : public : SetVersion(version:String) ~ Nil
Parameters
Name | Type | Description |
---|
version | String | version |
Return
Type | Description |
---|
Nil | XML version |
ToString
Produces an XML string representation of the document
method : public : ToString() ~ String
Return
Type | Description |
---|
String | string representation of the document |