style can be win, unix, mac, or a custom EOL
character string.
Parameters style System type or EOL string
setMetaData( name : string, content : string, http_equiv :
boolean=false ) : void
Sets metadata. If the metadata is http-equiv (equivalent to an HTTP header) then specify
http_equiv as true.
Parameters name Metadata name
content Metadata content
[http_equiv] Header equivalent
setMimeEncoding( type : string='text/html' ) : void
Sets the document MIME encoding.
Parameters [type] MIME encoding
Appendix
[ 398 ]
setModifiedDate( date : string ) : void
Sets the document modified date.
Parameters date Modified date
setTab( string : string ) : void
Sets the document indentation string, e.g "\t".
Parameters string Indentation string
setTitle( title : string ) : void
Sets the document title.
Parameters [title] Document title
setType( type : string ) : void
Sets the document type.
Parameters type JDocument type
_getLineEnd( ) : string
Gets the EOL character/string.
Returns EOL character string
_getTab( ) : string
Gets the indentation character string.
Pages:
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555