mozdev.org

Mozile (xhtml editing in your browser)    

resources:
MozileResource

Class MozileResource

Object
   |
   +--MozileResource
Direct Known Subclasses:
MozileScriptResource, MozileLinkResource, MozileStyleResource

class MozileResource

Defined in core.js


Constructor Summary
MozileResource (<String> category, <String> id, <String> type, <String> namespace)
            Mozile Resource - An abstract class for external resources, such as JavaScripts and CSS files.
 
Method Summary
 Element createElement()
           Creates a new element for the resource and returns it.
 String getCategory()
          
 TextNode getContent()
          
 String getElement()
           Gets element associated with the resource.
 String getId()
          
 String getNamespace()
          
 String getType()
          
 Void load()
           Inserts the resource's element into the document
 TextNode setContent(<String> content)
          
 String toString()
           Returns "[object MozileResource]".
 Boolean unload(<Element> element)
           Removes the resource's element from the document.

Constructor Detail

MozileResource

MozileResource(<String> category, <String> id, <String> type, <String> namespace)

Method Detail

createElement

Element createElement()

getCategory

String getCategory()

getContent

TextNode getContent()

getElement

String getElement()

getId

String getId()

getNamespace

String getNamespace()

getType

String getType()

load

Void load()

setContent

TextNode setContent(<String> content)

toString

String toString()

unload

Boolean unload(<Element> element)


Documentation generated by JSDoc on Wed Nov 1 15:11:15 2006

The mozile project can be contacted through the mailing list or the member list.
Copyright © 2000-2019. All rights reserved. Terms of Use & Privacy Policy.