org.apache.batik.dom.svg
public abstract class AbstractSVGPathSegList extends AbstractSVGList implements SVGPathSegList, SVGPathSegConstants
SVGPathSegList
.
Nested Class Summary | |
---|---|
protected class | AbstractSVGPathSegList.PathSegListBuilder |
class | AbstractSVGPathSegList.SVGPathSegArcItem |
class | AbstractSVGPathSegList.SVGPathSegCurvetoCubicItem |
class | AbstractSVGPathSegList.SVGPathSegCurvetoCubicSmoothItem |
class | AbstractSVGPathSegList.SVGPathSegCurvetoQuadraticItem |
class | AbstractSVGPathSegList.SVGPathSegCurvetoQuadraticSmoothItem |
protected class | AbstractSVGPathSegList.SVGPathSegItem
Internal representation of the item SVGPathSeg. |
class | AbstractSVGPathSegList.SVGPathSegLinetoHorizontalItem |
class | AbstractSVGPathSegList.SVGPathSegLinetoVerticalItem |
class | AbstractSVGPathSegList.SVGPathSegMovetoLinetoItem |
Field Summary | |
---|---|
static String | SVG_PATHSEG_LIST_SEPARATOR
Separator for a point list. |
Constructor Summary | |
---|---|
protected | AbstractSVGPathSegList()
Creates a new SVGPathSegList. |
Method Summary | |
---|---|
SVGPathSeg | appendItem(SVGPathSeg newItem) |
protected void | checkItemType(Object newItem)
Check if the item is an SVGPathSeg. |
protected AbstractSVGPathSegList.SVGPathSegItem | createPathSegItem(SVGPathSeg pathSeg)
create an SVGItem representing this SVGPathSeg. |
protected abstract SVGException | createSVGException(short type, String key, Object[] args)
Create an SVGException when the checkItemType fails.
|
protected SVGItem | createSVGItem(Object newItem) |
protected void | doParse(String value, ListHandler handler)
Parse the 'd' attribute.
|
SVGPathSeg | getItem(int index) |
protected String | getItemSeparator()
Return the separator between segments in the list. |
SVGPathSeg | initialize(SVGPathSeg newItem) |
SVGPathSeg | insertItemBefore(SVGPathSeg newItem, int index) |
SVGPathSeg | removeItem(int index) |
SVGPathSeg | replaceItem(SVGPathSeg newItem, int index) |
Returns: SVGException
Parameters: value 'd' attribute value handler : list handler