public abstract class AbstractSVGLengthList extends AbstractSVGList implements org.w3c.dom.svg.SVGLengthList
SVGLengthList.| Modifier and Type | Class and Description |
|---|---|
protected class |
AbstractSVGLengthList.LengthListBuilder
Helper class to interface the
LengthListParser and the
ListHandler. |
protected class |
AbstractSVGLengthList.SVGLengthItem
An
SVGLength in the list. |
| Modifier and Type | Field and Description |
|---|---|
protected short |
direction
This length list's direction.
|
static String |
SVG_LENGTH_LIST_SEPARATOR
Separator for a length list.
|
itemList, valid| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSVGLengthList(short direction)
Creates a new SVGLengthList.
|
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.svg.SVGLength |
appendItem(org.w3c.dom.svg.SVGLength newItem)
DOM: Implements
SVGLengthList.appendItem(SVGLength). |
protected void |
checkItemType(Object newItem)
Asserts that the given item is an
SVGLengthList. |
protected abstract org.w3c.dom.svg.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)
Parses the attribute associated with this SVGLengthList.
|
protected abstract Element |
getElement()
Returns the element owning this SVGLengthList.
|
org.w3c.dom.svg.SVGLength |
getItem(int index)
DOM: Implements
SVGLengthList.getItem(int). |
protected String |
getItemSeparator()
Return the separator between values in the list.
|
org.w3c.dom.svg.SVGLength |
initialize(org.w3c.dom.svg.SVGLength newItem)
DOM: Implements
SVGLengthList.initialize(SVGLength). |
org.w3c.dom.svg.SVGLength |
insertItemBefore(org.w3c.dom.svg.SVGLength newItem,
int index)
DOM: Implements
SVGLengthList.insertItemBefore(SVGLength,int). |
org.w3c.dom.svg.SVGLength |
removeItem(int index)
DOM: Implements
SVGLengthList.removeItem(int). |
org.w3c.dom.svg.SVGLength |
replaceItem(org.w3c.dom.svg.SVGLength newItem,
int index)
DOM: Implements
SVGLengthList.replaceItem(SVGLength,int). |
appendItemImpl, clear, clear, createDOMException, getItemImpl, getNumberOfItems, getValueAsString, initializeImpl, insertItemBeforeImpl, invalidate, itemChanged, removeIfNeeded, removeItem, removeItemImpl, replaceItemImpl, resetAttribute, resetAttribute, revalidate, setAttributeValue, setValueAsStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, getNumberOfItemsprotected short direction
public static final String SVG_LENGTH_LIST_SEPARATOR
protected AbstractSVGLengthList(short direction)
protected String getItemSeparator()
getItemSeparator in class AbstractSVGListprotected abstract org.w3c.dom.svg.SVGException createSVGException(short type, String key, Object[] args)
protected abstract Element getElement()
public org.w3c.dom.svg.SVGLength initialize(org.w3c.dom.svg.SVGLength newItem) throws DOMException, org.w3c.dom.svg.SVGException
SVGLengthList.initialize(SVGLength).initialize in interface org.w3c.dom.svg.SVGLengthListDOMExceptionorg.w3c.dom.svg.SVGExceptionpublic org.w3c.dom.svg.SVGLength getItem(int index) throws DOMException
SVGLengthList.getItem(int).getItem in interface org.w3c.dom.svg.SVGLengthListDOMExceptionpublic org.w3c.dom.svg.SVGLength insertItemBefore(org.w3c.dom.svg.SVGLength newItem, int index) throws DOMException, org.w3c.dom.svg.SVGException
SVGLengthList.insertItemBefore(SVGLength,int).insertItemBefore in interface org.w3c.dom.svg.SVGLengthListDOMExceptionorg.w3c.dom.svg.SVGExceptionpublic org.w3c.dom.svg.SVGLength replaceItem(org.w3c.dom.svg.SVGLength newItem, int index) throws DOMException, org.w3c.dom.svg.SVGException
SVGLengthList.replaceItem(SVGLength,int).replaceItem in interface org.w3c.dom.svg.SVGLengthListDOMExceptionorg.w3c.dom.svg.SVGExceptionpublic org.w3c.dom.svg.SVGLength removeItem(int index) throws DOMException
SVGLengthList.removeItem(int).removeItem in interface org.w3c.dom.svg.SVGLengthListDOMExceptionpublic org.w3c.dom.svg.SVGLength appendItem(org.w3c.dom.svg.SVGLength newItem) throws DOMException, org.w3c.dom.svg.SVGException
SVGLengthList.appendItem(SVGLength).appendItem in interface org.w3c.dom.svg.SVGLengthListDOMExceptionorg.w3c.dom.svg.SVGExceptionprotected SVGItem createSVGItem(Object newItem)
createSVGItem in class AbstractSVGListnewItem - the SVG objectSVGItem objectprotected void doParse(String value, ListHandler handler) throws ParseException
doParse in class AbstractSVGListvalue - attribute valuehandler - length list handlerParseExceptionprotected void checkItemType(Object newItem) throws org.w3c.dom.svg.SVGException
SVGLengthList.checkItemType in class AbstractSVGListorg.w3c.dom.svg.SVGExceptionCopyright © 2000–2020 Apache Software Foundation. All rights reserved.