Use NormalizedNode streaming serialization in sal-remoterpc-connector
[controller.git] / opendaylight / md-sal / sal-clustering-commons / src / main / java / org / opendaylight / controller / cluster / datastore / node / utils / serialization / QNameSerializationContext.java
1 /*
2  * Copyright (c) 2014 Brocade Communications Systems, Inc. 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.controller.cluster.datastore.node.utils.serialization;
9
10 import java.net.URI;
11 import java.util.Date;
12
13 /**
14  * Interface that provides methods which help in encoding components of a QName.
15  *
16  * @author Thomas Pantelis
17  */
18 public interface QNameSerializationContext {
19     int addNamespace(URI namespace);
20
21     int addRevision(Date revision);
22
23     int addLocalName(String localName);
24
25 }