|
||||||||||
| 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.AbstractSVGPathSegList
public abstract class AbstractSVGPathSegList
This class is the implementation of
SVGPathSegList.
| Nested Class Summary | |
|---|---|
protected class |
AbstractSVGPathSegList.PathSegListBuilder
|
class |
AbstractSVGPathSegList.SVGPathSegArcItem
|
class |
AbstractSVGPathSegList.SVGPathSegCurvetoCubicItem
|
class |
AbstractSVGPathSegList.SVGPathSegCurvetoCubicSmoothItem
|
class |
AbstractSVGPathSegList.SVGPathSegCurvetoQuadraticItem
|
class |
AbstractSVGPathSegList.SVGPathSegCurvetoQuadraticSmoothItem
|
protected class |
AbstractSVGPathSegList.SVGPathSegItem
Internal representation of the item SVGPathSeg. |
class |
AbstractSVGPathSegList.SVGPathSegLinetoHorizontalItem
|
class |
AbstractSVGPathSegList.SVGPathSegLinetoVerticalItem
|
class |
AbstractSVGPathSegList.SVGPathSegMovetoLinetoItem
|
| Nested classes/interfaces inherited from class org.apache.batik.dom.svg.AbstractSVGList |
|---|
AbstractSVGList.ListBuilder |
| Field Summary | |
|---|---|
static java.lang.String |
SVG_PATHSEG_LIST_SEPARATOR
Separator for a point list. |
| Fields inherited from class org.apache.batik.dom.svg.AbstractSVGList |
|---|
itemList, valid |
| Constructor Summary | |
|---|---|
protected |
AbstractSVGPathSegList()
Creates a new SVGPathSegList. |
| Method Summary | |
|---|---|
org.w3c.dom.svg.SVGPathSeg |
appendItem(org.w3c.dom.svg.SVGPathSeg newItem)
|
protected void |
checkItemType(java.lang.Object newItem)
Check if the item is an SVGPathSeg. |
protected AbstractSVGPathSegList.SVGPathSegItem |
createPathSegItem(org.w3c.dom.svg.SVGPathSeg pathSeg)
create an SVGItem representing this SVGPathSeg. |
protected abstract org.w3c.dom.svg.SVGException |
createSVGException(short type,
java.lang.String key,
java.lang.Object[] args)
Create an SVGException when the checkItemType fails. |
protected SVGItem |
createSVGItem(java.lang.Object newItem)
Creates an SVGItem object that has the same values as those
in the specified SVG object. |
protected void |
doParse(java.lang.String value,
ListHandler handler)
Parse the 'd' attribute. |
org.w3c.dom.svg.SVGPathSeg |
getItem(int index)
|
protected java.lang.String |
getItemSeparator()
Return the separator between segments in the list. |
org.w3c.dom.svg.SVGPathSeg |
initialize(org.w3c.dom.svg.SVGPathSeg newItem)
|
org.w3c.dom.svg.SVGPathSeg |
insertItemBefore(org.w3c.dom.svg.SVGPathSeg newItem,
int index)
|
org.w3c.dom.svg.SVGPathSeg |
removeItem(int index)
|
org.w3c.dom.svg.SVGPathSeg |
replaceItem(org.w3c.dom.svg.SVGPathSeg newItem,
int index)
|
| 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.SVGPathSegList |
|---|
clear, getNumberOfItems |
| Field Detail |
|---|
public static final java.lang.String SVG_PATHSEG_LIST_SEPARATOR
| Constructor Detail |
|---|
protected AbstractSVGPathSegList()
| Method Detail |
|---|
protected java.lang.String getItemSeparator()
getItemSeparator in class AbstractSVGList
protected abstract org.w3c.dom.svg.SVGException createSVGException(short type,
java.lang.String key,
java.lang.Object[] args)
public org.w3c.dom.svg.SVGPathSeg initialize(org.w3c.dom.svg.SVGPathSeg newItem)
throws org.w3c.dom.DOMException,
org.w3c.dom.svg.SVGException
initialize in interface org.w3c.dom.svg.SVGPathSegListorg.w3c.dom.DOMException
org.w3c.dom.svg.SVGException
public org.w3c.dom.svg.SVGPathSeg getItem(int index)
throws org.w3c.dom.DOMException
getItem in interface org.w3c.dom.svg.SVGPathSegListorg.w3c.dom.DOMException
public org.w3c.dom.svg.SVGPathSeg insertItemBefore(org.w3c.dom.svg.SVGPathSeg newItem,
int index)
throws org.w3c.dom.DOMException,
org.w3c.dom.svg.SVGException
insertItemBefore in interface org.w3c.dom.svg.SVGPathSegListorg.w3c.dom.DOMException
org.w3c.dom.svg.SVGException
public org.w3c.dom.svg.SVGPathSeg replaceItem(org.w3c.dom.svg.SVGPathSeg newItem,
int index)
throws org.w3c.dom.DOMException,
org.w3c.dom.svg.SVGException
replaceItem in interface org.w3c.dom.svg.SVGPathSegListorg.w3c.dom.DOMException
org.w3c.dom.svg.SVGException
public org.w3c.dom.svg.SVGPathSeg removeItem(int index)
throws org.w3c.dom.DOMException
removeItem in interface org.w3c.dom.svg.SVGPathSegListorg.w3c.dom.DOMException
public org.w3c.dom.svg.SVGPathSeg appendItem(org.w3c.dom.svg.SVGPathSeg newItem)
throws org.w3c.dom.DOMException,
org.w3c.dom.svg.SVGException
appendItem in interface org.w3c.dom.svg.SVGPathSegListorg.w3c.dom.DOMException
org.w3c.dom.svg.SVGExceptionprotected SVGItem createSVGItem(java.lang.Object newItem)
AbstractSVGListSVGItem object that has the same values as those
in the specified SVG object.
createSVGItem in class AbstractSVGListnewItem - the SVG object
SVGItem object
protected void doParse(java.lang.String value,
ListHandler handler)
throws ParseException
doParse in class AbstractSVGListvalue - 'd' attribute valuehandler - : list handler
ParseExceptionprotected void checkItemType(java.lang.Object newItem)
checkItemType in class AbstractSVGListprotected AbstractSVGPathSegList.SVGPathSegItem createPathSegItem(org.w3c.dom.svg.SVGPathSeg pathSeg)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||