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.

Container.java 628B

12345678910111213141516171819202122232425262728
  1. /*
  2. * $Id$
  3. * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
  4. * For details on use and redistribution please refer to the
  5. * LICENSE file included with these sources.
  6. */
  7. package org.apache.fop.area.inline;
  8. import org.apache.fop.render.Renderer;
  9. import java.util.List;
  10. import java.util.ArrayList;
  11. public class Container extends InlineArea {
  12. ArrayList blocks = new ArrayList();
  13. // this is an inline area that can have blocks as children
  14. public void render(Renderer renderer) {
  15. renderer.renderContainer(this);
  16. }
  17. public List getBlocks() {
  18. return blocks;
  19. }
  20. }