org.apache.batik.dom.svg
Class SVGOMAnimatedEnumeration

java.lang.Object
  |
  +--org.apache.batik.dom.svg.SVGOMAnimatedEnumeration
All Implemented Interfaces:
SVGAnimatedEnumeration

public class SVGOMAnimatedEnumeration
extends java.lang.Object
implements SVGAnimatedEnumeration

This class implements the SVGAnimatedEnumeration interface.


Field Summary
protected  java.lang.String attributeName
          The associated attribute name.
protected  java.lang.String attributeNsURI
          The associated attribute namespace URI.
protected  DefaultAttributeValueProducer defaultValueProducer
          The default value producer.
protected  SVGOMElement element
          The associated element.
protected static java.lang.Short[] SHORTS
          The Short constants.
protected  java.util.Map shortStringMap
          The short-string map.
protected  java.util.Map stringShortMap
          The string-short map.
 
Constructor Summary
SVGOMAnimatedEnumeration(SVGOMElement elt, java.lang.String nsURI, java.lang.String attr, java.util.Map strShort, java.util.Map shortStr, DefaultAttributeValueProducer def)
          Creates a new SVGAnimatedEnumeration object.
 
Method Summary
static java.lang.Short createShort(short s)
          Creates a new Short object.
 short getAnimVal()
          DOM: Implements SVGAnimatedEnumeration.getAnimVal().
 short getBaseVal()
          DOM: Implements SVGAnimatedEnumeration.getBaseVal().
 void setBaseVal(short baseVal)
          DOM: Implements SVGAnimatedEnumeration.setBaseVal(short).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SHORTS

protected static final java.lang.Short[] SHORTS
The Short constants.

element

protected SVGOMElement element
The associated element.

attributeNsURI

protected java.lang.String attributeNsURI
The associated attribute namespace URI.

attributeName

protected java.lang.String attributeName
The associated attribute name.

stringShortMap

protected java.util.Map stringShortMap
The string-short map.

shortStringMap

protected java.util.Map shortStringMap
The short-string map.

defaultValueProducer

protected DefaultAttributeValueProducer defaultValueProducer
The default value producer.
Constructor Detail

SVGOMAnimatedEnumeration

public SVGOMAnimatedEnumeration(SVGOMElement elt,
                                java.lang.String nsURI,
                                java.lang.String attr,
                                java.util.Map strShort,
                                java.util.Map shortStr,
                                DefaultAttributeValueProducer def)
Creates a new SVGAnimatedEnumeration object.
Parameters:
elt - The associated element.
nsURI - The associated element namespace URI.
attr - The associated attribute name.
strShort - The enumeration values. The keys are strings and the values are Short objects.
shortStr - The enumeration values. The keys are Short objects and the values are strings.
def - The default value producer.
Method Detail

createShort

public static java.lang.Short createShort(short s)
Creates a new Short object.

getBaseVal

public short getBaseVal()
DOM: Implements SVGAnimatedEnumeration.getBaseVal().
Specified by:
getBaseVal in interface SVGAnimatedEnumeration

setBaseVal

public void setBaseVal(short baseVal)
                throws DOMException
DOM: Implements SVGAnimatedEnumeration.setBaseVal(short).
Specified by:
setBaseVal in interface SVGAnimatedEnumeration

getAnimVal

public short getAnimVal()
DOM: Implements SVGAnimatedEnumeration.getAnimVal().
Specified by:
getAnimVal in interface SVGAnimatedEnumeration


Copyright © 2001 Apache Software Foundation. All Rights Reserved.