22117dfe56ada0a3018e6c604b34d2627c320114
[yangtools.git] / attic / yang-data-jaxen / src / main / java / org / opendaylight / yangtools / yang / data / jaxen / JaxenSchemaContextFactory.java
1 /*
2  * Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.yangtools.yang.data.jaxen;
9
10 import org.eclipse.jdt.annotation.NonNullByDefault;
11 import org.kohsuke.MetaInfServices;
12 import org.opendaylight.yangtools.yang.data.jaxen.api.XPathSchemaContext;
13 import org.opendaylight.yangtools.yang.data.jaxen.api.XPathSchemaContextFactory;
14 import org.opendaylight.yangtools.yang.model.api.EffectiveModelContext;
15
16 @MetaInfServices
17 @NonNullByDefault
18 public final class JaxenSchemaContextFactory implements XPathSchemaContextFactory {
19     @Override
20     public XPathSchemaContext createContext(final EffectiveModelContext context) {
21         return new JaxenSchemaContext(context);
22     }
23 }