Class SVGOMAnimatedPoints.BaseSVGPointList

All Implemented Interfaces:
org.w3c.dom.svg.SVGPointList
Enclosing class:
SVGOMAnimatedPoints

protected class SVGOMAnimatedPoints.BaseSVGPointList extends AbstractSVGPointList
SVGPointList implementation for the base point list value.
  • Field Details

    • missing

      protected boolean missing
      Whether the attribute is missing.
    • malformed

      protected boolean malformed
      Whether the attribute is malformed.
  • Constructor Details

    • BaseSVGPointList

      protected BaseSVGPointList()
  • Method Details

    • createDOMException

      protected DOMException createDOMException(short type, String key, Object[] args)
      Create a DOMException.
      Specified by:
      createDOMException in class AbstractSVGList
    • createSVGException

      protected org.w3c.dom.svg.SVGException createSVGException(short type, String key, Object[] args)
      Create a SVGException.
      Specified by:
      createSVGException in class AbstractSVGPointList
      Returns:
      SVGException
    • getValueAsString

      protected String getValueAsString()
      Returns the value of the DOM attribute containing the point list.
      Specified by:
      getValueAsString in class AbstractSVGList
    • setAttributeValue

      protected void setAttributeValue(String value)
      Sets the DOM attribute value containing the point list.
      Specified by:
      setAttributeValue in class AbstractSVGList
      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 class AbstractSVGList
    • resetAttribute

      protected void resetAttribute(SVGItem item)
      Appends the string representation of the given SVGItem to the DOM attribute. This is called in response to an append to the list.
      Overrides:
      resetAttribute in class AbstractSVGList
    • revalidate

      protected void revalidate()
      Initializes the list, if needed.
      Overrides:
      revalidate in class AbstractSVGList