Package org.apache.batik.anim.dom
Class SVGOMAnimatedNumberList.BaseSVGNumberList
- java.lang.Object
-
- org.apache.batik.dom.svg.AbstractSVGList
-
- org.apache.batik.dom.svg.AbstractSVGNumberList
-
- org.apache.batik.anim.dom.SVGOMAnimatedNumberList.BaseSVGNumberList
-
- All Implemented Interfaces:
org.w3c.dom.svg.SVGNumberList
- Enclosing class:
- SVGOMAnimatedNumberList
public class SVGOMAnimatedNumberList.BaseSVGNumberList extends AbstractSVGNumberList
SVGNumberListimplementation for the base number list value.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.batik.dom.svg.AbstractSVGNumberList
AbstractSVGNumberList.NumberListBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanmalformedWhether the value is malformed.protected booleanmissingWhether 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
Constructors Constructor Description BaseSVGNumberList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.w3c.dom.DOMExceptioncreateDOMException(short type, java.lang.String key, java.lang.Object[] args)Create a DOMException.protected org.w3c.dom.svg.SVGExceptioncreateSVGException(short type, java.lang.String key, java.lang.Object[] args)Create a SVGException.protected org.w3c.dom.ElementgetElement()Returns the element owning the attribute with which this length list is associated.protected java.lang.StringgetValueAsString()Returns the value of the DOM attribute containing the number list.protected voidresetAttribute()Resets the value of the associated attribute.protected voidresetAttribute(SVGItem item)Appends the string representation of the givenSVGItemto the DOM attribute.protected voidrevalidate()Initializes the list, if needed.protected voidsetAttributeValue(java.lang.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
-
-
-
-
Method Detail
-
createDOMException
protected org.w3c.dom.DOMException createDOMException(short type, java.lang.String key, java.lang.Object[] args)Create a DOMException.- Specified by:
createDOMExceptionin classAbstractSVGList
-
createSVGException
protected org.w3c.dom.svg.SVGException createSVGException(short type, java.lang.String key, java.lang.Object[] args)Create a SVGException.- Specified by:
createSVGExceptionin classAbstractSVGNumberList
-
getElement
protected org.w3c.dom.Element getElement()
Returns the element owning the attribute with which this length list is associated.- Specified by:
getElementin classAbstractSVGNumberList
-
getValueAsString
protected java.lang.String getValueAsString()
Returns the value of the DOM attribute containing the number list.- Specified by:
getValueAsStringin classAbstractSVGList
-
setAttributeValue
protected void setAttributeValue(java.lang.String value)
Sets the DOM attribute value containing the number list.- Specified by:
setAttributeValuein classAbstractSVGList- 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:
resetAttributein classAbstractSVGList
-
resetAttribute
protected void resetAttribute(SVGItem item)
Appends the string representation of the givenSVGItemto the DOM attribute. This is called in response to an append to the list.- Overrides:
resetAttributein classAbstractSVGList
-
revalidate
protected void revalidate()
Initializes the list, if needed.- Overrides:
revalidatein classAbstractSVGList
-
-