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.

AreaTreeControl.java 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /*
  2. * Copyright 1999-2004 The Apache Software Foundation.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. /* $Id$ */
  17. package org.apache.fop.area;
  18. // FOP
  19. import org.apache.fop.fo.extensions.Bookmarks;
  20. // Avalon
  21. import org.apache.avalon.framework.logger.Logger;
  22. // Java
  23. import java.util.Set;
  24. /**
  25. * An interface for classes that are conceptually the parent class of the
  26. * area.AreaTree object. The purpose of the interface is to keep the AreaTree
  27. * isolated from apps, but to acknowledge that a higher-level object is needed
  28. * to control the Area Tree, to provide it with information about the
  29. * environment, and to keep track of meta information.
  30. */
  31. public interface AreaTreeControl {
  32. /**
  33. * @return the Bookmark object encapsulating the bookmarks for the FO Tree.
  34. */
  35. Bookmarks getBookmarks();
  36. /**
  37. * @return the Logger being used with this FO Tree
  38. */
  39. Logger getLogger();
  40. /**
  41. * The current set of IDs in the document.
  42. * @return the Set of IDReferences in the document.
  43. */
  44. Set getIDReferences();
  45. }