Package org.apache.batik.anim.dom
Class SVGOMAnimatedTransformList.BaseSVGTransformList
- java.lang.Object
-
- org.apache.batik.dom.svg.AbstractSVGList
-
- org.apache.batik.dom.svg.AbstractSVGTransformList
-
- org.apache.batik.anim.dom.SVGOMAnimatedTransformList.BaseSVGTransformList
-
- All Implemented Interfaces:
org.w3c.dom.svg.SVGTransformList
- Enclosing class:
- SVGOMAnimatedTransformList
public class SVGOMAnimatedTransformList.BaseSVGTransformList extends AbstractSVGTransformList
SVGTransformList
implementation for the base transform list value.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.batik.dom.svg.AbstractSVGTransformList
AbstractSVGTransformList.SVGTransformItem, AbstractSVGTransformList.TransformListBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
malformed
Whether the attribute is malformed.protected boolean
missing
Whether the attribute is missing.-
Fields inherited from class org.apache.batik.dom.svg.AbstractSVGTransformList
SVG_TRANSFORMATION_LIST_SEPARATOR
-
Fields inherited from class org.apache.batik.dom.svg.AbstractSVGList
itemList, valid
-
-
Constructor Summary
Constructors Constructor Description BaseSVGTransformList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.w3c.dom.DOMException
createDOMException(short type, java.lang.String key, java.lang.Object[] args)
Create a DOMException.protected org.w3c.dom.svg.SVGException
createSVGException(short type, java.lang.String key, java.lang.Object[] args)
Create a SVGException.protected java.lang.String
getValueAsString()
Returns the value of the DOM attribute containing the transform list.protected void
resetAttribute()
Resets the value of the associated attribute.protected void
resetAttribute(SVGItem item)
Appends the string representation of the givenSVGItem
to the DOM attribute.protected void
revalidate()
Initializes the list, if needed.protected void
setAttributeValue(java.lang.String value)
Sets the DOM attribute value containing the transform list.-
Methods inherited from class org.apache.batik.dom.svg.AbstractSVGTransformList
appendItem, checkItemType, consolidate, createSVGItem, createSVGTransformFromMatrix, doParse, getAffineTransform, 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:
createDOMException
in classAbstractSVGList
-
createSVGException
protected org.w3c.dom.svg.SVGException createSVGException(short type, java.lang.String key, java.lang.Object[] args)
Create a SVGException.- Specified by:
createSVGException
in classAbstractSVGTransformList
- Returns:
- SVGException
-
getValueAsString
protected java.lang.String getValueAsString()
Returns the value of the DOM attribute containing the transform list.- Specified by:
getValueAsString
in classAbstractSVGList
-
setAttributeValue
protected void setAttributeValue(java.lang.String value)
Sets the DOM attribute value containing the transform list.- Specified by:
setAttributeValue
in 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:
resetAttribute
in classAbstractSVGList
-
resetAttribute
protected void resetAttribute(SVGItem item)
Appends the string representation of the givenSVGItem
to the DOM attribute. This is called in response to an append to the list.- Overrides:
resetAttribute
in classAbstractSVGList
-
revalidate
protected void revalidate()
Initializes the list, if needed.- Overrides:
revalidate
in classAbstractSVGList
-
-