org.w3c.dom.svg.SVGNumberListSVGOMAnimatedNumberList.AnimSVGNumberList, SVGOMAnimatedNumberList.BaseSVGNumberListpublic abstract class AbstractSVGNumberList extends AbstractSVGList implements org.w3c.dom.svg.SVGNumberList
SVGNumberList.| Modifier and Type | Class | Description |
|---|---|---|
protected class |
AbstractSVGNumberList.NumberListBuilder |
Helper class to interface the
NumberListParser and the
NumberListHandler. |
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
SVG_NUMBER_LIST_SEPARATOR |
Separator for a length list.
|
itemList, valid| Modifier | Constructor | Description |
|---|---|---|
protected |
AbstractSVGNumberList() |
Creates a new SVGNumberList.
|
| Modifier and Type | Method | Description |
|---|---|---|
org.w3c.dom.svg.SVGNumber |
appendItem(org.w3c.dom.svg.SVGNumber newItem) |
DOM: Implements
SVGNumberList.appendItem(SVGNumber). |
protected void |
checkItemType(java.lang.Object newItem) |
Asserts that the given item object is an
SVGNumber. |
protected abstract org.w3c.dom.svg.SVGException |
createSVGException(short type,
java.lang.String key,
java.lang.Object[] args) |
Create an SVGException when the
checkItemType(Object) fails. |
protected SVGItem |
createSVGItem(java.lang.Object newItem) |
Creates a new
SVGNumberItem from the given SVGNumber. |
protected void |
doParse(java.lang.String value,
ListHandler handler) |
Parse the attribute associated with this SVGNumberList.
|
protected abstract org.w3c.dom.Element |
getElement() |
Returns the element associated with this SVGNumberList.
|
org.w3c.dom.svg.SVGNumber |
getItem(int index) |
DOM: Implements
SVGNumberList.getItem(int). |
protected java.lang.String |
getItemSeparator() |
Return the separator between values in the list.
|
org.w3c.dom.svg.SVGNumber |
initialize(org.w3c.dom.svg.SVGNumber newItem) |
DOM: Implements
SVGNumberList.initialize(SVGNumber). |
org.w3c.dom.svg.SVGNumber |
insertItemBefore(org.w3c.dom.svg.SVGNumber newItem,
int index) |
DOM: Implements
SVGNumberList.insertItemBefore(SVGNumber,int). |
org.w3c.dom.svg.SVGNumber |
removeItem(int index) |
DOM: Implements
SVGNumberList.removeItem(int). |
org.w3c.dom.svg.SVGNumber |
replaceItem(org.w3c.dom.svg.SVGNumber newItem,
int index) |
DOM: Implements
SVGNumberList.replaceItem(SVGNumber,int). |
appendItemImpl, clear, clear, createDOMException, getItemImpl, getNumberOfItems, getValueAsString, initializeImpl, insertItemBeforeImpl, invalidate, itemChanged, removeIfNeeded, removeItem, removeItemImpl, replaceItemImpl, resetAttribute, resetAttribute, revalidate, setAttributeValue, setValueAsStringpublic static final java.lang.String SVG_NUMBER_LIST_SEPARATOR
protected AbstractSVGNumberList()
protected java.lang.String getItemSeparator()
getItemSeparator in class AbstractSVGListprotected abstract org.w3c.dom.svg.SVGException createSVGException(short type,
java.lang.String key,
java.lang.Object[] args)
checkItemType(Object) fails.protected abstract org.w3c.dom.Element getElement()
public org.w3c.dom.svg.SVGNumber initialize(org.w3c.dom.svg.SVGNumber newItem)
throws org.w3c.dom.DOMException,
org.w3c.dom.svg.SVGException
SVGNumberList.initialize(SVGNumber).initialize in interface org.w3c.dom.svg.SVGNumberListorg.w3c.dom.DOMExceptionorg.w3c.dom.svg.SVGExceptionpublic org.w3c.dom.svg.SVGNumber getItem(int index)
throws org.w3c.dom.DOMException
SVGNumberList.getItem(int).getItem in interface org.w3c.dom.svg.SVGNumberListorg.w3c.dom.DOMExceptionpublic org.w3c.dom.svg.SVGNumber insertItemBefore(org.w3c.dom.svg.SVGNumber newItem,
int index)
throws org.w3c.dom.DOMException,
org.w3c.dom.svg.SVGException
SVGNumberList.insertItemBefore(SVGNumber,int).insertItemBefore in interface org.w3c.dom.svg.SVGNumberListorg.w3c.dom.DOMExceptionorg.w3c.dom.svg.SVGExceptionpublic org.w3c.dom.svg.SVGNumber replaceItem(org.w3c.dom.svg.SVGNumber newItem,
int index)
throws org.w3c.dom.DOMException,
org.w3c.dom.svg.SVGException
SVGNumberList.replaceItem(SVGNumber,int).replaceItem in interface org.w3c.dom.svg.SVGNumberListorg.w3c.dom.DOMExceptionorg.w3c.dom.svg.SVGExceptionpublic org.w3c.dom.svg.SVGNumber removeItem(int index)
throws org.w3c.dom.DOMException
SVGNumberList.removeItem(int).removeItem in interface org.w3c.dom.svg.SVGNumberListorg.w3c.dom.DOMExceptionpublic org.w3c.dom.svg.SVGNumber appendItem(org.w3c.dom.svg.SVGNumber newItem)
throws org.w3c.dom.DOMException,
org.w3c.dom.svg.SVGException
SVGNumberList.appendItem(SVGNumber).appendItem in interface org.w3c.dom.svg.SVGNumberListorg.w3c.dom.DOMExceptionorg.w3c.dom.svg.SVGExceptionprotected SVGItem createSVGItem(java.lang.Object newItem)
SVGNumberItem from the given SVGNumber.createSVGItem in class AbstractSVGListnewItem - the SVG objectSVGItem objectprotected void doParse(java.lang.String value,
ListHandler handler)
throws ParseException
doParse in class AbstractSVGListvalue - attribute valuehandler - list handlerParseExceptionprotected void checkItemType(java.lang.Object newItem)
throws org.w3c.dom.svg.SVGException
SVGNumber.checkItemType in class AbstractSVGListorg.w3c.dom.svg.SVGExceptionCopyright ? 2018 Apache Software Foundation. All Rights Reserved.