Zend\XmlRpc\Generator\AbstractGenerator
Abstract XML generator adapter
Synopsis
class AbstractGenerator
implements
GeneratorInterface
{
- // members
- protected string $encoding;
- // methods
- public void __construct()
- protected abstract void _init()
- public AbstractGenerator openElement()
- public AbstractGenerator closeElement()
- public string getEncoding()
- public AbstractGenerator setEncoding()
- public string flush()
- public string __toString()
- public string stripDeclaration()
- protected abstract void _openElement()
- protected abstract void _writeTextData()
- protected abstract void _closeElement()
Hierarchy
Extended by
Implements
Members
protected
- $encoding
—
string
XML encoding string
Methods
protected
- _closeElement() — End XML element
- _init() — Initialize internal objects
- _openElement() — Start XML element
- _writeTextData() — Write XML text data into the currently opened XML element
public
- __construct() — Construct new instance of the generator
- __toString() — Returns XML without document declaration
- closeElement() — End of an XML element
- flush() — Returns the XML as a string and flushes all internal buffers
- getEncoding() — Return encoding
- openElement() — Start XML element
- setEncoding() — Set XML encoding
- stripDeclaration() — Removes XML declaration from a string