aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/render/XMLHandler.java
blob: 1bdf0572991459c2ca38e12c5835d32ec8b741ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * $Id$
 * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
 * For details on use and redistribution please refer to the
 * LICENSE file included with these sources.
 */

package org.apache.fop.render;

import org.w3c.dom.Document;

/**
 */
public interface XMLHandler {

    /**
     * Handle an external xml document inside a Foreign Object Area
     * This may throw an exception if for some reason it cannot be handled.
     * The caller is expected to deal with this exception.
     */
    public void handleXML(RendererContext context, Document doc,
                          String ns) throws Exception;
}