org.apache.batik.dom.svg
public abstract class AbstractSVGNumberList extends AbstractSVGList implements SVGNumberList
Nested Class Summary | |
---|---|
protected class | AbstractSVGNumberList.NumberListBuilder
Helper class to interface the {@link NumberListParser} and the
{@link NumberListHandler}. |
protected class | AbstractSVGNumberList.SVGNumberItem
Representation of the item SVGNumber. |
Field Summary | |
---|---|
static String | SVG_NUMBER_LIST_SEPARATOR
Separator for a length list. |
Constructor Summary | |
---|---|
protected | AbstractSVGNumberList()
Creates a new SVGNumberList. |
Method Summary | |
---|---|
SVGNumber | appendItem(SVGNumber newItem)
DOM: Implements {@link SVGNumberList#appendItem(SVGNumber)}. |
protected void | checkItemType(Object newItem)
Asserts that the given item object is an {@link SVGNumber}. |
protected abstract SVGException | createSVGException(short type, String key, Object[] args)
Create an SVGException when the {@link #checkItemType(Object)} fails. |
protected SVGItem | createSVGItem(Object newItem)
Creates a new {@link SVGNumberItem} from the given {@link SVGNumber}. |
protected void | doParse(String value, ListHandler handler)
Parse the attribute associated with this SVGNumberList. |
protected abstract Element | getElement()
Returns the element associated with this SVGNumberList. |
SVGNumber | getItem(int index)
DOM: Implements {@link SVGNumberList#getItem(int)}. |
protected String | getItemSeparator()
Return the separator between values in the list. |
SVGNumber | initialize(SVGNumber newItem)
DOM: Implements {@link SVGNumberList#initialize(SVGNumber)}. |
SVGNumber | insertItemBefore(SVGNumber newItem, int index)
DOM: Implements {@link
SVGNumberList#insertItemBefore(SVGNumber,int)}. |
SVGNumber | removeItem(int index)
DOM: Implements {@link SVGNumberList#removeItem(int)}. |
SVGNumber | replaceItem(SVGNumber newItem, int index)
DOM: Implements {@link SVGNumberList#replaceItem(SVGNumber,int)}. |
Parameters: value attribute value handler list handler