Add XMLNamespace
[yangtools.git] / yang / yang-data-codec-gson / src / main / java / org / opendaylight / yangtools / yang / data / codec / gson / JSONStreamWriterRootContext.java
index 0ac5aad36b46765f44cb4ce335116966f19935c1..912fa4ea729eaca1f64caad6bfc6326ca7bcd148 100644 (file)
@@ -7,14 +7,14 @@
  */
 package org.opendaylight.yangtools.yang.data.codec.gson;
 
-import java.net.URI;
+import org.opendaylight.yangtools.yang.common.XMLNamespace;
 
 /**
  * The root node of a particular {@link JSONNormalizedNodeStreamWriter} instance.
  * It holds the base namespace and can never be removed from the stack.
  */
 abstract class JSONStreamWriterRootContext extends JSONStreamWriterURIContext {
-    JSONStreamWriterRootContext(final URI namespace, final boolean mandatory) {
+    JSONStreamWriterRootContext(final XMLNamespace namespace, final boolean mandatory) {
         super(null, namespace, mandatory);
     }
 }