SVGPathSegConstantspublic class SVGOMAnimatedPathData.BaseSVGPathSegList extends AbstractSVGPathSegList
SVGPathSegList implementation for the base path data value.AbstractSVGPathSegList.PathSegListBuilder, AbstractSVGPathSegList.SVGPathSegArcItem, AbstractSVGPathSegList.SVGPathSegCurvetoCubicItem, AbstractSVGPathSegList.SVGPathSegCurvetoCubicSmoothItem, AbstractSVGPathSegList.SVGPathSegCurvetoQuadraticItem, AbstractSVGPathSegList.SVGPathSegCurvetoQuadraticSmoothItem, AbstractSVGPathSegList.SVGPathSegLinetoHorizontalItem, AbstractSVGPathSegList.SVGPathSegLinetoVerticalItem, AbstractSVGPathSegList.SVGPathSegMovetoLinetoItem| Modifier and Type | Field | Description |
|---|---|---|
protected boolean |
malformed |
Whether the attribute is malformed.
|
protected boolean |
missing |
Whether the attribute is missing.
|
itemList, validSVG_PATHSEG_LIST_SEPARATORPATHSEG_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 | Description |
|---|---|
BaseSVGPathSegList() |
| Modifier and Type | Method | Description |
|---|---|---|
protected org.w3c.dom.DOMException |
createDOMException(short type,
java.lang.String key,
java.lang.Object[] args) |
Create a DOMException.
|
protected org.w3c.dom.svg.SVGException |
createSVGException(short type,
java.lang.String key,
java.lang.Object[] args) |
Create a SVGException.
|
protected java.lang.String |
getValueAsString() |
Returns the value of the DOM attribute containing the path data.
|
protected void |
resetAttribute() |
Resets the value of the associated attribute.
|
protected void |
resetAttribute(SVGItem item) |
Appends the string representation of the given
SVGItem to
the DOM attribute. |
protected void |
revalidate() |
Initializes the list, if needed.
|
protected void |
setAttributeValue(java.lang.String value) |
Sets the DOM attribute value containing the path data.
|
appendItemImpl, clear, clear, getItemImpl, getNumberOfItems, initializeImpl, insertItemBeforeImpl, invalidate, itemChanged, removeIfNeeded, removeItem, removeItemImpl, replaceItemImpl, setValueAsStringappendItem, checkItemType, createPathSegItem, createSVGItem, doParse, getItem, getItemSeparator, initialize, insertItemBefore, removeItem, replaceItemprotected boolean missing
protected boolean malformed
protected org.w3c.dom.DOMException createDOMException(short type,
java.lang.String key,
java.lang.Object[] args)
createDOMException in class AbstractSVGListprotected org.w3c.dom.svg.SVGException createSVGException(short type,
java.lang.String key,
java.lang.Object[] args)
createSVGException in class AbstractSVGPathSegListprotected java.lang.String getValueAsString()
getValueAsString in class AbstractSVGListprotected void setAttributeValue(java.lang.String value)
setAttributeValue in class AbstractSVGListvalue - the String representation of the list, or null
if the list contains no itemsprotected void resetAttribute()
resetAttribute in class AbstractSVGListprotected void resetAttribute(SVGItem item)
SVGItem to
the DOM attribute. This is called in response to an append to
the list.resetAttribute in class AbstractSVGListprotected void revalidate()
revalidate in class AbstractSVGListCopyright ? 2018 Apache Software Foundation. All Rights Reserved.