Uses of Class
org.opendaylight.yangtools.yang.model.api.SchemaPath
-
-
Uses of SchemaPath in org.opendaylight.yangtools.yang.data.api.schema
Methods in org.opendaylight.yangtools.yang.data.api.schema with parameters of type SchemaPath Modifier and Type Method Description static Optional<NormalizedNode>
NormalizedNodes. findNode(NormalizedNode parent, SchemaPath relativePath)
Deprecated, for removal: This API element is subject to removal in a future version.UseNormalizedNodes.findNode(NormalizedNode, Descendant)
instead. -
Uses of SchemaPath in org.opendaylight.yangtools.yang.data.codec.binfmt
Methods in org.opendaylight.yangtools.yang.data.codec.binfmt that return SchemaPath Modifier and Type Method Description SchemaPath
NormalizedNodeDataInput. readSchemaPath()
Deprecated, for removal: This API element is subject to removal in a future version.Methods in org.opendaylight.yangtools.yang.data.codec.binfmt with parameters of type SchemaPath Modifier and Type Method Description void
NormalizedNodeDataOutput. writeSchemaPath(SchemaPath path)
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of SchemaPath in org.opendaylight.yangtools.yang.data.codec.gson
Methods in org.opendaylight.yangtools.yang.data.codec.gson with parameters of type SchemaPath Modifier and Type Method Description static NormalizedNodeStreamWriter
JSONNormalizedNodeStreamWriter. createExclusiveWriter(JSONCodecFactory codecFactory, SchemaPath path, XMLNamespace initialNs, com.google.gson.stream.JsonWriter jsonWriter)
Create a new stream writer, which writes to the specified output stream.static NormalizedNodeStreamWriter
JSONNormalizedNodeStreamWriter. createNestedWriter(JSONCodecFactory codecFactory, SchemaPath path, XMLNamespace initialNs, com.google.gson.stream.JsonWriter jsonWriter)
Create a new stream writer, which writes to the specified output stream. -
Uses of SchemaPath in org.opendaylight.yangtools.yang.data.codec.xml
Methods in org.opendaylight.yangtools.yang.data.codec.xml with parameters of type SchemaPath Modifier and Type Method Description static @NonNull NormalizedNodeStreamWriter
XMLStreamNormalizedNodeStreamWriter. create(XMLStreamWriter writer, EffectiveModelContext context, SchemaPath path)
Create a new writer with the specified context and rooted in the specified schema path. -
Uses of SchemaPath in org.opendaylight.yangtools.yang.data.impl.leafref
Methods in org.opendaylight.yangtools.yang.data.impl.leafref that return SchemaPath Modifier and Type Method Description SchemaPath
LeafRefContext. getCurrentNodePath()
Methods in org.opendaylight.yangtools.yang.data.impl.leafref with parameters of type SchemaPath Modifier and Type Method Description static LeafRefPath
LeafRefUtils. createAbsoluteLeafRefPath(LeafRefPath leafRefPath, SchemaPath contextNodeSchemaPath, Module module)
Create an absolute leafref path.static List<LeafRefContext>
LeafRefContextUtils. findAllChildsReferencedByLeafRef(SchemaPath schemaPath, LeafRefContext root)
static List<LeafRefContext>
LeafRefContextUtils. findAllLeafRefChilds(SchemaPath schemaPath, LeafRefContext root)
static Map<QName,LeafRefContext>
LeafRefContextUtils. getAllLeafRefsReferencingThisNode(SchemaPath path, LeafRefContext root)
static LeafRefContext
LeafRefContextUtils. getLeafRefReferencedByContext(SchemaPath schemaPath, LeafRefContext root)
static LeafRefContext
LeafRefContextUtils. getLeafRefReferencingContext(SchemaPath schemaPath, LeafRefContext root)
static LeafRefPath
LeafRefUtils. schemaPathToLeafRefPath(SchemaPath nodePath, Module module)
-
Uses of SchemaPath in org.opendaylight.yangtools.yang.data.impl.schema
Constructors in org.opendaylight.yangtools.yang.data.impl.schema with parameters of type SchemaPath Constructor Description SchemaOrderedNormalizedNodeWriter(NormalizedNodeStreamWriter writer, EffectiveModelContext schemaContext, SchemaPath path)
Create a new writer backed by aNormalizedNodeStreamWriter
. -
Uses of SchemaPath in org.opendaylight.yangtools.yang.data.util
Methods in org.opendaylight.yangtools.yang.data.util that return SchemaPath Modifier and Type Method Description SchemaPath
OperationAsContainer. getPath()
Deprecated.Methods in org.opendaylight.yangtools.yang.data.util with parameters of type SchemaPath Modifier and Type Method Description static @NonNull NormalizedNodeStreamWriterStack
NormalizedNodeStreamWriterStack. of(EffectiveModelContext context, SchemaPath path)
Deprecated. -
Uses of SchemaPath in org.opendaylight.yangtools.yang.model.api
Fields in org.opendaylight.yangtools.yang.model.api declared as SchemaPath Modifier and Type Field Description static @NonNull SchemaPath
SchemaPath. ROOT
Shared instance of the conceptual root schema node.static @NonNull SchemaPath
SchemaPath. SAME
Shared instance of the "same" relative schema node.Methods in org.opendaylight.yangtools.yang.model.api that return SchemaPath Modifier and Type Method Description static @NonNull SchemaPath
SchemaPath. create(boolean absolute, QName element)
Constructs new instance of this class with the concrete path.static @NonNull SchemaPath
SchemaPath. create(boolean absolute, QName... path)
Constructs new instance of this class with the concrete path.static @NonNull SchemaPath
SchemaPath. create(Iterable<QName> path, boolean absolute)
Constructs new instance of this class with the concrete path.@NonNull SchemaPath
SchemaPath. createChild(Iterable<QName> relative)
Create a child path based on concatenation of this path and a relative path.abstract @NonNull SchemaPath
SchemaPath. createChild(QName element)
Create a child path based on concatenation of this path and an additional path element.@NonNull SchemaPath
SchemaPath. createChild(QName... elements)
Create a child path based on concatenation of this path and additional path elements.@NonNull SchemaPath
SchemaPath. createChild(SchemaPath relative)
Create a child path based on concatenation of this path and a relative path.static SchemaPath
SchemaNodeDefaults. extractPath(Object impl, Immutable path)
ExtractSchemaPath
from a path object.SchemaPath
SchemaPath. getParent()
Returns the immediate parent SchemaPath.default SchemaPath
SchemaContext. getPath()
Deprecated.default @NonNull SchemaPath
SchemaNode. getPath()
Deprecated.The idea of identifying SchemaNodes through a global path does not work.static SchemaPath
SchemaNodeDefaults. throwUnsupported(Object impl)
Report unsupportedSchemaNode.getPath()
implementation.static SchemaPath
SchemaNodeDefaults. throwUnsupportedIfNull(Object impl, @Nullable SchemaPath path)
Report unsupportedSchemaNode.getPath()
implementation if provided path is null.Methods in org.opendaylight.yangtools.yang.model.api with parameters of type SchemaPath Modifier and Type Method Description @NonNull SchemaPath
SchemaPath. createChild(SchemaPath relative)
Create a child path based on concatenation of this path and a relative path.static SchemaPath
SchemaNodeDefaults. throwUnsupportedIfNull(Object impl, @Nullable SchemaPath path)
Report unsupportedSchemaNode.getPath()
implementation if provided path is null. -
Uses of SchemaPath in org.opendaylight.yangtools.yang.model.api.stmt
Methods in org.opendaylight.yangtools.yang.model.api.stmt that return SchemaPath Modifier and Type Method Description @NonNull SchemaPath
SchemaNodeIdentifier. asSchemaPath()
Create theSchemaPath
equivalent of this identifier. -
Uses of SchemaPath in org.opendaylight.yangtools.yang.model.ri.stmt
Methods in org.opendaylight.yangtools.yang.model.ri.stmt with parameters of type SchemaPath Modifier and Type Method Description static ExtensionEffectiveStatement
EffectiveStatements. createExtension(ExtensionStatement declared, ImmutableList<? extends EffectiveStatement<?,?>> substatements, @Nullable SchemaPath schemaPath)
-
Uses of SchemaPath in org.opendaylight.yangtools.yang.model.ri.stmt.impl.eff
Methods in org.opendaylight.yangtools.yang.model.ri.stmt.impl.eff that return SchemaPath Modifier and Type Method Description SchemaPath
ExtensionEffectiveStatementImpl. getPath()
Deprecated.Constructors in org.opendaylight.yangtools.yang.model.ri.stmt.impl.eff with parameters of type SchemaPath Constructor Description ExtensionEffectiveStatementImpl(ExtensionStatement declared, ImmutableList<? extends EffectiveStatement<?,?>> substatements, SchemaPath path)
-
Uses of SchemaPath in org.opendaylight.yangtools.yang.model.spi.meta
Methods in org.opendaylight.yangtools.yang.model.spi.meta that return SchemaPath Modifier and Type Method Description default SchemaPath
EffectiveStatementMixins.SchemaNodeMixin. getPath()
Deprecated. -
Uses of SchemaPath in org.opendaylight.yangtools.yang.model.util
Methods in org.opendaylight.yangtools.yang.model.util that return SchemaPath Modifier and Type Method Description @NonNull SchemaPath
SchemaInferenceStack. toSchemaPath()
Deprecated.This method is meant only for interoperation with SchemaPath-based APIs.Methods in org.opendaylight.yangtools.yang.model.util with parameters of type SchemaPath Modifier and Type Method Description static @NonNull SchemaInferenceStack
SchemaInferenceStack. ofInstantiatedPath(EffectiveModelContext effectiveModel, SchemaPath path)
Deprecated. -
Uses of SchemaPath in org.opendaylight.yangtools.yang.parser.spi.meta
Methods in org.opendaylight.yangtools.yang.parser.spi.meta that return SchemaPath Modifier and Type Method Description default @NonNull SchemaPath
EffectiveStmtCtx.Parent. getSchemaPath()
Return theSchemaNode.getPath()
of this statement, failing if it is not present.default @Nullable SchemaPath
EffectiveStmtCtx.Parent. optionalPath()
Return an optional-to-provide path forSchemaNode.getPath()
.@Nullable SchemaPath
EffectiveStmtCtx.Parent. schemaPath()
Return theSchemaNode.getPath()
of this statement.static @Nullable SchemaPath
SchemaPathSupport. toOptionalPath(@Nullable SchemaPath path)
Methods in org.opendaylight.yangtools.yang.parser.spi.meta with parameters of type SchemaPath Modifier and Type Method Description static boolean
SchemaPathSupport. effectivelyEqual(@Nullable SchemaPath first, @Nullable SchemaPath second)
static @NonNull Immutable
SchemaPathSupport. toEffectivePath(@NonNull SchemaPath path)
static @Nullable SchemaPath
SchemaPathSupport. toOptionalPath(@Nullable SchemaPath path)
-
Uses of SchemaPath in org.opendaylight.yangtools.yang.parser.stmt.reactor
Methods in org.opendaylight.yangtools.yang.parser.stmt.reactor that return SchemaPath Modifier and Type Method Description SchemaPath
RootStatementContext. schemaPath()
Deprecated.
-