TinyMCE:API/tinymce.dom.StringWriter
From Moxiecode Documentation Wiki
[edit]
Class: tinymce.dom.StringWriter
This class writes nodes into a string, and is used as a fallback, when the tinymce.dom.XMLWriter cannot be used.
[edit]
Constructor
- StringWriter
- Constructs a new StringWriter.
[edit]
Methods
- encode
- String writer specific method.
- getContent
- Returns a string representation of the elements/nodes written.
- reset
- Resets the writer so it can be reused the contents of the writer is cleared.
- writeAttribute
- Writes an attrubute like for example: myattr="valie"
- writeCDATA
- Writes a CDATA section.
- writeComment
- Writes a comment.
- writeEndElement
- Write the end of a element.
- writeFullEndElement
- Writes the end of a element.
- writeRaw
- String writer specific function.
- writeStartElement
- Writes the start of an element like for example:
- writeText
- Writes a text node value.
