|
||||||||||
| 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.AbstractSVGPointList
public abstract class AbstractSVGPointList
Abstract implementation of SVGPointList.
| Nested Class Summary | |
|---|---|
protected class |
AbstractSVGPointList.PointsListBuilder
Helper class to interface the PointsParser and the
PointsHandler. |
| Field Summary | |
|---|---|
static String |
SVG_POINT_LIST_SEPARATOR
Separator for a point list. |
| Fields inherited from class org.apache.batik.dom.svg.AbstractSVGList |
|---|
itemList, valid |
| Constructor Summary | |
|---|---|
AbstractSVGPointList()
|
|
| Method Summary | |
|---|---|
org.w3c.dom.svg.SVGPoint |
appendItem(org.w3c.dom.svg.SVGPoint newItem)
DOM: Implements SVGPointList.appendItem(SVGPoint). |
protected void |
checkItemType(Object newItem)
Asserts that the given item is an SVGPoint. |
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)
Creates a new SVGItem object from the given SVGPoint. |
protected void |
doParse(String value,
ListHandler handler)
Parses the 'points' attribute. |
org.w3c.dom.svg.SVGPoint |
getItem(int index)
DOM: Implements SVGPointList.getItem(int). |
protected String |
getItemSeparator()
Return the separator between points in the list. |
org.w3c.dom.svg.SVGPoint |
initialize(org.w3c.dom.svg.SVGPoint newItem)
DOM: Implements SVGPointList.initialize(SVGPoint). |
org.w3c.dom.svg.SVGPoint |
insertItemBefore(org.w3c.dom.svg.SVGPoint newItem,
int index)
DOM: Implements SVGPointList.insertItemBefore(SVGPoint,int). |
org.w3c.dom.svg.SVGPoint |
removeItem(int index)
DOM: Implements SVGPointList.removeItem(int). |
org.w3c.dom.svg.SVGPoint |
replaceItem(org.w3c.dom.svg.SVGPoint newItem,
int index)
DOM: Implements SVGPointList.replaceItem(SVGPoint,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.SVGPointList |
|---|
clear, getNumberOfItems |
| Field Detail |
|---|
public static final String SVG_POINT_LIST_SEPARATOR
| Constructor Detail |
|---|
public AbstractSVGPointList()
| Method Detail |
|---|
protected String getItemSeparator()
getItemSeparator in class AbstractSVGList
protected abstract org.w3c.dom.svg.SVGException createSVGException(short type,
String key,
Object[] args)
public org.w3c.dom.svg.SVGPoint initialize(org.w3c.dom.svg.SVGPoint newItem)
throws DOMException,
org.w3c.dom.svg.SVGException
SVGPointList.initialize(SVGPoint).
initialize in interface org.w3c.dom.svg.SVGPointListDOMException
org.w3c.dom.svg.SVGException
public org.w3c.dom.svg.SVGPoint getItem(int index)
throws DOMException
SVGPointList.getItem(int).
getItem in interface org.w3c.dom.svg.SVGPointListDOMException
public org.w3c.dom.svg.SVGPoint insertItemBefore(org.w3c.dom.svg.SVGPoint newItem,
int index)
throws DOMException,
org.w3c.dom.svg.SVGException
SVGPointList.insertItemBefore(SVGPoint,int).
insertItemBefore in interface org.w3c.dom.svg.SVGPointListDOMException
org.w3c.dom.svg.SVGException
public org.w3c.dom.svg.SVGPoint replaceItem(org.w3c.dom.svg.SVGPoint newItem,
int index)
throws DOMException,
org.w3c.dom.svg.SVGException
SVGPointList.replaceItem(SVGPoint,int).
replaceItem in interface org.w3c.dom.svg.SVGPointListDOMException
org.w3c.dom.svg.SVGException
public org.w3c.dom.svg.SVGPoint removeItem(int index)
throws DOMException
SVGPointList.removeItem(int).
removeItem in interface org.w3c.dom.svg.SVGPointListDOMException
public org.w3c.dom.svg.SVGPoint appendItem(org.w3c.dom.svg.SVGPoint newItem)
throws DOMException,
org.w3c.dom.svg.SVGException
SVGPointList.appendItem(SVGPoint).
appendItem in interface org.w3c.dom.svg.SVGPointListDOMException
org.w3c.dom.svg.SVGExceptionprotected SVGItem createSVGItem(Object newItem)
SVGItem object from the given SVGPoint.
createSVGItem in class AbstractSVGListnewItem - the SVG object
SVGItem object
protected void doParse(String value,
ListHandler handler)
throws ParseException
doParse in class AbstractSVGListvalue - 'points' attribute valuehandler - point list handler
ParseException
protected void checkItemType(Object newItem)
throws org.w3c.dom.svg.SVGException
SVGPoint.
checkItemType in class AbstractSVGListorg.w3c.dom.svg.SVGException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||