|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.dom.svg.AbstractSVGList
org.apache.batik.dom.svg.AbstractSVGNumberList
public abstract class AbstractSVGNumberList
This class is the implementation of SVGNumberList.
| Nested Class Summary | |
|---|---|
protected class |
AbstractSVGNumberList.NumberListBuilder
Helper class to interface the NumberListParser and the
NumberListHandler. |
| Field Summary | |
|---|---|
static String |
SVG_NUMBER_LIST_SEPARATOR
Separator for a length list. |
| Fields inherited from class org.apache.batik.dom.svg.AbstractSVGList |
|---|
itemList, valid |
| Constructor Summary | |
|---|---|
protected |
AbstractSVGNumberList()
Creates a new SVGNumberList. |
| Method Summary | |
|---|---|
org.w3c.dom.svg.SVGNumber |
appendItem(org.w3c.dom.svg.SVGNumber newItem)
DOM: Implements SVGNumberList.appendItem(SVGNumber). |
protected void |
checkItemType(Object newItem)
Asserts that the given item object is an SVGNumber. |
protected abstract org.w3c.dom.svg.SVGException |
createSVGException(short type,
String key,
Object[] args)
Create an SVGException when the checkItemType(Object) fails. |
protected SVGItem |
createSVGItem(Object newItem)
Creates a new SVGNumberItem from the given 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. |
org.w3c.dom.svg.SVGNumber |
getItem(int index)
DOM: Implements SVGNumberList.getItem(int). |
protected 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). |
| Methods inherited from class org.apache.batik.dom.svg.AbstractSVGList |
|---|
appendItemImpl, clear, clear, createDOMException, getItemImpl, getNumberOfItems, getValueAsString, initializeImpl, insertItemBeforeImpl, invalidate, itemChanged, removeIfNeeded, removeItem, removeItemImpl, replaceItemImpl, resetAttribute, resetAttribute, revalidate, setAttributeValue, setValueAsString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.svg.SVGNumberList |
|---|
clear, getNumberOfItems |
| Field Detail |
|---|
public static final String SVG_NUMBER_LIST_SEPARATOR
| Constructor Detail |
|---|
protected AbstractSVGNumberList()
| Method Detail |
|---|
protected String getItemSeparator()
getItemSeparator in class AbstractSVGList
protected abstract org.w3c.dom.svg.SVGException createSVGException(short type,
String key,
Object[] args)
checkItemType(Object) fails.
protected abstract Element getElement()
public org.w3c.dom.svg.SVGNumber initialize(org.w3c.dom.svg.SVGNumber newItem)
throws DOMException,
org.w3c.dom.svg.SVGException
SVGNumberList.initialize(SVGNumber).
initialize in interface org.w3c.dom.svg.SVGNumberListDOMException
org.w3c.dom.svg.SVGException
public org.w3c.dom.svg.SVGNumber getItem(int index)
throws DOMException
SVGNumberList.getItem(int).
getItem in interface org.w3c.dom.svg.SVGNumberListDOMException
public org.w3c.dom.svg.SVGNumber insertItemBefore(org.w3c.dom.svg.SVGNumber newItem,
int index)
throws DOMException,
org.w3c.dom.svg.SVGException
SVGNumberList.insertItemBefore(SVGNumber,int).
insertItemBefore in interface org.w3c.dom.svg.SVGNumberListDOMException
org.w3c.dom.svg.SVGException
public org.w3c.dom.svg.SVGNumber replaceItem(org.w3c.dom.svg.SVGNumber newItem,
int index)
throws DOMException,
org.w3c.dom.svg.SVGException
SVGNumberList.replaceItem(SVGNumber,int).
replaceItem in interface org.w3c.dom.svg.SVGNumberListDOMException
org.w3c.dom.svg.SVGException
public org.w3c.dom.svg.SVGNumber removeItem(int index)
throws DOMException
SVGNumberList.removeItem(int).
removeItem in interface org.w3c.dom.svg.SVGNumberListDOMException
public org.w3c.dom.svg.SVGNumber appendItem(org.w3c.dom.svg.SVGNumber newItem)
throws DOMException,
org.w3c.dom.svg.SVGException
SVGNumberList.appendItem(SVGNumber).
appendItem in interface org.w3c.dom.svg.SVGNumberListDOMException
org.w3c.dom.svg.SVGExceptionprotected SVGItem createSVGItem(Object newItem)
SVGNumberItem from the given SVGNumber.
createSVGItem in class AbstractSVGListnewItem - the SVG object
SVGItem object
protected void doParse(String value,
ListHandler handler)
throws ParseException
doParse in class AbstractSVGListvalue - attribute valuehandler - list handler
ParseException
protected void checkItemType(Object newItem)
throws org.w3c.dom.svg.SVGException
SVGNumber.
checkItemType in class AbstractSVGListorg.w3c.dom.svg.SVGException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||