Class SVGOMAnimatedLengthList.BaseSVGLengthList

  • All Implemented Interfaces:
    org.w3c.dom.svg.SVGLengthList
    Enclosing class:
    SVGOMAnimatedLengthList

    public class SVGOMAnimatedLengthList.BaseSVGLengthList
    extends AbstractSVGLengthList
    SVGLengthList implementation for the base length list value.
    • Field Detail

      • missing

        protected boolean missing
        Whether the value is missing.
      • malformed

        protected boolean malformed
        Whether the value is malformed.
    • Constructor Detail

      • BaseSVGLengthList

        public BaseSVGLengthList()
        Creates a new BaseSVGLengthList.
    • Method Detail

      • createDOMException

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

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

        protected org.w3c.dom.Element getElement()
        Returns the element owning the attribute with which this length list is associated.
        Specified by:
        getElement in class AbstractSVGLengthList
      • getValueAsString

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

        protected void setAttributeValue​(java.lang.String value)
        Sets the DOM attribute value containing the length 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