info.informatica.doc.style.css
Class DOMCSSStyleSheetFactory

java.lang.Object
  extended by info.informatica.doc.style.css.CSSStyleSheetFactory
      extended by info.informatica.doc.style.css.DOMCSSStyleSheetFactory

public class DOMCSSStyleSheetFactory
extends CSSStyleSheetFactory

CSS2 style sheet factory for DOM.

Author:
Carlos Amengual (amengual at informatica.info)

Field Summary
 
Fields inherited from class info.informatica.doc.style.css.CSSStyleSheetFactory
XHTML_NAMESPACE_URI
 
Constructor Summary
DOMCSSStyleSheetFactory()
           
 
Method Summary
 org.w3c.dom.css.CSSStyleSheet createStyleSheet(Node ownerNode, String namespaceUri, org.w3c.dom.stylesheets.MediaList mediaList)
          Creates a CSS style sheet.
 org.w3c.dom.css.CSSStyleSheet createStyleSheet(String namespaceUri, org.w3c.dom.stylesheets.MediaList mediaList)
          Creates a CSS style sheet.
 
Methods inherited from class info.informatica.doc.style.css.CSSStyleSheetFactory
createStyleSheet, createStyleSheet, loadCSSfromClasspath, loadXHTMLDefaultSheet, parse, setClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMCSSStyleSheetFactory

public DOMCSSStyleSheetFactory()
Method Detail

createStyleSheet

public org.w3c.dom.css.CSSStyleSheet createStyleSheet(String namespaceUri,
                                                      org.w3c.dom.stylesheets.MediaList mediaList)
Creates a CSS style sheet.

Specified by:
createStyleSheet in class CSSStyleSheetFactory
Parameters:
namespaceUri - the Namespace URI for the style sheet.
mediaList - the target media list for style information.
Returns:
the style sheet.

createStyleSheet

public org.w3c.dom.css.CSSStyleSheet createStyleSheet(Node ownerNode,
                                                      String namespaceUri,
                                                      org.w3c.dom.stylesheets.MediaList mediaList)
Creates a CSS style sheet.

Parameters:
ownerNode - the node that associates the style sheet to the document. In XHTML it can be a link or style element. For style sheets that are included by other style sheets, the value of this attribute is null.
namespaceUri - the Namespace URI for the style sheet.
mediaList - the target media list for style information.
Returns:
the style sheet.


Copyright © 2011 informatica.info. All Rights Reserved.