Class mozile.save

Object
   |
   +--mozile.Module
         |
         +--mozile.save

class mozile.save
extends mozile.Module

Nested Class Summary
<static class> mozile.save.Method
 
Field Summary
<static>  mozile.save.Method display
          Display the content in a new window.
<static>  String format
          Determines the string format to use for saving.
<static>  Object method
          Determines which save method will be used to save the document.
<static>  mozile.save.Method post
          Save the content using HTTP POST.
<static>  mozile.edit.State savedState
          The last saved state.
<static>  Node target
          Determines the node to save.
<static>  Boolean warn
          Indicates that the user should be warned before leaving a page with unsaved changes.
   
Method Summary
<static> String cleanContent(<String> content)
           Cleans the XML content string from getContent(), removing any changes that Mozile has made.
<static> String cleanDOM(<Node> target)
           Cleans the DOM tree of a node, removing any changes that Mozile has made.
<static> String cleanMarkup(<String> content)
           Converts < and > characters.
<static> String getContent(<Node> target, <String> format)
           Gets the content of a document or a node as a string.
<static> String getDoctypeDeclaration()
           The DOCTYPE declaration for the document, if there is one.
<static> String getProcessingInstructions()
           The Processing Instructions for the document, if there are any.
<static> String getXMLDeclaration()
           The XML declaration for the document, if there is one.
<static> Boolean isSaved()
           Determines whether the document has been saved in its current state.
<static> Boolean save()
           Saves the document using the current mozile.save.method.save().
<static> Boolean saveAs()
           Saves the document using the current mozile.save.method.saveAs().
<static> String toLowerCase(<String> content)
           Converts the element names of an XML string to lower case.
<static> String toUpperCase(<String> content)
           Converts the element names of an XML string to upper case.

Field Detail

display

<static> mozile.save.Method display

format

<static> String format

method

<static> Object method

post

<static> mozile.save.Method post

savedState

<static> mozile.edit.State savedState

target

<static> Node target

warn

<static> Boolean warn


Method Detail

cleanContent

<static> String cleanContent(<String> content)

cleanDOM

<static> String cleanDOM(<Node> target)

cleanMarkup

<static> String cleanMarkup(<String> content)

getContent

<static> String getContent(<Node> target, <String> format)

getDoctypeDeclaration

<static> String getDoctypeDeclaration()

getProcessingInstructions

<static> String getProcessingInstructions()

getXMLDeclaration

<static> String getXMLDeclaration()

isSaved

<static> Boolean isSaved()

save

<static> Boolean save()

saveAs

<static> Boolean saveAs()

toLowerCase

<static> String toLowerCase(<String> content)

toUpperCase

<static> String toUpperCase(<String> content)


Documentation generated by JSDoc on Wed Aug 23 18:45:51 2006