java.lang.Object
org.opendaylight.yangtools.yang.parser.impl.DefaultYangLibResolver
All Implemented Interfaces:
org.opendaylight.yangtools.yang.parser.api.YangLibResolver

@Singleton @MetaInfServices public final class DefaultYangLibResolver extends Object implements org.opendaylight.yangtools.yang.parser.api.YangLibResolver
Reference YangLibResolver implementation.
  • Constructor Details

    • DefaultYangLibResolver

      public DefaultYangLibResolver()
    • DefaultYangLibResolver

      @Inject public DefaultYangLibResolver(YangXPathParserFactory xpathFactory)
  • Method Details

    • supportedSourceRepresentations

      public Collection<Class<? extends SourceRepresentation>> supportedSourceRepresentations()
      Specified by:
      supportedSourceRepresentations in interface org.opendaylight.yangtools.yang.parser.api.YangLibResolver
    • resolveModuleSet

      public EffectiveModelContext resolveModuleSet(org.opendaylight.yangtools.yang.parser.api.YangLibModuleSet moduleSet) throws IOException, org.opendaylight.yangtools.yang.parser.api.YangParserException
      Specified by:
      resolveModuleSet in interface org.opendaylight.yangtools.yang.parser.api.YangLibResolver
      Throws:
      IOException
      org.opendaylight.yangtools.yang.parser.api.YangParserException