org.apache.batik.extension
public abstract class StylableExtensionElement extends ExtensionElement implements CSSStylableElement, SVGStylable
Field Summary | |
---|---|
protected StyleMap | computedStyleMap
The computed style map. |
protected URL | cssBase
The base URL. |
Constructor Summary | |
---|---|
protected | StylableExtensionElement()
Creates a new Element object. |
protected | StylableExtensionElement(String name, AbstractDocument owner)
Creates a new Element object. |
Method Summary | |
---|---|
SVGAnimatedString | getClassName()
DOM: Implements {@link
org.w3c.dom.svg.SVGStylable#getClassName()}. |
StyleMap | getComputedStyleMap(String pseudoElement)
Returns the computed style of this element/pseudo-element. |
URL | getCSSBase()
Returns the CSS base URL of this element. |
String | getCSSClass()
Returns the class of this element. |
StyleDeclarationProvider | getOverrideStyleDeclarationProvider()
Returns the object that gives access to the underlying
{@link org.apache.batik.css.engine.StyleDeclaration} for the override
style of this element. |
CSSValue | getPresentationAttribute(String name)
DOM: Implements {@link
org.w3c.dom.svg.SVGStylable#getPresentationAttribute(String)}. |
CSSStyleDeclaration | getStyle()
DOM: Implements {@link org.w3c.dom.svg.SVGStylable#getStyle()}. |
String | getXMLId()
Returns the ID of this element. |
boolean | isPseudoInstanceOf(String pseudoClass)
Tells whether this element is an instance of the given pseudo
class. |
void | setComputedStyleMap(String pseudoElement, StyleMap sm)
Sets the computed style of this element/pseudo-element. |
Parameters: name The element name, for validation purposes. owner The owner document.
Throws: IllegalArgumentException when {@link #getBaseURI()} returns an invalid URL. The information from the MalformedURLException is passed to the IllegalArgumentException