Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

FOUserAgent.java 1.0KB

12345678910111213141516171819202122232425262728293031323334353637
  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.fo;
  8. import org.w3c.dom.*;
  9. /**
  10. * The User Agent for fo.
  11. * This user agent is used by the processing to obtain user configurable
  12. * options.
  13. *
  14. * Renderer specific extensions (that do not produce normal areas on
  15. * the output) will be done like so:
  16. * The extension will create an area, custom if necessary
  17. * this area will be added to the user agent with a key
  18. * the renderer will know keys for particular extensions
  19. * eg. bookmarks will be held in a special hierarchical area representing
  20. * the title and bookmark structure
  21. * These areas may contain resolveable areas that will be processed
  22. * with other resolveable areas
  23. */
  24. public interface FOUserAgent {
  25. public void renderXML(RendererContext ctx, Document doc, String namespace);
  26. }
  27. class RendererContext {
  28. String getMimeType() {
  29. return null;
  30. }
  31. }