summaryrefslogtreecommitdiffstats
path: root/config-application-package/src/main/java/com/yahoo/config/application/PreProcessor.java
blob: d331c4432bccf51ceadfb229aa6ac7f35c7cdab3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.config.application;

import org.w3c.dom.Document;

import javax.xml.transform.TransformerException;
import java.io.IOException;

/**
 * Performs pre-processing of XML document and returns new document that has been processed.
 *
 * @author lulf
 * @since 5.21
 */
public interface PreProcessor {
    public Document process(Document input) throws IOException, TransformerException;
}