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>  Object extract
          Tools for extracting XML from HTML.
<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>  Node target
          Determines the node to save.
<static>  Object tidy
          Tools for formatting output.
<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> State getSavedState(<Document> doc)
           Get the State that the document was in when it was last saved.
<static> String getXMLDeclaration()
           The XML declaration for the document, if there is one.
<static> Boolean isSaved(<Document> doc)
           Determines whether the document has been saved in its current state.
<static> String onbeforeunload(event)
           Add a BeforeUnload handler to present a warning if the document hasn't been saved.
<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

extract

<static> Object extract

format

<static> String format

method

<static> Object method

post

<static> mozile.save.Method post

target

<static> Node target

tidy

<static> Object tidy

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()

getSavedState

<static> State getSavedState(<Document> doc)

getXMLDeclaration

<static> String getXMLDeclaration()

isSaved

<static> Boolean isSaved(<Document> doc)

onbeforeunload

<static> String onbeforeunload(event)

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 Feb 20 13:25:28 2008