You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

GroupInfo.java 694B

12345678910111213141516171819202122232425262728293031323334
  1. /* $Id$
  2. * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
  3. * For details on use and redistribution please refer to the
  4. * LICENSE file included with these sources.
  5. */
  6. package org.apache.fop.plan;
  7. import java.util.ArrayList;
  8. public class GroupInfo {
  9. String name;
  10. ArrayList actions = new ArrayList();
  11. public GroupInfo(String n) {
  12. name = n;
  13. }
  14. public void addActionInfo(ActionInfo ai) {
  15. actions.add(ai);
  16. }
  17. public int getSize() {
  18. return actions.size();
  19. }
  20. public ActionInfo getActionInfo(int c) {
  21. return (ActionInfo) actions.get(c);
  22. }
  23. public String getName() {
  24. return name;
  25. }
  26. }