| 1 | //////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
| 2 | // Copyright (c) 2018 Saxonica Limited. |
| 3 | // This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. |
| 4 | // If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. |
| 5 | // This Source Code Form is "Incompatible With Secondary Licenses", as defined by the Mozilla Public License, v. 2.0. |
| 6 | //////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
| 7 | |
| 8 | |
| 9 | package net.sf.saxon.event; |
| 10 | |
| 11 | import java.util.Properties; |
| 12 | |
| 13 | /** |
| 14 | * Marker interface attached to a {@link Receiver} that retains |
| 15 | * serialization properties (typically, a Receiver that forms part |
| 16 | * of the serialization pipeline). |
| 17 | */ |
| 18 | |
| 19 | public interface ReceiverWithOutputProperties extends Receiver { |
| 20 | |
| 21 | /** |
| 22 | * Get the serialization properties maintained by this {@code Receiver} |
| 23 | * @return the serialization properties |
| 24 | */ |
| 25 | |
| 26 | Properties getOutputProperties(); |
| 27 | } |
| 28 |