9d30b9ea45c4def4ffba3721109e9085a915bde8
[netconf.git] / restconf / restconf-common / src / main / java / org / opendaylight / restconf / common / formatters / NotificationFormatterFactory.java
1 /*
2  * Copyright (c) 2020 PANTHEON.tech, s.r.o. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.restconf.common.formatters;
9
10 import javax.xml.xpath.XPathExpressionException;
11 import org.opendaylight.mdsal.dom.api.DOMNotification;
12
13 public interface NotificationFormatterFactory extends EventFormatterFactory<DOMNotification> {
14     @Override
15     NotificationFormatter getFormatter();
16
17     @Override
18     NotificationFormatter getFormatter(String xpathFilter) throws XPathExpressionException;
19 }