Class AbstractSVGPointList

    • Field Detail

      • SVG_POINT_LIST_SEPARATOR

        public static final java.lang.String SVG_POINT_LIST_SEPARATOR
        Separator for a point list.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractSVGPointList

        public AbstractSVGPointList()
    • Method Detail

      • getItemSeparator

        protected java.lang.String getItemSeparator()
        Return the separator between points in the list.
        Specified by:
        getItemSeparator in class AbstractSVGList
      • createSVGException

        protected abstract org.w3c.dom.svg.SVGException createSVGException​(short type,
                                                                           java.lang.String key,
                                                                           java.lang.Object[] args)
        Create an SVGException when the checkItemType fails.
        Returns:
        SVGException
      • initialize

        public org.w3c.dom.svg.SVGPoint initialize​(org.w3c.dom.svg.SVGPoint newItem)
                                            throws org.w3c.dom.DOMException,
                                                   org.w3c.dom.svg.SVGException
        DOM: Implements SVGPointList.initialize(SVGPoint).
        Specified by:
        initialize in interface org.w3c.dom.svg.SVGPointList
        Throws:
        org.w3c.dom.DOMException
        org.w3c.dom.svg.SVGException
      • getItem

        public org.w3c.dom.svg.SVGPoint getItem​(int index)
                                         throws org.w3c.dom.DOMException
        DOM: Implements SVGPointList.getItem(int).
        Specified by:
        getItem in interface org.w3c.dom.svg.SVGPointList
        Throws:
        org.w3c.dom.DOMException
      • insertItemBefore

        public org.w3c.dom.svg.SVGPoint insertItemBefore​(org.w3c.dom.svg.SVGPoint newItem,
                                                         int index)
                                                  throws org.w3c.dom.DOMException,
                                                         org.w3c.dom.svg.SVGException
        DOM: Implements SVGPointList.insertItemBefore(SVGPoint,int).
        Specified by:
        insertItemBefore in interface org.w3c.dom.svg.SVGPointList
        Throws:
        org.w3c.dom.DOMException
        org.w3c.dom.svg.SVGException
      • replaceItem

        public org.w3c.dom.svg.SVGPoint replaceItem​(org.w3c.dom.svg.SVGPoint newItem,
                                                    int index)
                                             throws org.w3c.dom.DOMException,
                                                    org.w3c.dom.svg.SVGException
        DOM: Implements SVGPointList.replaceItem(SVGPoint,int).
        Specified by:
        replaceItem in interface org.w3c.dom.svg.SVGPointList
        Throws:
        org.w3c.dom.DOMException
        org.w3c.dom.svg.SVGException
      • removeItem

        public org.w3c.dom.svg.SVGPoint removeItem​(int index)
                                            throws org.w3c.dom.DOMException
        DOM: Implements SVGPointList.removeItem(int).
        Specified by:
        removeItem in interface org.w3c.dom.svg.SVGPointList
        Throws:
        org.w3c.dom.DOMException
      • appendItem

        public org.w3c.dom.svg.SVGPoint appendItem​(org.w3c.dom.svg.SVGPoint newItem)
                                            throws org.w3c.dom.DOMException,
                                                   org.w3c.dom.svg.SVGException
        DOM: Implements SVGPointList.appendItem(SVGPoint).
        Specified by:
        appendItem in interface org.w3c.dom.svg.SVGPointList
        Throws:
        org.w3c.dom.DOMException
        org.w3c.dom.svg.SVGException
      • createSVGItem

        protected SVGItem createSVGItem​(java.lang.Object newItem)
        Creates a new SVGItem object from the given SVGPoint.
        Specified by:
        createSVGItem in class AbstractSVGList
        Parameters:
        newItem - the SVG object
        Returns:
        the newly created SVGItem object
      • checkItemType

        protected void checkItemType​(java.lang.Object newItem)
                              throws org.w3c.dom.svg.SVGException
        Asserts that the given item is an SVGPoint.
        Specified by:
        checkItemType in class AbstractSVGList
        Throws:
        org.w3c.dom.svg.SVGException