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.

XMLHandler.java 640B

123456789101112131415161718192021222324
  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.render;
  8. import org.w3c.dom.Document;
  9. /**
  10. */
  11. public interface XMLHandler {
  12. /**
  13. * Handle an external xml document inside a Foreign Object Area
  14. * This may throw an exception if for some reason it cannot be handled.
  15. * The caller is expected to deal with this exception.
  16. */
  17. public void handleXML(RendererContext context, Document doc,
  18. String ns) throws Exception;
  19. }