*/
package org.opendaylight.yangtools.yang.parser.stmt.rfc6020;
+import org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective.NamespaceEffectiveStatementImpl;
+
import java.net.URI;
import org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement;
import org.opendaylight.yangtools.yang.model.api.stmt.NamespaceStatement;
public static class Definition extends AbstractStatementSupport<URI,NamespaceStatement,EffectiveStatement<URI,NamespaceStatement>> {
public Definition() {
- super(org.opendaylight.yangtools.yang.model.api.Rfc6020Mapping.Namespace);
+ super(org.opendaylight.yangtools.yang.model.api.Rfc6020Mapping.NAMESPACE);
}
@Override
@Override
public EffectiveStatement<URI,NamespaceStatement> createEffective(StmtContext<URI, NamespaceStatement,EffectiveStatement<URI,NamespaceStatement>> ctx) {
- throw new UnsupportedOperationException();
+ return new NamespaceEffectiveStatementImpl(ctx);
}
}