org.apache.batik.dom.svg
Class SVGOMAnimatedNumberList.BaseSVGNumberList

java.lang.Object
  extended byorg.apache.batik.dom.svg.AbstractSVGList
      extended byorg.apache.batik.dom.svg.AbstractSVGNumberList
          extended byorg.apache.batik.dom.svg.SVGOMAnimatedNumberList.BaseSVGNumberList
All Implemented Interfaces:
SVGNumberList
Enclosing class:
SVGOMAnimatedNumberList

public class SVGOMAnimatedNumberList.BaseSVGNumberList
extends AbstractSVGNumberList

SVGNumberList implementation for the base number list value.


Nested Class Summary
 
Nested classes inherited from class org.apache.batik.dom.svg.AbstractSVGNumberList
AbstractSVGNumberList.NumberListBuilder, AbstractSVGNumberList.SVGNumberItem
 
Nested classes inherited from class org.apache.batik.dom.svg.AbstractSVGList
AbstractSVGList.ListBuilder
 
Field Summary
protected  boolean malformed
          Whether the value is malformed.
protected  boolean missing
          Whether the value is missing.
 
Fields inherited from class org.apache.batik.dom.svg.AbstractSVGNumberList
SVG_NUMBER_LIST_SEPARATOR
 
Fields inherited from class org.apache.batik.dom.svg.AbstractSVGList
itemList, valid
 
Constructor Summary
SVGOMAnimatedNumberList.BaseSVGNumberList()
           
 
Method Summary
protected  DOMException createDOMException(short type, String key, Object[] args)
          Create a DOMException.
protected  SVGException createSVGException(short type, String key, Object[] args)
          Create a SVGException.
protected  Element getElement()
          Returns the element owning the attribute with which this length list is associated.
protected  String getValueAsString()
          Returns the value of the DOM attribute containing the number list.
protected  void resetAttribute()
          Resets the value of the associated attribute.
protected  void resetAttribute(SVGItem item)
          Appends the string representation of the given SVGItem to the DOM attribute.
protected  void revalidate()
          Initializes the list, if needed.
protected  void setAttributeValue(String value)
          Sets the DOM attribute value containing the number list.
 
Methods inherited from class org.apache.batik.dom.svg.AbstractSVGNumberList
appendItem, checkItemType, createSVGItem, doParse, getItem, getItemSeparator, initialize, insertItemBefore, removeItem, replaceItem
 
Methods inherited from class org.apache.batik.dom.svg.AbstractSVGList
appendItemImpl, clear, clear, getItemImpl, getNumberOfItems, initializeImpl, insertItemBeforeImpl, invalidate, itemChanged, removeIfNeeded, removeItem, removeItemImpl, replaceItemImpl, setValueAsString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.svg.SVGNumberList
clear, getNumberOfItems
 

Field Detail

missing

protected boolean missing
Whether the value is missing.


malformed

protected boolean malformed
Whether the value is malformed.

Constructor Detail

SVGOMAnimatedNumberList.BaseSVGNumberList

public SVGOMAnimatedNumberList.BaseSVGNumberList()
Method Detail

createDOMException

protected DOMException createDOMException(short type,
                                          String key,
                                          Object[] args)
Create a DOMException.

Specified by:
createDOMException in class AbstractSVGList

createSVGException

protected SVGException createSVGException(short type,
                                          String key,
                                          Object[] args)
Create a SVGException.

Specified by:
createSVGException in class AbstractSVGNumberList

getElement

protected Element getElement()
Returns the element owning the attribute with which this length list is associated.

Specified by:
getElement in class AbstractSVGNumberList

getValueAsString

protected String getValueAsString()
Returns the value of the DOM attribute containing the number list.

Specified by:
getValueAsString in class AbstractSVGList

setAttributeValue

protected void setAttributeValue(String value)
Sets the DOM attribute value containing the number list.

Specified by:
setAttributeValue in class AbstractSVGList
Parameters:
value - the String representation of the list, or null if the list contains no items

resetAttribute

protected void resetAttribute()
Resets the value of the associated attribute.

Overrides:
resetAttribute in class AbstractSVGList

resetAttribute

protected void resetAttribute(SVGItem item)
Appends the string representation of the given SVGItem to the DOM attribute. This is called in response to an append to the list.

Overrides:
resetAttribute in class AbstractSVGList

revalidate

protected void revalidate()
Initializes the list, if needed.

Overrides:
revalidate in class AbstractSVGList


Copyright © 2009 Apache Software Foundation. All Rights Reserved.