Introduced ChildSchemaNodes namespace to parser
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / spi / meta / NamespaceBehaviour.java
index 735bcb9ae002780284395adf450510f3c7dc4565..6d156b1c837f2eb75f1001bf1439848309030b59 100644 (file)
@@ -104,6 +104,11 @@ public abstract class NamespaceBehaviour<K, V, N extends IdentifierNamespace<K,
         return new StorageSpecific<>(identifier, StorageNodeType.SOURCE_LOCAL_SPECIAL);
     }
 
+    public static <K, V, N extends IdentifierNamespace<K, V>> NamespaceBehaviour<K, V, N> statementLocal(
+           Class<N> identifier) {
+       return new StorageSpecific<>(identifier, StorageNodeType.STATEMENT_LOCAL);
+   }
+
     /**
      *
      * Creates tree-scoped namespace behaviour for supplied namespace type.