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 {@link LengthListParser} and the
{@link ListHandler}. |
protected class | AbstractSVGLengthList.SVGLengthItem
An {@link 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 {@link SVGLengthList#appendItem(SVGLength)}. |
protected void | checkItemType(Object newItem)
Asserts that the given item is an {@link 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 {@link SVGItem} object from the given {@link 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 {@link SVGLengthList#getItem(int)}. |
protected String | getItemSeparator()
Return the separator between values in the list. |
SVGLength | initialize(SVGLength newItem)
DOM: Implements {@link SVGLengthList#initialize(SVGLength)}. |
SVGLength | insertItemBefore(SVGLength newItem, int index)
DOM: Implements {@link
SVGLengthList#insertItemBefore(SVGLength,int)}. |
SVGLength | removeItem(int index)
DOM: Implements {@link SVGLengthList#removeItem(int)}. |
SVGLength | replaceItem(SVGLength newItem, int index)
DOM: Implements {@link
SVGLengthList#replaceItem(SVGLength,int)}. |
Returns: SVGException
Parameters: value attribute value handler length list handler