org.apache.batik.dom
public abstract class AbstractStylableDocument extends AbstractDocument implements DocumentCSS, DocumentView
Field Summary | |
---|---|
protected CSSEngine | cssEngine
The CSS engine. |
protected AbstractView | defaultView
The default view. |
Constructor Summary | |
---|---|
protected | AbstractStylableDocument() |
protected | AbstractStylableDocument(DocumentType dt, DOMImplementation impl)
Creates a new document. |
Method Summary | |
---|---|
void | clearViewCSS()
Clears the view CSS. |
CSSEngine | getCSSEngine()
Returns the CSS engine. |
AbstractView | getDefaultView()
DOM: Implements {@link DocumentView#getDefaultView()}. |
CSSStyleDeclaration | getOverrideStyle(Element elt, String pseudoElt)
DOM: Implements
{@link DocumentCSS#getOverrideStyle(Element,String)}. |
StyleSheetList | getStyleSheets()
DOM: Implements {@link
org.w3c.dom.stylesheets.DocumentStyle#getStyleSheets()}. |
void | setCSSEngine(CSSEngine ctx)
Sets the CSS engine. |
Returns: a ViewCSS object.