public final class SchemaNodeUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Optional<SchemaNode> |
getOriginalIfPossible(SchemaNode node) |
static SchemaNode |
getRootOriginalIfPossible(SchemaNode data) |
static @Nullable ContainerSchemaNode |
getRpcDataSchema(@NonNull RpcDefinition rpc,
@NonNull QName qname)
Returns RPC input or output schema based on supplied QName.
|
public static Optional<SchemaNode> getOriginalIfPossible(SchemaNode node)
public static SchemaNode getRootOriginalIfPossible(SchemaNode data)
public static @Nullable ContainerSchemaNode getRpcDataSchema(@NonNull RpcDefinition rpc, @NonNull QName qname)
rpc
- RPC Definitionqname
- input or output QName with namespace same as RPCCopyright © 2019 OpenDaylight. All rights reserved.