public class SVGOMAnimatedNumberList.BaseSVGNumberList extends AbstractSVGNumberList
SVGNumberList
implementation for the base number list value.AbstractSVGNumberList.NumberListBuilder
Modifier and Type | Field and Description |
---|---|
protected boolean |
malformed
Whether the value is malformed.
|
protected boolean |
missing
Whether the value is missing.
|
SVG_NUMBER_LIST_SEPARATOR
itemList, valid
Constructor and Description |
---|
BaseSVGNumberList() |
Modifier and Type | Method and Description |
---|---|
protected 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 Element |
getElement()
Returns the element owning the attribute with which this length
list is associated.
|
protected java.lang.String |
getValueAsString()
Returns the value of the DOM attribute containing the number list.
|
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 number list.
|
appendItem, checkItemType, createSVGItem, doParse, getItem, getItemSeparator, initialize, insertItemBefore, removeItem, replaceItem
appendItemImpl, clear, clear, getItemImpl, getNumberOfItems, initializeImpl, insertItemBeforeImpl, invalidate, itemChanged, removeIfNeeded, removeItem, removeItemImpl, replaceItemImpl, setValueAsString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clear, getNumberOfItems
protected boolean missing
protected boolean malformed
protected DOMException createDOMException(short type, java.lang.String key, java.lang.Object[] args)
createDOMException
in class AbstractSVGList
protected org.w3c.dom.svg.SVGException createSVGException(short type, java.lang.String key, java.lang.Object[] args)
createSVGException
in class AbstractSVGNumberList
protected Element getElement()
getElement
in class AbstractSVGNumberList
protected java.lang.String getValueAsString()
getValueAsString
in class AbstractSVGList
protected void setAttributeValue(java.lang.String value)
setAttributeValue
in class AbstractSVGList
value
- the String representation of the list, or null
if the list contains no itemsprotected void resetAttribute()
resetAttribute
in class AbstractSVGList
protected void resetAttribute(SVGItem item)
SVGItem
to
the DOM attribute. This is called in response to an append to
the list.resetAttribute
in class AbstractSVGList
protected void revalidate()
revalidate
in class AbstractSVGList
Copyright © 2022 Apache Software Foundation. All Rights Reserved.