org.apache.batik.dom.svg

Class SVGOMStyleElement

public class SVGOMStyleElement extends SVGOMElement implements CSSStyleSheetNode, SVGStyleElement, LinkStyle

This class implements SVGStyleElement.
Nested Class Summary
protected classSVGOMStyleElement.DOMCharacterDataModifiedListener
The DOMCharacterDataModified listener.
Field Summary
protected static AttributeInitializerattributeInitializer
The attribute initializer.
protected EventListenerdomCharacterDataModifiedListener
The listener used to track the content changes.
protected StyleSheetsheet
The style sheet.
protected StyleSheetstyleSheet
The DOM CSS style-sheet.
Constructor Summary
protected SVGOMStyleElement()
Creates a new SVGOMStyleElement object.
SVGOMStyleElement(String prefix, AbstractDocument owner)
Creates a new SVGOMStyleElement object.
Method Summary
protected AttributeInitializergetAttributeInitializer()
Returns the AttributeInitializer for this element type.
StyleSheetgetCSSStyleSheet()
Returns the associated style-sheet.
StringgetLocalName()
DOM: Implements org.w3c.dom.Node#getLocalName().
StringgetMedia()
DOM: Implements SVGStyleElement#getMedia().
StyleSheetgetSheet()
DOM: Implements org.w3c.dom.stylesheets.LinkStyle#getSheet().
StringgetTitle()
DOM: Implements SVGStyleElement#getTitle().
StringgetType()
DOM: Implements SVGStyleElement#getType().
StringgetXMLspace()
DOM: Implements SVGStyleElement#getXMLspace().
protected NodenewNode()
Returns a new uninitialized instance of this object's class.
voidsetMedia(String media)
DOM: Implements SVGStyleElement#setMedia(String).
voidsetTitle(String title)
DOM: Implements SVGStyleElement#setTitle(String).
voidsetType(String type)
DOM: Implements SVGStyleElement#setType(String).
voidsetXMLspace(String space)
DOM: Implements SVGStyleElement#setXMLspace(String).

Field Detail

attributeInitializer

protected static final AttributeInitializer attributeInitializer
The attribute initializer.

domCharacterDataModifiedListener

protected transient EventListener domCharacterDataModifiedListener
The listener used to track the content changes.

sheet

protected transient StyleSheet sheet
The style sheet.

styleSheet

protected transient StyleSheet styleSheet
The DOM CSS style-sheet.

Constructor Detail

SVGOMStyleElement

protected SVGOMStyleElement()
Creates a new SVGOMStyleElement object.

SVGOMStyleElement

public SVGOMStyleElement(String prefix, AbstractDocument owner)
Creates a new SVGOMStyleElement object.

Parameters: prefix The namespace prefix. owner The owner document.

Method Detail

getAttributeInitializer

protected AttributeInitializer getAttributeInitializer()
Returns the AttributeInitializer for this element type.

Returns: null if this element has no attribute with a default value.

getCSSStyleSheet

public StyleSheet getCSSStyleSheet()
Returns the associated style-sheet.

getLocalName

public String getLocalName()
DOM: Implements org.w3c.dom.Node#getLocalName().

getMedia

public String getMedia()
DOM: Implements SVGStyleElement#getMedia().

getSheet

public StyleSheet getSheet()
DOM: Implements org.w3c.dom.stylesheets.LinkStyle#getSheet().

getTitle

public String getTitle()
DOM: Implements SVGStyleElement#getTitle().

getType

public String getType()
DOM: Implements SVGStyleElement#getType().

getXMLspace

public String getXMLspace()
DOM: Implements SVGStyleElement#getXMLspace().

newNode

protected Node newNode()
Returns a new uninitialized instance of this object's class.

setMedia

public void setMedia(String media)
DOM: Implements SVGStyleElement#setMedia(String).

setTitle

public void setTitle(String title)
DOM: Implements SVGStyleElement#setTitle(String).

setType

public void setType(String type)
DOM: Implements SVGStyleElement#setType(String).

setXMLspace

public void setXMLspace(String space)
DOM: Implements SVGStyleElement#setXMLspace(String).
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.