|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.dom.svg.AbstractSVGList | +--org.apache.batik.dom.svg.AbstractSVGTransformList
This class is the implementation of
SVGTransformList
.
Nested Class Summary | |
protected class |
AbstractSVGTransformList.SVGTransformItem
Internal representation of the item SVGPoint. |
protected class |
AbstractSVGTransformList.TransformListBuilder
Helper class to interface the PointsParser
and the ListHandler |
Nested classes inherited from class org.apache.batik.dom.svg.AbstractSVGList |
AbstractSVGList.ListBuilder |
Field Summary | |
static java.lang.String |
SVG_TRANSFORMATION_LIST_SEPARATOR
Separator for a point list. |
Fields inherited from class org.apache.batik.dom.svg.AbstractSVGList |
itemList, valid |
Constructor Summary | |
protected |
AbstractSVGTransformList()
Creates a new SVGTransformationList. |
Method Summary | |
SVGTransform |
appendItem(SVGTransform newItem)
|
protected void |
checkItemType(java.lang.Object newItem)
Check if the item is an SVGPoint. |
SVGTransform |
consolidate()
|
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. |
SVGTransform |
createSVGTransformFromMatrix(SVGMatrix matrix)
|
protected void |
doParse(java.lang.String value,
ListHandler handler)
Parse the 'points' attribute. |
SVGTransform |
getItem(int index)
|
protected java.lang.String |
getItemSeparator()
Return the separator between transform in the list. |
SVGTransform |
initialize(SVGTransform newItem)
|
SVGTransform |
insertItemBefore(SVGTransform newItem,
int index)
|
SVGTransform |
removeItem(int index)
|
SVGTransform |
replaceItem(SVGTransform 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.SVGTransformList |
clear, getNumberOfItems |
Field Detail |
public static final java.lang.String SVG_TRANSFORMATION_LIST_SEPARATOR
Constructor Detail |
protected AbstractSVGTransformList()
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)
public SVGTransform initialize(SVGTransform newItem) throws DOMException, SVGException
initialize
in interface SVGTransformList
DOMException
SVGException
public SVGTransform getItem(int index) throws DOMException
getItem
in interface SVGTransformList
DOMException
public SVGTransform insertItemBefore(SVGTransform newItem, int index) throws DOMException, SVGException
insertItemBefore
in interface SVGTransformList
DOMException
SVGException
public SVGTransform replaceItem(SVGTransform newItem, int index) throws DOMException, SVGException
replaceItem
in interface SVGTransformList
DOMException
SVGException
public SVGTransform removeItem(int index) throws DOMException
removeItem
in interface SVGTransformList
DOMException
public SVGTransform appendItem(SVGTransform newItem) throws DOMException, SVGException
appendItem
in interface SVGTransformList
DOMException
SVGException
public SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix)
createSVGTransformFromMatrix
in interface SVGTransformList
public SVGTransform consolidate()
consolidate
in interface SVGTransformList
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
- 'points' attribute valuehandler
- : list handler
ParseException
protected void checkItemType(java.lang.Object newItem)
checkItemType
in class AbstractSVGList
newItem
- object to test
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |