org.apache.batik.dom.svg
Interface AttributeModifier

All Known Implementing Classes:
SVGOMAnimatedLength, SVGOMAnimatedTransformList

public interface AttributeModifier

This interface represents objects that own a reference to an attribute. Implementing this interface and using the created objects has the side effect to keep a reference on the created objects and avoid collection of weak references.


Method Summary
 DOMException createDOMException(short type, java.lang.String key, java.lang.Object[] args)
          Creates a DOM exception with a localized message.
 SVGElement getSVGElement()
          Returns the associated element.
 void setAttributeValue(java.lang.String value)
          Sets the value of the referenced attribute.
 

Method Detail

setAttributeValue

public void setAttributeValue(java.lang.String value)
Sets the value of the referenced attribute.

getSVGElement

public SVGElement getSVGElement()
Returns the associated element.

createDOMException

public DOMException createDOMException(short type,
                                       java.lang.String key,
                                       java.lang.Object[] args)
Creates a DOM exception with a localized message.
Parameters:
type - The DOM exception type.
key - The key of the message in the resource bundle.
args - The message arguments.


Copyright © 2000 Apache Software Foundation. All Rights Reserved.