Namespace | tinymce.dom |
Class | StringWriter |
Method | Defined By |
---|---|
StringWriter(s:Object)
Constructs a new StringWriter.
|
StringWriter |
encode(s:String):String
String writer specific method.
|
StringWriter |
getContent():String
Returns a string representation of the elements/nodes written.
|
StringWriter |
reset():void
Resets the writer so it can be reused the contents of the writer is cleared.
|
StringWriter |
writeAttribute(n:String, v:String):void
Writes an attrubute like for example: myattr="valie"
|
StringWriter |
writeCDATA(v:String):void
Writes a CDATA section.
|
StringWriter |
writeComment(v:String):void
Writes a comment.
|
StringWriter |
writeEndElement():void
Write the end of a element.
|
StringWriter |
writeFullEndElement():void
Writes the end of a element.
|
StringWriter |
writeRaw(v:String):void
String writer specific function.
|
StringWriter |
writeStartElement(n:String):void
Writes the start of an element like for example: <tag.
|
StringWriter |
writeText(v:String):void
Writes a text node value.
|
StringWriter |
public
function StringWriter(s:Object)
s:Object | Optional settings object. |
public
function encode(s:String):String
s:String | String to encode. |
public
function getContent():String
public
function reset():void
public
function writeAttribute(n:String, v:String):void
n:String | Attribute name to write. |
v:String | Attribute value to write. |
public
function writeCDATA(v:String):void
v:String | Value to write in CDATA. |
public
function writeComment(v:String):void
v:String | Value of the comment. |
public
function writeEndElement():void
public
function writeFullEndElement():void
public
function writeRaw(v:String):void
v:String | String with raw contents to write. |
public
function writeStartElement(n:String):void
n:String | Name of element to write. |
public
function writeText(v:String):void
v:String | Value to append as a text node. |