Package org.apache.batik.anim.dom
Class SVGOMAnimatedPoints.BaseSVGPointList
java.lang.Object
org.apache.batik.dom.svg.AbstractSVGList
org.apache.batik.dom.svg.AbstractSVGPointList
org.apache.batik.anim.dom.SVGOMAnimatedPoints.BaseSVGPointList
- All Implemented Interfaces:
org.w3c.dom.svg.SVGPointList
- Enclosing class:
SVGOMAnimatedPoints
SVGPointList
implementation for the base point list value.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.batik.dom.svg.AbstractSVGPointList
AbstractSVGPointList.PointsListBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
Whether the attribute is malformed.protected boolean
Whether the attribute is missing.Fields inherited from class org.apache.batik.dom.svg.AbstractSVGPointList
SVG_POINT_LIST_SEPARATOR
Fields inherited from class org.apache.batik.dom.svg.AbstractSVGList
itemList, valid
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DOMException
createDOMException
(short type, String key, Object[] args) Create a DOMException.protected org.w3c.dom.svg.SVGException
createSVGException
(short type, String key, Object[] args) Create a SVGException.protected String
Returns the value of the DOM attribute containing the point list.protected void
Resets the value of the associated attribute.protected void
resetAttribute
(SVGItem item) Appends the string representation of the givenSVGItem
to the DOM attribute.protected void
Initializes the list, if needed.protected void
setAttributeValue
(String value) Sets the DOM attribute value containing the point list.Methods inherited from class org.apache.batik.dom.svg.AbstractSVGPointList
appendItem, checkItemType, createSVGItem, doParse, getItem, getItemSeparator, initialize, insertItemBefore, removeItem, replaceItem
Methods inherited from class org.apache.batik.dom.svg.AbstractSVGList
appendItemImpl, clear, clear, getItemImpl, getNumberOfItems, initializeImpl, insertItemBeforeImpl, invalidate, itemChanged, removeIfNeeded, removeItem, removeItemImpl, replaceItemImpl, 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 Details
-
missing
protected boolean missingWhether the attribute is missing. -
malformed
protected boolean malformedWhether the attribute is malformed.
-
-
Constructor Details
-
BaseSVGPointList
protected BaseSVGPointList()
-
-
Method Details
-
createDOMException
Create a DOMException.- Specified by:
createDOMException
in classAbstractSVGList
-
createSVGException
Create a SVGException.- Specified by:
createSVGException
in classAbstractSVGPointList
- Returns:
- SVGException
-
getValueAsString
Returns the value of the DOM attribute containing the point list.- Specified by:
getValueAsString
in classAbstractSVGList
-
setAttributeValue
Sets the DOM attribute value containing the point list.- Specified by:
setAttributeValue
in classAbstractSVGList
- Parameters:
value
- the String representation of the list, or null if the list contains no items
-
resetAttribute
protected void resetAttribute()Resets the value of the associated attribute.- Overrides:
resetAttribute
in classAbstractSVGList
-
resetAttribute
Appends the string representation of the givenSVGItem
to the DOM attribute. This is called in response to an append to the list.- Overrides:
resetAttribute
in classAbstractSVGList
-
revalidate
protected void revalidate()Initializes the list, if needed.- Overrides:
revalidate
in classAbstractSVGList
-