2 * Copyright (c) 2014 Brocade Communications Systems, Inc. and others. All rights reserved.
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
8 package org.opendaylight.controller.cluster.datastore.node.utils.serialization;
11 import java.util.Date;
14 * Interface that provides methods which help in encoding components of a QName.
16 * @author Thomas Pantelis
18 public interface QNameSerializationContext {
19 int addNamespace(URI namespace);
21 int addRevision(Date revision);
23 int addLocalName(String localName);