Abstract XML generator adapter
Construct new instance of the generator
Parameters: | string – XML encoding, default UTF-8 |
---|
Start XML element
Method opens a new XML element with an element name and an optional value
Parameters: |
|
---|---|
Return type: | AbstractGenerator Fluent interface |
End of an XML element
Method marks the end of an XML element
Parameters: | string – XML tag name |
---|---|
Return type: | AbstractGenerator Fluent interface |
Set XML encoding
Parameters: | string – |
---|---|
Return type: | AbstractGenerator |
Returns the XML as a string and flushes all internal buffers
Return type: | string |
---|
Removes XML declaration from a string
Parameters: | string – |
---|---|
Return type: | string |