org.apache.batik.dom.svg
public abstract class AbstractSVGTransformList extends AbstractSVGList implements SVGTransformList
SVGTransformList.
| Nested Class Summary | |
|---|---|
| protected class | AbstractSVGTransformList.SVGTransformItem
An {@link SVGTransform} in the list. |
| protected class | AbstractSVGTransformList.TransformListBuilder
Helper class to interface the {@link TransformListParser} and the
{@link ListHandler}. |
| Field Summary | |
|---|---|
| static String | SVG_TRANSFORMATION_LIST_SEPARATOR
Separator for a point list. |
| Method Summary | |
|---|---|
| SVGTransform | appendItem(SVGTransform newItem)
DOM: Implements {@link SVGTransformList#appendItem(SVGTransform)}. |
| protected void | checkItemType(Object newItem)
Asserts that the given item is an {@link SVGTransformList}. |
| SVGTransform | consolidate()
DOM: Implements {@link SVGTransformList#consolidate()}. |
| protected abstract SVGException | createSVGException(short type, String key, Object[] args)
Create an SVGException when the checkItemType fails. |
| protected SVGItem | createSVGItem(Object newItem)
Creates a new {@link SVGItem} object from the given {@link SVGTransform}. |
| SVGTransform | createSVGTransformFromMatrix(SVGMatrix matrix)
DOM: Implements {@link
SVGTransformList#createSVGTransformFromMatrix(SVGMatrix)}. |
| protected void | doParse(String value, ListHandler handler)
Parse the attribute associated with this SVGTransformList.
|
| AffineTransform | getAffineTransform()
Returns an {@link AffineTransform} that represents the same transform
as that specified by this transform list. |
| SVGTransform | getItem(int index)
DOM: Implements {@link SVGTransformList#getItem(int)}. |
| protected String | getItemSeparator()
Return the separator between transform in the list. |
| SVGTransform | initialize(SVGTransform newItem)
DOM: Implements {@link SVGTransformList#initialize(SVGTransform)}. |
| SVGTransform | insertItemBefore(SVGTransform newItem, int index)
DOM: Implements {@link
SVGTransformList#insertItemBefore(SVGTransform,int)}. |
| SVGTransform | removeItem(int index)
DOM: Implements {@link SVGTransformList#removeItem(int)}. |
| SVGTransform | replaceItem(SVGTransform newItem, int index)
DOM: Implements {@link
SVGTransformList#replaceItem(SVGTransform,int)}. |
Returns: SVGException
Parameters: value the transform list attribute value handler transform list handler