Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-847

remove( ) method in org.apache.batik.css.parser.CSSSelectorList

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Resolution: Unresolved
    • 1.8
    • None
    • CSS
    • None
    • Operating System: All
      Platform: All

    Description

      org.apache.batik.css.parser.CSSSelectorList implements the interface org.w3c.css.sac.SelectorList, so it implements the methods getLength() and item(int index).

      But additionally it has got the method append(Selector item) in order to append a selector to the current selector list. Just for convenience and consistency it should also provide a method called 'remove', which does the inverted of append.

      Possible solution is attached.

      Attachments

        1. CSSSelectorList.java
          3 kB
          Mathias Schaeffner

        Activity

          People

            batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
            mathias.schaeffner@googlemail.com Mathias Schaeffner
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: