|
|||||||||||
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.AbstractSVGLengthList
This class is the implementation of
SVGLengthList
.
Nested Class Summary | |
protected class |
AbstractSVGLengthList.LengthListBuilder
Helper class to interface the LengthListParser
and the ListHandler |
protected class |
AbstractSVGLengthList.SVGLengthItem
Representation of the item SVGLength. |
Nested classes inherited from class org.apache.batik.dom.svg.AbstractSVGList |
AbstractSVGList.ListBuilder |
Field Summary | |
protected short |
direction
This length list's direction. |
static java.lang.String |
SVG_LENGTH_LIST_SEPARATOR
Separator for a length list. |
Fields inherited from class org.apache.batik.dom.svg.AbstractSVGList |
itemList, valid |
Constructor Summary | |
protected |
AbstractSVGLengthList(short direction)
Creates a new SVGLengthList. |
Method Summary | |
SVGLength |
appendItem(SVGLength newItem)
|
protected void |
checkItemType(java.lang.Object newItem)
Check if the item is an SVGLength. |
protected abstract 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)
Return the item to be placed in the list. |
protected void |
doParse(java.lang.String value,
ListHandler handler)
Parse the attribute associated with this SVGLengthList. |
protected abstract org.w3c.dom.Element |
getElement()
return the element owning this SVGLengthList. |
SVGLength |
getItem(int index)
|
protected java.lang.String |
getItemSeparator()
Return the separator between values in the list. |
SVGLength |
initialize(SVGLength newItem)
|
SVGLength |
insertItemBefore(SVGLength newItem,
int index)
|
SVGLength |
removeItem(int index)
|
SVGLength |
replaceItem(SVGLength 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.SVGLengthList |
clear, getNumberOfItems |
Field Detail |
protected short direction
public static final java.lang.String SVG_LENGTH_LIST_SEPARATOR
Constructor Detail |
protected AbstractSVGLengthList(short direction)
Method Detail |
protected java.lang.String getItemSeparator()
getItemSeparator
in class AbstractSVGList
protected abstract SVGException createSVGException(short type, java.lang.String key, java.lang.Object[] args)
protected abstract org.w3c.dom.Element getElement()
public SVGLength initialize(SVGLength newItem) throws org.w3c.dom.DOMException, SVGException
initialize
in interface SVGLengthList
org.w3c.dom.DOMException
SVGException
public SVGLength getItem(int index) throws org.w3c.dom.DOMException
getItem
in interface SVGLengthList
org.w3c.dom.DOMException
public SVGLength insertItemBefore(SVGLength newItem, int index) throws org.w3c.dom.DOMException, SVGException
insertItemBefore
in interface SVGLengthList
org.w3c.dom.DOMException
SVGException
public SVGLength replaceItem(SVGLength newItem, int index) throws org.w3c.dom.DOMException, SVGException
replaceItem
in interface SVGLengthList
org.w3c.dom.DOMException
SVGException
public SVGLength removeItem(int index) throws org.w3c.dom.DOMException
removeItem
in interface SVGLengthList
org.w3c.dom.DOMException
public SVGLength appendItem(SVGLength newItem) throws org.w3c.dom.DOMException, SVGException
appendItem
in interface SVGLengthList
org.w3c.dom.DOMException
SVGException
protected SVGItem createSVGItem(java.lang.Object newItem)
AbstractSVGList
Object
the implementation provide an item to be placed
in the list.
createSVGItem
in class AbstractSVGList
newItem
- paramter of the modification method
of the list
protected void doParse(java.lang.String value, ListHandler handler) throws ParseException
doParse
in class AbstractSVGList
value
- attribute valuehandler
- list handler
ParseException
protected void checkItemType(java.lang.Object newItem) throws SVGException
checkItemType
in class AbstractSVGList
newItem
- object to test
SVGException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |