org.apache.batik.dom.svg
public abstract class AbstractSVGLengthList extends AbstractSVGList implements SVGLengthList
SVGLengthList.
| Nested Class Summary | |
|---|---|
| protected class | AbstractSVGLengthList.LengthListBuilder
Helper class to interface the LengthListParser and the
ListHandler. |
| protected class | AbstractSVGLengthList.SVGLengthItem
An SVGLength in the list. |
| Field Summary | |
|---|---|
| protected short | direction
This length list's direction. |
| static String | SVG_LENGTH_LIST_SEPARATOR
Separator for a length list. |
| Constructor Summary | |
|---|---|
| protected | AbstractSVGLengthList(short direction)
Creates a new SVGLengthList. |
| Method Summary | |
|---|---|
| SVGLength | appendItem(SVGLength newItem)
DOM: Implements SVGLengthList#appendItem(SVGLength). |
| protected void | checkItemType(Object newItem)
Asserts that the given item is an SVGLengthList. |
| 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 SVGLength. |
| protected void | doParse(String value, ListHandler handler)
Parses the attribute associated with this SVGLengthList.
|
| protected abstract Element | getElement()
Returns the element owning this SVGLengthList. |
| SVGLength | getItem(int index)
DOM: Implements SVGLengthList#getItem(int). |
| protected String | getItemSeparator()
Return the separator between values in the list. |
| SVGLength | initialize(SVGLength newItem)
DOM: Implements SVGLengthList#initialize(SVGLength). |
| SVGLength | insertItemBefore(SVGLength newItem, int index)
DOM: Implements SVGLengthList#insertItemBefore(SVGLength,int). |
| SVGLength | removeItem(int index)
DOM: Implements SVGLengthList#removeItem(int). |
| SVGLength | replaceItem(SVGLength newItem, int index)
DOM: Implements SVGLengthList#replaceItem(SVGLength,int). |
Returns: SVGException
Parameters: value attribute value handler length list handler