All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.yangcentral.yangkit.model.impl.schema.DescendantSchemaPath Maven / Gradle / Ivy

There is a newer version: 1.4.5
Show newest version
package org.yangcentral.yangkit.model.impl.schema;

import org.yangcentral.yangkit.common.api.QName;
import org.yangcentral.yangkit.model.api.schema.SchemaPath;
import org.yangcentral.yangkit.model.api.stmt.SchemaNodeContainer;

import java.util.List;

public class DescendantSchemaPath extends SchemaPathImpl implements SchemaPath.Descendant {
   private SchemaNodeContainer context;

   public DescendantSchemaPath(List steps, SchemaNodeContainer context) {
      super(steps);
      this.context = context;
   }

   public DescendantSchemaPath(SchemaNodeContainer context) {
      this.context = context;
   }

   public SchemaNodeContainer getContext() {
      return this.context;
   }

   public boolean isAbsolute() {
      return false;
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy