Class ListBuilder

java.lang.Object
org.apache.batik.dom.svg.ListBuilder
All Implemented Interfaces:
ListHandler

public class ListBuilder extends Object implements ListHandler
A class for receiving notification of parsed list items.
  • Field Details

    • list

      protected List list
      The list being built.
  • Constructor Details

    • ListBuilder

      public ListBuilder(AbstractSVGList abstractSVGList)
      Parameters:
      abstractSVGList -
  • Method Details

    • getList

      public List getList()
      Returns the newly created list.
    • startList

      public void startList()
      Begins the construction of the list.
      Specified by:
      startList in interface ListHandler
    • item

      public void item(SVGItem item)
      Adds an item to the list.
      Specified by:
      item in interface ListHandler
      Parameters:
      item - the new item to be added
    • endList

      public void endList()
      Ends the construction of the list.
      Specified by:
      endList in interface ListHandler