org.apache.batik.dom.svg
public abstract class AbstractSVGPointList extends AbstractSVGList implements SVGPointList
| Nested Class Summary | |
|---|---|
| protected class | AbstractSVGPointList.PointsListBuilder
Helper class to interface the {@link PointsParser} and the
{@link PointsHandler}. |
| protected class | AbstractSVGPointList.SVGPointItem
An {@link SVGPoint} in the list. |
| Field Summary | |
|---|---|
| static String | SVG_POINT_LIST_SEPARATOR
Separator for a point list. |
| Method Summary | |
|---|---|
| SVGPoint | appendItem(SVGPoint newItem)
DOM: Implements {@link SVGPointList#appendItem(SVGPoint)}. |
| protected void | checkItemType(Object newItem)
Asserts that the given item is an {@link SVGPoint}. |
| 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 SVGPoint}. |
| protected void | doParse(String value, ListHandler handler)
Parses the 'points' attribute.
|
| SVGPoint | getItem(int index)
DOM: Implements {@link SVGPointList#getItem(int)}. |
| protected String | getItemSeparator()
Return the separator between points in the list. |
| SVGPoint | initialize(SVGPoint newItem)
DOM: Implements {@link SVGPointList#initialize(SVGPoint)}. |
| SVGPoint | insertItemBefore(SVGPoint newItem, int index)
DOM: Implements {@link
SVGPointList#insertItemBefore(SVGPoint,int)}. |
| SVGPoint | removeItem(int index)
DOM: Implements {@link SVGPointList#removeItem(int)}. |
| SVGPoint | replaceItem(SVGPoint newItem, int index)
DOM: Implements {@link
SVGPointList#replaceItem(SVGPoint,int)}. |
Returns: SVGException
Parameters: value 'points' attribute value handler point list handler