Class SVGOMAnimatedPathData.BaseSVGPathSegList
java.lang.Object
org.apache.batik.dom.svg.AbstractSVGList
org.apache.batik.dom.svg.AbstractSVGPathSegList
org.apache.batik.anim.dom.SVGOMAnimatedPathData.BaseSVGPathSegList
- All Implemented Interfaces:
SVGPathSegConstants, org.w3c.dom.svg.SVGPathSegList
- Enclosing class:
SVGOMAnimatedPathData
SVGPathSegList implementation for the base path data value.-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractSVGPathSegList
AbstractSVGPathSegList.PathSegListBuilder, AbstractSVGPathSegList.SVGPathSegArcItem, AbstractSVGPathSegList.SVGPathSegCurvetoCubicItem, AbstractSVGPathSegList.SVGPathSegCurvetoCubicSmoothItem, AbstractSVGPathSegList.SVGPathSegCurvetoQuadraticItem, AbstractSVGPathSegList.SVGPathSegCurvetoQuadraticSmoothItem, AbstractSVGPathSegList.SVGPathSegLinetoHorizontalItem, AbstractSVGPathSegList.SVGPathSegLinetoVerticalItem, AbstractSVGPathSegList.SVGPathSegMovetoLinetoItem -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanWhether the attribute is malformed.protected booleanWhether the attribute is missing.Fields inherited from class AbstractSVGPathSegList
SVG_PATHSEG_LIST_SEPARATORFields inherited from class AbstractSVGList
itemList, validFields inherited from interface SVGPathSegConstants
PATHSEG_ARC_ABS_LETTER, PATHSEG_ARC_REL_LETTER, PATHSEG_CLOSEPATH_LETTER, PATHSEG_CURVETO_CUBIC_ABS_LETTER, PATHSEG_CURVETO_CUBIC_REL_LETTER, PATHSEG_CURVETO_CUBIC_SMOOTH_ABS_LETTER, PATHSEG_CURVETO_CUBIC_SMOOTH_REL_LETTER, PATHSEG_CURVETO_QUADRATIC_ABS_LETTER, PATHSEG_CURVETO_QUADRATIC_REL_LETTER, PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS_LETTER, PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL_LETTER, PATHSEG_LETTERS, PATHSEG_LINETO_ABS_LETTER, PATHSEG_LINETO_HORIZONTAL_ABS_LETTER, PATHSEG_LINETO_HORIZONTAL_REL_LETTER, PATHSEG_LINETO_REL_LETTER, PATHSEG_LINETO_VERTICAL_ABS_LETTER, PATHSEG_LINETO_VERTICAL_REL_LETTER, PATHSEG_MOVETO_ABS_LETTER, PATHSEG_MOVETO_REL_LETTER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DOMExceptioncreateDOMException(short type, String key, Object[] args) Create a DOMException.protected org.w3c.dom.svg.SVGExceptioncreateSVGException(short type, String key, Object[] args) Create a SVGException.protected StringReturns the value of the DOM attribute containing the path data.protected voidResets the value of the associated attribute.protected voidresetAttribute(SVGItem item) Appends the string representation of the givenSVGItemto the DOM attribute.protected voidInitializes the list, if needed.protected voidsetAttributeValue(String value) Sets the DOM attribute value containing the path data.Methods inherited from class AbstractSVGPathSegList
appendItem, checkItemType, createPathSegItem, createSVGItem, doParse, getItem, getItemSeparator, initialize, insertItemBefore, removeItem, replaceItemMethods inherited from class AbstractSVGList
appendItemImpl, clear, clear, getItemImpl, getNumberOfItems, initializeImpl, insertItemBeforeImpl, invalidate, itemChanged, removeIfNeeded, removeItem, removeItemImpl, replaceItemImpl, setValueAsStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.w3c.dom.svg.SVGPathSegList
clear, getNumberOfItems
-
Field Details
-
missing
protected boolean missingWhether the attribute is missing. -
malformed
protected boolean malformedWhether the attribute is malformed.
-
-
Constructor Details
-
BaseSVGPathSegList
public BaseSVGPathSegList()
-
-
Method Details
-
createDOMException
Create a DOMException.- Specified by:
createDOMExceptionin classAbstractSVGList
-
createSVGException
Create a SVGException.- Specified by:
createSVGExceptionin classAbstractSVGPathSegList- Returns:
- SVGException
-
getValueAsString
Returns the value of the DOM attribute containing the path data.- Specified by:
getValueAsStringin classAbstractSVGList
-
setAttributeValue
Sets the DOM attribute value containing the path data.- Specified by:
setAttributeValuein 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:
resetAttributein classAbstractSVGList
-
resetAttribute
Appends the string representation of the givenSVGItemto the DOM attribute. This is called in response to an append to the list.- Overrides:
resetAttributein classAbstractSVGList
-
revalidate
protected void revalidate()Initializes the list, if needed.- Overrides:
revalidatein classAbstractSVGList
-