Propagate EffectiveModelContext to more places
[yangtools.git] / yang / yang-data-jaxen / src / main / java / org / opendaylight / yangtools / yang / data / jaxen / api / XPathSchemaContextFactory.java
index 134f4587d4c1d0e3464321b5f173aebdce60e973..09bfbfa7504efbcf3c0f262dada55bf079d85519 100644 (file)
@@ -8,7 +8,7 @@
 package org.opendaylight.yangtools.yang.data.jaxen.api;
 
 import org.eclipse.jdt.annotation.NonNullByDefault;
-import org.opendaylight.yangtools.yang.model.api.SchemaContext;
+import org.opendaylight.yangtools.yang.model.api.EffectiveModelContext;
 
 /**
  * A factory for obtaining {@link XPathSchemaContext}s. This is the primary entry point to an XPath evaluation
@@ -22,12 +22,12 @@ import org.opendaylight.yangtools.yang.model.api.SchemaContext;
 @NonNullByDefault
 public interface XPathSchemaContextFactory {
     /**
-     * Create an {@link XPathSchemaContext} based on a {@link SchemaContext}. This effectively binds the namespaces
-     * the user expects to map to YANG schema. The {@link XPathExpression} compilation, relocation and optimization
-     * processes can take advantage of the YANG schema provided.
+     * Create an {@link XPathSchemaContext} based on a {@link EffectiveModelContext}. This effectively binds the
+     * namespaces the user expects to map to YANG schema. The {@link XPathExpression} compilation, relocation and
+     * optimization processes can take advantage of the YANG schema provided.
      *
      * @param context SchemaContext associated with the resulting {@link XPathSchemaContext}
      * @return An {@link XPathSchemaContext} instance
      */
-    XPathSchemaContext createContext(SchemaContext context);
+    XPathSchemaContext createContext(EffectiveModelContext context);
 }