Class MozileLinkResource
Object
|
+--MozileResource
|
+--MozileLinkResource
- class
MozileLinkResource
- extends MozileResource
Defined in core.js
Constructor Summary |
MozileLinkResource
(<String> id, <String> source, <String> relation, <String> type, <String> namespace)
Mozile Link Resource -
Subclass of MozileResource designed for link tags.
|
MozileLinkResource
MozileLinkResource(<String> id, <String> source, <String> relation, <String> type, <String> namespace)
Mozile Link Resource -
Subclass of MozileResource designed for link tags.
Parameters:
id
- The id for the resource, used as the id of the resources' element.
source
- The URL for href attribute.
relation
- Optional. The relation for the rel attribute. Default is "stylesheet".
type
- Optional. The type for the resource, used for the type attribute. Default is "text/css".
namespace
- Optional. The namespace for the resource's element. Defaults to the global XHTMLNS.
createElement
Element createElement()
Creates a new element for the resource and returns it.
getContent
Undefined getContent()
Link cannot have children. Overrides parent method with an empty function.
getRelation
String getRelation()
getSource
String getSource()
setContent
Undefined setContent(content)
Link cannot have children. Overrides parent method with an empty function.
Documentation generated by
JSDoc on Thu Feb 16 20:20:37 2006