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 PointsParser and the
PointsHandler. |
| protected class | AbstractSVGPointList.SVGPointItem
An 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 SVGPointList#appendItem(SVGPoint). |
| protected void | checkItemType(Object newItem)
Asserts that the given item is an 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 SVGItem object from the given SVGPoint. |
| protected void | doParse(String value, ListHandler handler)
Parses the 'points' attribute.
|
| SVGPoint | getItem(int index)
DOM: Implements SVGPointList#getItem(int). |
| protected String | getItemSeparator()
Return the separator between points in the list. |
| SVGPoint | initialize(SVGPoint newItem)
DOM: Implements SVGPointList#initialize(SVGPoint). |
| SVGPoint | insertItemBefore(SVGPoint newItem, int index)
DOM: Implements SVGPointList#insertItemBefore(SVGPoint,int). |
| SVGPoint | removeItem(int index)
DOM: Implements SVGPointList#removeItem(int). |
| SVGPoint | replaceItem(SVGPoint newItem, int index)
DOM: Implements SVGPointList#replaceItem(SVGPoint,int). |
Returns: SVGException
Parameters: value 'points' attribute value handler point list handler