Modifier and Type | Method and Description |
---|---|
@NonNull QName |
OpenDaylightExtensionsStatements.getArgumentName() |
QName |
OpenDaylightExtensionsStatements.getStatementName() |
Modifier and Type | Method and Description |
---|---|
@NonNull QName |
AnyxmlSchemaLocationEffectiveStatementImpl.getQName() |
Modifier and Type | Method and Description |
---|---|
protected StatementSupport<QName,AnyxmlStatement,AnyxmlEffectiveStatement> |
AnyxmlStatementSupportOverride.delegate() |
Modifier and Type | Method and Description |
---|---|
AnyxmlEffectiveStatement |
AnyxmlStatementSupportOverride.createEffective(StmtContext<QName,AnyxmlStatement,AnyxmlEffectiveStatement> ctx) |
Modifier and Type | Method and Description |
---|---|
@Nullable QName |
OpenConfigStatements.getArgumentName() |
QName |
OpenConfigStatements.getStatementName() |
Modifier and Type | Method and Description |
---|---|
@Nullable QName |
NACMStatements.getArgumentName() |
QName |
NACMStatements.getStatementName() |
Modifier and Type | Method and Description |
---|---|
@NonNull QName |
MetadataStatements.getArgumentName() |
QName |
MetadataStatements.getStatementName() |
Modifier and Type | Method and Description |
---|---|
static Map<QName,AnnotationSchemaNode> |
AnnotationSchemaNode.findAll(SchemaContext context)
Find all annotations supported by a SchemaContext.
|
Modifier and Type | Method and Description |
---|---|
static Optional<AnnotationSchemaNode> |
AnnotationSchemaNode.find(SchemaContext context,
QName qname)
Find specified annotation if it is supported by the specified SchemaContext.
|
Modifier and Type | Method and Description |
---|---|
@NonNull QName |
YangDataStatements.getArgumentName() |
QName |
YangDataStatements.getStatementName() |
Modifier and Type | Method and Description |
---|---|
protected abstract @NonNull QName |
QNameTransformingStreamWriter.transform(@NonNull QName key)
Transforms a QName to new mapping.
|
Modifier and Type | Method and Description |
---|---|
void |
QNameTransformingStreamWriter.leafSetEntryNode(QName name,
Object value) |
protected abstract @NonNull QName |
QNameTransformingStreamWriter.transform(@NonNull QName key)
Transforms a QName to new mapping.
|
Modifier and Type | Method and Description |
---|---|
static NormalizedNodeStreamWriter |
QNameTransformingStreamWriter.createQNameReplacing(NormalizedNodeStreamWriter delegate,
Map<QName,QName> mapping)
Returns decorator, which uses supplied map to transform QNames.
|
static NormalizedNodeStreamWriter |
QNameTransformingStreamWriter.createQNameReplacing(NormalizedNodeStreamWriter delegate,
Map<QName,QName> mapping)
Returns decorator, which uses supplied map to transform QNames.
|
static NormalizedNodeStreamWriter |
QNameTransformingStreamWriter.fromFunction(NormalizedNodeStreamWriter delegate,
Function<QName,QName> transformation)
Returns decorator, which uses supplied function to transform QNames.
|
static NormalizedNodeStreamWriter |
QNameTransformingStreamWriter.fromFunction(NormalizedNodeStreamWriter delegate,
Function<QName,QName> transformation)
Returns decorator, which uses supplied function to transform QNames.
|
static NormalizedNode<?,?> |
NormalizedNodeTransformations.transformQNames(NormalizedNode<?,?> original,
Function<QName,QName> mapping) |
static NormalizedNode<?,?> |
NormalizedNodeTransformations.transformQNames(NormalizedNode<?,?> original,
Function<QName,QName> mapping) |
Modifier and Type | Method and Description |
---|---|
static @NonNull QName |
QName.create(QNameModule qnameModule,
String localName)
Creates new QName.
|
static @NonNull QName |
QName.create(QName base,
String localName) |
static @NonNull QName |
QName.create(String input) |
static @NonNull QName |
QName.create(String namespace,
String localName)
Creates new QName.
|
static @NonNull QName |
QName.create(String namespace,
String localName,
Revision revision)
Creates new QName.
|
static @NonNull QName |
QName.create(String namespace,
String revision,
String localName)
Creates new QName.
|
static @NonNull QName |
QName.create(URI namespace,
Optional<Revision> revision,
String localName)
Creates new QName.
|
static @NonNull QName |
QName.create(URI namespace,
@Nullable Revision revision,
String localName)
Creates new QName.
|
static @NonNull QName |
QName.create(URI namespace,
String localName)
Creates new QName.
|
@NonNull QName |
QName.intern()
Return an interned reference to a equivalent QName.
|
static QName |
YangConstants.operationInputQName(QNameModule module)
Create a
QName representing the 'input' statement of an operation (RPC or action) within specified
QNameModule . |
static QName |
YangConstants.operationOutputQName(QNameModule module)
Create a
QName representing the 'output' statement of an operation (RPC or action) within specified
QNameModule . |
static QName |
QName.readFrom(DataInput in)
Read a QName from a DataInput.
|
@NonNull QName |
QName.withModule(QNameModule newModule)
Returns a QName with the specified QNameModule and the same localname as this one.
|
@NonNull QName |
QName.withoutRevision()
Returns a QName with the same namespace and local name, but with no revision.
|
Modifier and Type | Method and Description |
---|---|
int |
QName.compareTo(QName o) |
static @NonNull QName |
QName.create(QName base,
String localName) |
boolean |
QName.isEqualWithoutRevision(QName other)
Compares this QName to other, without comparing revision.
|
Modifier and Type | Method and Description |
---|---|
QName |
YangInstanceIdentifier.PathArgument.getNodeType()
If applicable returns unique QName of data node as defined in YANG
Schema.
|
QName |
YangInstanceIdentifier.AugmentationIdentifier.getNodeType() |
Modifier and Type | Method and Description |
---|---|
Map<QName,String> |
AttributesContainer.getAttributes()
Returns immutable map of QName and value of the attribute.
|
Map<QName,Object> |
YangInstanceIdentifier.NodeIdentifierWithPredicates.getKeyValues() |
Set<QName> |
YangInstanceIdentifier.AugmentationIdentifier.getPossibleChildNames()
Returns set of all possible child nodes.
|
Modifier and Type | Method and Description |
---|---|
static YangInstanceIdentifier.NodeIdentifier |
YangInstanceIdentifier.NodeIdentifier.create(QName node)
Return a NodeIdentifier for a particular QName.
|
Object |
AttributesContainer.getAttributeValue(QName name)
Returns attribute value by supplied QName.
|
YangInstanceIdentifier |
YangInstanceIdentifier.node(QName name)
Constructs a new Instance Identifier with new
YangInstanceIdentifier.NodeIdentifier added to the end of path arguments. |
YangInstanceIdentifier.InstanceIdentifierBuilder |
YangInstanceIdentifier.InstanceIdentifierBuilder.node(QName nodeType)
Adds
YangInstanceIdentifier.NodeIdentifier with supplied QName to path arguments of resulting instance identifier. |
YangInstanceIdentifier.InstanceIdentifierBuilder |
YangInstanceIdentifier.InstanceIdentifierBuilder.nodeWithKey(QName nodeType,
Map<QName,Object> keyValues)
Adds
YangInstanceIdentifier.NodeIdentifierWithPredicates with supplied QName and key values to path arguments of resulting
instance identifier. |
YangInstanceIdentifier.InstanceIdentifierBuilder |
YangInstanceIdentifier.InstanceIdentifierBuilder.nodeWithKey(QName nodeType,
QName key,
Object value)
Adds
YangInstanceIdentifier.NodeIdentifierWithPredicates with supplied QName and key, value. |
static YangInstanceIdentifier |
YangInstanceIdentifier.of(QName name)
Returns a new InstanceIdentifier with only one path argument of type
YangInstanceIdentifier.NodeIdentifier with supplied
QName. |
Modifier and Type | Method and Description |
---|---|
YangInstanceIdentifier.InstanceIdentifierBuilder |
YangInstanceIdentifier.InstanceIdentifierBuilder.nodeWithKey(QName nodeType,
Map<QName,Object> keyValues)
Adds
YangInstanceIdentifier.NodeIdentifierWithPredicates with supplied QName and key values to path arguments of resulting
instance identifier. |
Constructor and Description |
---|
NodeIdentifier(QName node) |
NodeIdentifierWithPredicates(QName node) |
NodeIdentifierWithPredicates(QName node,
ImmutableOffsetMap<QName,Object> keyValues) |
NodeIdentifierWithPredicates(QName node,
Map<QName,Object> keyValues) |
NodeIdentifierWithPredicates(QName node,
QName key,
Object value) |
NodeIdentifierWithPredicates(QName node,
SharedSingletonMap<QName,Object> keyValues) |
NodeWithValue(QName node,
T value) |
Constructor and Description |
---|
AugmentationIdentifier(Set<QName> childNames)
Construct new augmentation identifier using supplied set of possible
child nodes.
|
NodeIdentifierWithPredicates(QName node,
ImmutableOffsetMap<QName,Object> keyValues) |
NodeIdentifierWithPredicates(QName node,
Map<QName,Object> keyValues) |
NodeIdentifierWithPredicates(QName node,
SharedSingletonMap<QName,Object> keyValues) |
Modifier and Type | Method and Description |
---|---|
QName |
IdentityrefCodec.deserialize(T data) |
Modifier and Type | Method and Description |
---|---|
T |
IdentityrefCodec.serialize(QName data) |
Modifier and Type | Method and Description |
---|---|
QName |
NormalizedNode.getNodeType()
QName of the node as defined in YANG schema.
|
Modifier and Type | Method and Description |
---|---|
void |
LoggingNormalizedNodeStreamWriter.leafSetEntryNode(QName name,
Object value) |
void |
NormalizedNodeStreamWriter.leafSetEntryNode(QName name,
Object value)
Emits a leaf set entry node.
|
void |
ForwardingNormalizedNodeStreamWriter.leafSetEntryNode(QName name,
Object value) |
void |
NormalizedNodeStreamAttributeWriter.leafSetEntryNode(QName name,
Object value,
Map<QName,String> attributes) |
void |
ForwardingNormalizedNodeStreamAttributeWriter.leafSetEntryNode(QName name,
Object value,
Map<QName,String> attributes) |
Modifier and Type | Method and Description |
---|---|
void |
NormalizedNodeStreamAttributeWriter.leafNode(YangInstanceIdentifier.NodeIdentifier name,
Object value,
Map<QName,String> attributes) |
void |
ForwardingNormalizedNodeStreamAttributeWriter.leafNode(YangInstanceIdentifier.NodeIdentifier name,
Object value,
Map<QName,String> attributes) |
void |
NormalizedNodeStreamAttributeWriter.leafSetEntryNode(QName name,
Object value,
Map<QName,String> attributes) |
void |
ForwardingNormalizedNodeStreamAttributeWriter.leafSetEntryNode(QName name,
Object value,
Map<QName,String> attributes) |
void |
NormalizedNodeStreamAttributeWriter.startContainerNode(YangInstanceIdentifier.NodeIdentifier name,
int childSizeHint,
Map<QName,String> attributes) |
void |
ForwardingNormalizedNodeStreamAttributeWriter.startContainerNode(YangInstanceIdentifier.NodeIdentifier name,
int childSizeHint,
Map<QName,String> attributes) |
void |
NormalizedNodeStreamAttributeWriter.startMapEntryNode(YangInstanceIdentifier.NodeIdentifierWithPredicates identifier,
int childSizeHint,
Map<QName,String> attributes) |
void |
ForwardingNormalizedNodeStreamAttributeWriter.startMapEntryNode(YangInstanceIdentifier.NodeIdentifierWithPredicates identifier,
int childSizeHint,
Map<QName,String> attributes) |
void |
NormalizedNodeStreamAttributeWriter.startUnkeyedListItem(YangInstanceIdentifier.NodeIdentifier name,
int childSizeHint,
Map<QName,String> attributes) |
void |
ForwardingNormalizedNodeStreamAttributeWriter.startUnkeyedListItem(YangInstanceIdentifier.NodeIdentifier name,
int childSizeHint,
Map<QName,String> attributes) |
void |
NormalizedNodeStreamAttributeWriter.startYangModeledAnyXmlNode(YangInstanceIdentifier.NodeIdentifier name,
int childSizeHint,
Map<QName,String> attributes) |
void |
ForwardingNormalizedNodeStreamAttributeWriter.startYangModeledAnyXmlNode(YangInstanceIdentifier.NodeIdentifier name,
int childSizeHint,
Map<QName,String> attributes) |
Modifier and Type | Method and Description |
---|---|
void |
JSONNormalizedNodeStreamWriter.leafSetEntryNode(QName name,
Object value) |
Modifier and Type | Method and Description |
---|---|
void |
XMLStreamNormalizedNodeStreamWriter.startContainerNode(YangInstanceIdentifier.NodeIdentifier name,
int childSizeHint,
Map<QName,String> attributes) |
void |
XMLStreamNormalizedNodeStreamWriter.startMapEntryNode(YangInstanceIdentifier.NodeIdentifierWithPredicates identifier,
int childSizeHint,
Map<QName,String> attributes) |
void |
XMLStreamNormalizedNodeStreamWriter.startUnkeyedListItem(YangInstanceIdentifier.NodeIdentifier name,
int childSizeHint,
Map<QName,String> attributes) |
void |
XMLStreamNormalizedNodeStreamWriter.startYangModeledAnyXmlNode(YangInstanceIdentifier.NodeIdentifier name,
int childSizeHint,
Map<QName,String> attributes) |
Modifier and Type | Method and Description |
---|---|
QName |
ValueWithQName.getQname() |
Modifier and Type | Method and Description |
---|---|
LeafListSchemaNode |
SchemaTracker.leafSetEntryNode(QName qname) |
Constructor and Description |
---|
ValueWithQName(QName qname,
V value) |
Modifier and Type | Method and Description |
---|---|
QName |
LeafRefContext.getNodeName() |
QName |
SimpleQNameWithPredicate.getQName() |
QName |
QNameWithPredicate.getQName() |
Modifier and Type | Method and Description |
---|---|
static Map<QName,LeafRefContext> |
LeafRefContextUtils.getAllLeafRefsReferencingThisNode(Iterable<QName> pathFromRoot,
LeafRefContext root) |
static Map<QName,LeafRefContext> |
LeafRefContextUtils.getAllLeafRefsReferencingThisNode(SchemaNode node,
LeafRefContext root) |
static Map<QName,LeafRefContext> |
LeafRefContextUtils.getAllLeafRefsReferencingThisNode(SchemaPath path,
LeafRefContext root) |
Map<QName,LeafRefContext> |
LeafRefContext.getAllReferencedByLeafRefCtxs() |
Map<QName,LeafRefContext> |
LeafRefContext.getReferencedByChilds() |
Map<QName,LeafRefContext> |
LeafRefContext.getReferencingChilds() |
Modifier and Type | Method and Description |
---|---|
LeafRefContext |
LeafRefContext.getReferencedByLeafRefCtxByName(QName qname) |
LeafRefContext |
LeafRefContext.getReferencedChildByName(QName name) |
LeafRefContext |
LeafRefContext.getReferencingChildByName(QName name) |
Modifier and Type | Method and Description |
---|---|
static List<LeafRefContext> |
LeafRefContextUtils.findAllChildsReferencedByLeafRef(Iterable<QName> pathFromRoot,
LeafRefContext root) |
static List<LeafRefContext> |
LeafRefContextUtils.findAllLeafRefChilds(Iterable<QName> pathFromRoot,
LeafRefContext root) |
static Map<QName,LeafRefContext> |
LeafRefContextUtils.getAllLeafRefsReferencingThisNode(Iterable<QName> pathFromRoot,
LeafRefContext root) |
static LeafRefContext |
LeafRefContextUtils.getLeafRefReferencedByContext(Iterable<QName> pathFromRoot,
LeafRefContext root) |
static LeafRefContext |
LeafRefContextUtils.getLeafRefReferencingContext(Iterable<QName> pathFromRoot,
LeafRefContext root) |
Modifier and Type | Method and Description |
---|---|
static Set<QName> |
SchemaUtils.getChildNodesRecursive(DataNodeContainer nodeContainer)
Recursively list all child nodes.
|
static Map<QName,AugmentationSchemaNode> |
SchemaUtils.mapChildElementsFromAugments(AugmentationTarget schema)
Recursively find all child nodes that come from augmentations.
|
static Map<QName,ChoiceSchemaNode> |
SchemaUtils.mapChildElementsFromChoices(DataNodeContainer schema)
Recursively find all child nodes that come from choices.
|
Modifier and Type | Method and Description |
---|---|
static @NonNull ChoiceNode |
ImmutableNodes.choiceNode(QName name)
Create an immutable choice node.
|
static @NonNull ContainerNode |
ImmutableNodes.containerNode(QName name)
Create an immutable container node.
|
static Collection<SchemaNode> |
SchemaUtils.findChildSchemaNodesByQName(SchemaNode node,
QName qname)
Find child schema node identified by its QName within a provided schema node.
|
static @Nullable SchemaNode |
SchemaUtils.findDataChildSchemaByQName(SchemaNode node,
QName qname)
Find child data schema node identified by its QName within a provided schema node.
|
static Optional<DataSchemaNode> |
SchemaUtils.findFirstSchema(QName qname,
Iterable<DataSchemaNode> dataSchemaNode)
Find the first schema with specified QName.
|
static DataSchemaNode |
SchemaUtils.findSchemaForChild(ChoiceSchemaNode schema,
QName childPartialQName) |
static DataSchemaNode |
SchemaUtils.findSchemaForChild(DataNodeContainer schema,
QName qname)
Find child schema node identified by its QName within a provided schema node.
|
static @Nullable DataSchemaNode |
SchemaUtils.findSchemaForChild(DataNodeContainer schema,
QName qname,
boolean strictMode) |
static DataSchemaNode |
SchemaUtils.findSchemaForChild(DataNodeContainer schema,
QName qname,
Iterable<DataSchemaNode> childNodes) |
static <T> @NonNull LeafNode<T> |
ImmutableNodes.leafNode(QName name,
T value)
Construct immutable leaf node.
|
void |
ImmutableNormalizedNodeStreamWriter.leafSetEntryNode(QName name,
Object value) |
static @NonNull UnkeyedListNode |
ImmutableNodes.listNode(QName name)
Create an immutable list node.
|
static @NonNull MapEntryNode |
ImmutableNodes.mapEntry(QName nodeName,
QName keyName,
Object keyValue) |
static @NonNull DataContainerNodeBuilder<YangInstanceIdentifier.NodeIdentifierWithPredicates,MapEntryNode> |
ImmutableNodes.mapEntryBuilder(QName nodeName,
QName keyName,
Object keyValue) |
static @NonNull MapNode |
ImmutableNodes.mapNode(QName name)
Create an immutable map node.
|
static @NonNull CollectionNodeBuilder<MapEntryNode,MapNode> |
ImmutableNodes.mapNodeBuilder(QName name) |
static @NonNull OrderedMapNode |
ImmutableNodes.orderedMapNode(QName name)
Create immutable ordered map node.
|
Modifier and Type | Method and Description |
---|---|
static AugmentationSchemaNode |
SchemaUtils.findSchemaForAugment(AugmentationTarget schema,
Set<QName> qnames) |
static AugmentationSchemaNode |
SchemaUtils.findSchemaForAugment(ChoiceSchemaNode schema,
Set<QName> qnames) |
static @NonNull NormalizedNode<?,?> |
ImmutableNodes.fromInstanceId(SchemaContext ctx,
YangInstanceIdentifier id,
Optional<NormalizedNode<?,?>> deepestElement,
Optional<Map.Entry<QName,ModifyAction>> operation)
Convert YangInstanceIdentifier into a normalized node structure.
|
Modifier and Type | Method and Description |
---|---|
B |
AttributesBuilder.withAttributes(Map<QName,String> attributes)
Attach a map of attributes.
|
@NonNull ListNodeBuilder<T,LeafSetEntryNode<T>> |
ListNodeBuilder.withChildValue(T value,
Map<QName,String> attributes) |
Modifier and Type | Field and Description |
---|---|
protected Map<QName,YangInstanceIdentifier.PathArgument> |
ImmutableMapEntryNodeBuilder.childrenQNamesToPaths |
Modifier and Type | Method and Description |
---|---|
ListNodeBuilder<T,LeafSetEntryNode<T>> |
ImmutableOrderedLeafSetNodeBuilder.withChildValue(T childValue,
Map<QName,String> attributes) |
ListNodeBuilder<T,LeafSetEntryNode<T>> |
ImmutableLeafSetNodeBuilder.withChildValue(T childValue,
Map<QName,String> attributes) |
Modifier and Type | Method and Description |
---|---|
static void |
DataValidationException.checkListKey(DataContainerChild<?,?> childNode,
Map<QName,Object> keyValues,
QName keyQName,
YangInstanceIdentifier.NodeIdentifierWithPredicates nodeId) |
static void |
DataValidationException.checkListKey(DataContainerChild<?,?> childNode,
QName keyQName,
YangInstanceIdentifier.NodeIdentifierWithPredicates nodeId) |
static void |
DataValidationException.checkListKey(YangInstanceIdentifier.NodeIdentifierWithPredicates nodeId,
QName keyQName,
Object expected,
Object actual) |
Modifier and Type | Method and Description |
---|---|
static void |
DataValidationException.checkLegalChild(boolean isLegal,
YangInstanceIdentifier.PathArgument child,
DataNodeContainer schema,
Set<QName> childNodes,
Set<YangInstanceIdentifier.AugmentationIdentifier> augments) |
static void |
DataValidationException.checkLegalChild(boolean isLegal,
YangInstanceIdentifier.PathArgument child,
DataSchemaNode schema,
Set<QName> childNodes) |
static void |
DataValidationException.checkListKey(DataContainerChild<?,?> childNode,
Map<QName,Object> keyValues,
QName keyQName,
YangInstanceIdentifier.NodeIdentifierWithPredicates nodeId) |
Modifier and Type | Method and Description |
---|---|
QName |
AbstractImmutableNormalizedNode.getNodeType() |
Modifier and Type | Method and Description |
---|---|
Map<QName,String> |
AbstractImmutableNormalizedValueAttrNode.getAttributes() |
Map<QName,String> |
AbstractImmutableDataContainerAttrNode.getAttributes() |
Modifier and Type | Method and Description |
---|---|
Object |
AbstractImmutableNormalizedValueAttrNode.getAttributeValue(QName value) |
Object |
AbstractImmutableDataContainerAttrNode.getAttributeValue(QName value) |
Constructor and Description |
---|
AbstractImmutableDataContainerAttrNode(Map<YangInstanceIdentifier.PathArgument,DataContainerChild<? extends YangInstanceIdentifier.PathArgument,?>> children,
K nodeIdentifier,
Map<QName,String> attributes) |
AbstractImmutableNormalizedValueAttrNode(K nodeIdentifier,
V value,
Map<QName,String> attributes) |
Modifier and Type | Method and Description |
---|---|
protected QName |
AbstractStringInstanceIdentifierCodec.createQName(@Nullable QNameModule lastModule,
String localName)
Create QName from unprefixed name, potentially taking last QNameModule encountered into account.
|
protected QName |
AbstractModuleStringIdentityrefCodec.createQName(String prefix,
String localName) |
protected QName |
AbstractModuleStringInstanceIdentifierCodec.createQName(String prefix,
String localName) |
QName |
AbstractStringIdentityrefCodec.deserialize(String data) |
QName |
OperationAsContainer.getQName() |
Modifier and Type | Method and Description |
---|---|
Map<QName,String> |
AbstractNodeDataWithSchema.getAttributes()
Return the associated attributes.
|
protected Set<QName> |
DataSchemaContextNode.getQNameIdentifiers() |
Modifier and Type | Method and Description |
---|---|
Optional<DataSchemaNode> |
OperationAsContainer.findDataChildByName(QName name) |
abstract @Nullable DataSchemaContextNode<?> |
DataSchemaContextNode.getChild(QName child) |
String |
AbstractStringIdentityrefCodec.serialize(QName data) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractNodeDataWithSchema.setAttributes(Map<QName,String> attributes)
Set the associated attributes.
|
Modifier and Type | Method and Description |
---|---|
static QName |
QNameCodecUtil.decodeQName(String str,
Function<String,QNameModule> prefixToModule) |
Modifier and Type | Method and Description |
---|---|
static String |
QNameCodecUtil.encodeQName(QName qname,
Function<QNameModule,String> moduleToPrefix) |
Modifier and Type | Field and Description |
---|---|
static @NonNull QName |
SchemaContext.NAME
QName of NETCONF top-level data node.
|
Modifier and Type | Method and Description |
---|---|
@Nullable QName |
YangStmtMapping.getArgumentName() |
QName |
SchemaPath.getLastComponent()
Get the last component of this path.
|
QName |
UnknownSchemaNode.getNodeType()
Returns QName instance with the name of the unknown node.
|
@NonNull QName |
SchemaNode.getQName()
Returns QName of the instance of the type
SchemaNode . |
QName |
YangStmtMapping.getStatementName() |
Modifier and Type | Method and Description |
---|---|
SortedMap<QName,CaseSchemaNode> |
ChoiceSchemaNode.getCases()
Returns cases of choice, keyed by their
SchemaNode.getQName() . |
List<QName> |
SchemaPath.getPath()
Deprecated.
Use
SchemaPath.getPathFromRoot() instead. |
Iterable<QName> |
SchemaPath.getPathFromRoot()
Returns the list of nodes which need to be traversed to get from the
starting point (root for absolute SchemaPaths) to the node represented
by this object.
|
Iterable<QName> |
SchemaPath.getPathTowardsRoot()
Returns the list of nodes which need to be traversed to get from this
node to the starting point (root for absolute SchemaPaths).
|
Modifier and Type | Method and Description |
---|---|
static SchemaPath |
SchemaPath.create(boolean absolute,
QName... path)
Constructs new instance of this class with the concrete path.
|
@NonNull SchemaPath |
SchemaPath.createChild(QName... elements)
Create a child path based on concatenation of this path and additional
path elements.
|
abstract @NonNull SchemaPath |
SchemaPath.createChild(QName element)
Create a child path based on concatenation of this path and an additional path element.
|
default Optional<CaseSchemaNode> |
ChoiceSchemaNode.findCase(QName qname)
Returns the concrete case according to specified Q name.
|
Optional<DataSchemaNode> |
DataNodeContainer.findDataChildByName(QName name)
Returns the child node corresponding to the specified name.
|
default Optional<DataSchemaNode> |
ChoiceSchemaNode.findDataSchemaChild(QName qname)
Find a specific data schema child, if present.
|
default Optional<DataSchemaNode> |
DataNodeContainer.findDataTreeChild(QName... path)
Returns a
data node identified by a series of QNames. |
default Optional<DataSchemaNode> |
DataNodeContainer.findDataTreeChild(QName name)
Returns a
data node identified by a QName. |
default Optional<DataSchemaNode> |
SchemaContext.findDataTreeChild(QName name) |
default CaseSchemaNode |
ChoiceSchemaNode.getCaseNodeByName(QName qname)
Deprecated.
Use either
getCases().get(name) or #findCase(QName) |
default @Nullable DataSchemaNode |
DataNodeContainer.getDataChildByName(QName name)
Deprecated.
Use
DataNodeContainer.findDataChildByName(QName) instead. |
Modifier and Type | Method and Description |
---|---|
static 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.
|
default Optional<DataSchemaNode> |
DataNodeContainer.findDataTreeChild(Iterable<QName> path)
Returns a
data node identified by a series of QNames. |
Modifier and Type | Method and Description |
---|---|
@Nullable QName |
DefaultStatementDefinition.getArgumentName() |
@Nullable QName |
StatementDefinition.getArgumentName()
Returns name of statement argument or null, if statement does not have argument.
|
QName |
DefaultStatementDefinition.getStatementName() |
@NonNull QName |
StatementDefinition.getStatementName()
Returns name of the statement.
|
Modifier and Type | Method and Description |
---|---|
static <A,D extends DeclaredStatement<A>,E extends EffectiveStatement<A,D>> |
DefaultStatementDefinition.of(QName statementName,
Class<D> declaredRepresentation,
Class<E> effectiveRepresentation) |
static <A,D extends DeclaredStatement<A>,E extends EffectiveStatement<A,D>> |
DefaultStatementDefinition.of(QName statementName,
Class<D> declaredRepresentation,
Class<E> effectiveRepresentation,
QName argumentName) |
static <A,D extends DeclaredStatement<A>,E extends EffectiveStatement<A,D>> |
DefaultStatementDefinition.of(QName statementName,
Class<D> declaredRepresentation,
Class<E> effectiveRepresentation,
QName argumentName,
boolean argumentYinElement) |
Modifier and Type | Interface and Description |
---|---|
interface |
DataTreeEffectiveStatement<D extends DeclaredStatement<QName>>
Common interface grouping all
EffectiveStatement s which are accessible via
DataTreeAwareEffectiveStatement.Namespace . |
interface |
NamespacedEffectiveStatement<D extends DeclaredStatement<QName>>
Common super-interface for all statements which can be held in one of the
EffectiveStatementNamespace s. |
interface |
SchemaTreeEffectiveStatement<D extends DeclaredStatement<QName>>
Common interface grouping all
EffectiveStatement s which are accessible via
SchemaTreeAwareEffectiveStatement.Namespace . |
Modifier and Type | Method and Description |
---|---|
default QName |
NamespacedEffectiveStatement.getIdentifier() |
QName |
SchemaNodeIdentifier.getLastComponent()
Get the last component of this path.
|
default @NonNull QName |
CaseStatement.getName() |
default @NonNull QName |
BaseStatement.getName() |
default @NonNull QName |
ArgumentStatement.getName() |
default @NonNull QName |
GroupingStatement.getName() |
default @NonNull QName |
TypedefStatement.getName() |
default @NonNull QName |
NotificationStatement.getName() |
default @NonNull QName |
OperationDeclaredStatement.getName() |
default @NonNull QName |
IdentityStatement.getName() |
default @NonNull QName |
FeatureStatement.getName() |
default @NonNull QName |
DataDefinitionStatement.getName() |
Modifier and Type | Method and Description |
---|---|
Iterable<QName> |
SchemaNodeIdentifier.getPathFromRoot()
Returns the list of nodes which need to be traversed to get from the
starting point (root for absolute SchemaPaths) to the node represented
by this object.
|
Iterable<QName> |
SchemaNodeIdentifier.getPathTowardsRoot()
Returns the list of nodes which need to be traversed to get from this
node to the starting point (root for absolute SchemaPaths).
|
Modifier and Type | Method and Description |
---|---|
static SchemaNodeIdentifier |
SchemaNodeIdentifier.create(boolean absolute,
QName... path)
Constructs new instance of this class with the concrete path.
|
SchemaNodeIdentifier |
SchemaNodeIdentifier.createChild(QName... elements)
Create a child path based on concatenation of this path and additional
path elements.
|
abstract SchemaNodeIdentifier |
SchemaNodeIdentifier.createChild(QName element)
Create a child path based on concatenation of this path and an additional path element.
|
SchemaNodeIdentifier.Absolute |
SchemaNodeIdentifier.Absolute.createChild(QName element) |
SchemaNodeIdentifier.Relative |
SchemaNodeIdentifier.Relative.createChild(QName element) |
default <E extends DataTreeEffectiveStatement<?>> |
DataTreeAwareEffectiveStatement.findDataTreeNode(@NonNull QName qname)
Find a
data tree child DataTreeEffectiveStatement , as identified by its QName argument. |
default <E extends SchemaTreeEffectiveStatement<?>> |
SchemaTreeAwareEffectiveStatement.findSchemaTreeNode(@NonNull QName qname)
Find a
schema tree child SchemaTreeEffectiveStatement , as identified by its QName argument. |
Modifier and Type | Method and Description |
---|---|
static SchemaNodeIdentifier |
SchemaNodeIdentifier.create(Iterable<QName> path,
boolean absolute)
Constructs new instance of this class with the concrete path.
|
SchemaNodeIdentifier |
SchemaNodeIdentifier.createChild(Iterable<QName> relative)
Create a child path based on concatenation of this path and a relative path.
|
Modifier and Type | Method and Description |
---|---|
QName |
IdentityTypeDefinition.getIdentityName()
Returns the name of the YANG identity.
|
Modifier and Type | Method and Description |
---|---|
ListSchemaNodeBuilder |
ListSchemaNodeBuilder.addKeyDefinition(QName... elements)
Adds elements to
keyDefinition list. |
ListSchemaNodeBuilder |
ListSchemaNodeBuilder.addKeyDefinition(QName element)
Adds one element to
keyDefinition list. |
ModuleBuilder |
ModuleBuilder.putChildren(QName key,
DataSchemaNode value)
Put one entry to the
children map. |
ChoiceCaseNodeBuilder |
ChoiceCaseNodeBuilder.putChildren(QName key,
DataSchemaNode value)
Put one entry to the
children map. |
NotificationDefinitionBuilder |
NotificationDefinitionBuilder.putChildren(QName key,
DataSchemaNode value)
Put one entry to the
children map. |
ListSchemaNodeBuilder |
ListSchemaNodeBuilder.putChildren(QName key,
DataSchemaNode value)
Put one entry to the
children map. |
SchemaContextBuilder |
SchemaContextBuilder.putChildren(QName key,
DataSchemaNode value)
Put one entry to the
children map. |
ContainerSchemaNodeBuilder |
ContainerSchemaNodeBuilder.putChildren(QName key,
DataSchemaNode value)
Put one entry to the
children map. |
ChoiceCaseNodeBuilder |
ChoiceCaseNodeBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
NotificationDefinitionBuilder |
NotificationDefinitionBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
ListSchemaNodeBuilder |
ListSchemaNodeBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
SchemaContextBuilder |
SchemaContextBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
ContainerSchemaNodeBuilder |
ContainerSchemaNodeBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
Uint64TypeDefinitionBuilder |
Uint64TypeDefinitionBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
Uint32TypeDefinitionBuilder |
Uint32TypeDefinitionBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
Uint16TypeDefinitionBuilder |
Uint16TypeDefinitionBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
Uint8TypeDefinitionBuilder |
Uint8TypeDefinitionBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
UnionTypeDefinitionBuilder |
UnionTypeDefinitionBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
StringTypeDefinitionBuilder |
StringTypeDefinitionBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
LeafrefTypeDefinitionBuilder |
LeafrefTypeDefinitionBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
InstanceIdentifierTypeDefinitionBuilder |
InstanceIdentifierTypeDefinitionBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
Int64TypeDefinitionBuilder |
Int64TypeDefinitionBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
Int32TypeDefinitionBuilder |
Int32TypeDefinitionBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
Int16TypeDefinitionBuilder |
Int16TypeDefinitionBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
Int8TypeDefinitionBuilder |
Int8TypeDefinitionBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
IdentityrefTypeDefinitionBuilder |
IdentityrefTypeDefinitionBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
EnumTypeDefinitionBuilder |
EnumTypeDefinitionBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
EmptyTypeDefinitionBuilder |
EmptyTypeDefinitionBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
DecimalTypeDefinitionBuilder |
DecimalTypeDefinitionBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
BooleanTypeDefinitionBuilder |
BooleanTypeDefinitionBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
BitBuilder |
BitBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
BitsTypeDefinitionBuilder |
BitsTypeDefinitionBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
BinaryTypeDefinitionBuilder |
BinaryTypeDefinitionBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
RpcDefinitionBuilder |
RpcDefinitionBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
LeafSchemaNodeBuilder |
LeafSchemaNodeBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
LeafListSchemaNodeBuilder |
LeafListSchemaNodeBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
IdentitySchemaNodeBuilder |
IdentitySchemaNodeBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
FeatureDefinitionBuilder |
FeatureDefinitionBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
ExtensionDefinitionBuilder |
ExtensionDefinitionBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
AnyXmlSchemaNodeBuilder |
AnyXmlSchemaNodeBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
AnyDataSchemaNodeBuilder |
AnyDataSchemaNodeBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
ActionDefinitionBuilder |
ActionDefinitionBuilder.qName(QName qName)
Initializes the value for the
qName attribute. |
Modifier and Type | Method and Description |
---|---|
ListSchemaNodeBuilder |
ListSchemaNodeBuilder.addAllKeyDefinition(Iterable<? extends QName> elements)
Adds elements to
keyDefinition list. |
ModuleBuilder |
ModuleBuilder.putAllChildren(Map<? extends QName,? extends DataSchemaNode> entries)
Put all mappings from the specified map as entries to
children map. |
ChoiceCaseNodeBuilder |
ChoiceCaseNodeBuilder.putAllChildren(Map<? extends QName,? extends DataSchemaNode> entries)
Put all mappings from the specified map as entries to
children map. |
NotificationDefinitionBuilder |
NotificationDefinitionBuilder.putAllChildren(Map<? extends QName,? extends DataSchemaNode> entries)
Put all mappings from the specified map as entries to
children map. |
ListSchemaNodeBuilder |
ListSchemaNodeBuilder.putAllChildren(Map<? extends QName,? extends DataSchemaNode> entries)
Put all mappings from the specified map as entries to
children map. |
SchemaContextBuilder |
SchemaContextBuilder.putAllChildren(Map<? extends QName,? extends DataSchemaNode> entries)
Put all mappings from the specified map as entries to
children map. |
ContainerSchemaNodeBuilder |
ContainerSchemaNodeBuilder.putAllChildren(Map<? extends QName,? extends DataSchemaNode> entries)
Put all mappings from the specified map as entries to
children map. |
ModuleBuilder |
ModuleBuilder.putChildren(Map.Entry<? extends QName,? extends DataSchemaNode> entry)
Put one entry to the
children map. |
ChoiceCaseNodeBuilder |
ChoiceCaseNodeBuilder.putChildren(Map.Entry<? extends QName,? extends DataSchemaNode> entry)
Put one entry to the
children map. |
NotificationDefinitionBuilder |
NotificationDefinitionBuilder.putChildren(Map.Entry<? extends QName,? extends DataSchemaNode> entry)
Put one entry to the
children map. |
ListSchemaNodeBuilder |
ListSchemaNodeBuilder.putChildren(Map.Entry<? extends QName,? extends DataSchemaNode> entry)
Put one entry to the
children map. |
SchemaContextBuilder |
SchemaContextBuilder.putChildren(Map.Entry<? extends QName,? extends DataSchemaNode> entry)
Put one entry to the
children map. |
ContainerSchemaNodeBuilder |
ContainerSchemaNodeBuilder.putChildren(Map.Entry<? extends QName,? extends DataSchemaNode> entry)
Put one entry to the
children map. |
Modifier and Type | Method and Description |
---|---|
Set<QName> |
YangParser.supportedStatements()
Return the set of all YANG statements semantically supported by this parser instance.
|
Modifier and Type | Method and Description |
---|---|
Optional<Set<QName>> |
SchemaContextFactoryConfiguration.getSupportedFeatures() |
Modifier and Type | Method and Description |
---|---|
@NonNull SchemaContextFactoryConfiguration.Builder |
SchemaContextFactoryConfiguration.Builder.setSupportedFeatures(Set<QName> supportedFeatures)
Set supported features based on which all if-feature statements in the parsed YANG modules will be resolved.
|
Modifier and Type | Field and Description |
---|---|
static QName |
BaseTypes.BINARY_QNAME |
static QName |
BaseTypes.BITS_QNAME |
static QName |
BaseTypes.BOOLEAN_QNAME |
static QName |
BaseTypes.DECIMAL64_QNAME |
static QName |
BaseTypes.EMPTY_QNAME |
static QName |
BaseTypes.ENUMERATION_QNAME |
static QName |
BaseTypes.IDENTITYREF_QNAME |
static QName |
BaseTypes.INSTANCE_IDENTIFIER_QNAME |
static QName |
BaseTypes.INT16_QNAME |
static QName |
BaseTypes.INT32_QNAME |
static QName |
BaseTypes.INT64_QNAME |
static QName |
BaseTypes.INT8_QNAME |
static QName |
BaseTypes.LEAFREF_QNAME |
static QName |
BaseTypes.STRING_QNAME |
static QName |
BaseTypes.UINT16_QNAME |
static QName |
BaseTypes.UINT32_QNAME |
static QName |
BaseTypes.UINT64_QNAME |
static QName |
BaseTypes.UINT8_QNAME |
static QName |
BaseTypes.UNION_QNAME |
Modifier and Type | Method and Description |
---|---|
static QName |
BaseTypes.constructQName(String typeName)
Construct QName for Built-in base Yang type.
|
QName |
AbstractSchemaContext.getQName() |
Modifier and Type | Method and Description |
---|---|
Optional<DataSchemaNode> |
EffectiveAugmentationSchema.findDataChildByName(QName name) |
Optional<DataSchemaNode> |
AbstractSchemaContext.findDataChildByName(QName name) |
static TypeDefinition<?> |
SchemaContextUtil.getBaseTypeForLeafRef(LeafrefTypeDefinition typeDefinition,
SchemaContext schemaContext,
QName qname)
Returns base type for
typeDefinition which belongs to module specified via qname . |
static @Nullable ContainerSchemaNode |
SchemaNodeUtils.getRpcDataSchema(@NonNull RpcDefinition rpc,
@NonNull QName qname)
Returns RPC input or output schema based on supplied QName.
|
Modifier and Type | Method and Description |
---|---|
static SchemaNode |
SchemaContextUtil.findNodeInSchemaContext(SchemaContext context,
Iterable<QName> path) |
Modifier and Type | Class and Description |
---|---|
class |
ChildSchemaNodeNamespace<D extends DeclaredStatement<QName>,E extends EffectiveStatement<QName,D>>
Statement local namespace, which holds direct schema node descendants.
|
class |
ChildSchemaNodeNamespace<D extends DeclaredStatement<QName>,E extends EffectiveStatement<QName,D>>
Statement local namespace, which holds direct schema node descendants.
|
Modifier and Type | Method and Description |
---|---|
QName |
SchemaNodeIdentifierBuildNamespace.getSignificantKey(SchemaNodeIdentifier key)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Map<QName,StmtContext<?,D,E>> |
ChildSchemaNodeNamespace.getAllFrom(NamespaceBehaviour.NamespaceStorageNode storage) |
Modifier and Type | Method and Description |
---|---|
void |
ChildSchemaNodeNamespace.addTo(NamespaceBehaviour.NamespaceStorageNode storage,
QName key,
StmtContext<?,D,E> value) |
StmtContext<?,D,E> |
ChildSchemaNodeNamespace.get(QName key) |
StmtContext<?,D,E> |
ChildSchemaNodeNamespace.getFrom(NamespaceBehaviour.NamespaceStorageNode storage,
QName key) |
Modifier and Type | Method and Description |
---|---|
CustomCrossSourceStatementReactorBuilder |
CustomCrossSourceStatementReactorBuilder.addAllVersionSpecificSupports(ModelProcessingPhase phase,
com.google.common.collect.Table<YangVersion,QName,StatementSupport<?,?,?>> versionSpecificSupports) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractEffectiveContainerSchemaNode<D extends DeclaredStatement<QName>> |
class |
AbstractEffectiveDataSchemaNode<D extends DeclaredStatement<QName>> |
class |
AbstractEffectiveOperationContainerSchemaNode<D extends DeclaredStatement<QName>> |
class |
AbstractEffectiveOperationDefinition<D extends DeclaredStatement<QName>> |
class |
AbstractEffectiveSchemaNode<D extends DeclaredStatement<QName>> |
class |
AbstractEffectiveSimpleDataNodeContainer<D extends DeclaredStatement<QName>> |
Modifier and Type | Method and Description |
---|---|
QName |
UnknownEffectiveStatementBase.getNodeType() |
QName |
AbstractEffectiveSchemaNode.getQName() |
QName |
AbstractEffectiveSimpleDataNodeContainer.getQName() |
Modifier and Type | Method and Description |
---|---|
Optional<DataSchemaNode> |
AbstractEffectiveDocumentedDataNodeContainer.findDataChildByName(QName name) |
Optional<DataSchemaNode> |
AbstractEffectiveModule.findDataChildByName(QName name) |
Constructor and Description |
---|
AbstractEffectiveContainerSchemaNode(StmtContext<QName,D,?> ctx) |
AbstractEffectiveDataSchemaNode(StmtContext<QName,D,?> ctx) |
AbstractEffectiveOperationContainerSchemaNode(StmtContext<QName,D,?> ctx) |
AbstractEffectiveOperationDefinition(StmtContext<QName,D,?> ctx) |
AbstractEffectiveSchemaNode(StmtContext<QName,D,?> ctx) |
AbstractEffectiveSimpleDataNodeContainer(StmtContext<QName,D,?> ctx) |
Modifier and Type | Method and Description |
---|---|
QName |
ActionStatementSupport.parseArgumentValue(StmtContext<?,?,?> ctx,
String value) |
Modifier and Type | Method and Description |
---|---|
EffectiveStatement<QName,ActionStatement> |
ActionStatementSupport.createEffective(StmtContext<QName,ActionStatement,EffectiveStatement<QName,ActionStatement>> ctx) |
Modifier and Type | Method and Description |
---|---|
QName |
AnydataStatementSupport.parseArgumentValue(StmtContext<?,?,?> ctx,
String value) |
Modifier and Type | Method and Description |
---|---|
EffectiveStatement<QName,AnydataStatement> |
AnydataStatementSupport.createEffective(StmtContext<QName,AnydataStatement,EffectiveStatement<QName,AnydataStatement>> ctx) |
Modifier and Type | Method and Description |
---|---|
AnydataStatement |
AnydataStatementSupport.createDeclared(StmtContext<QName,AnydataStatement,?> ctx) |
EffectiveStatement<QName,AnydataStatement> |
AnydataStatementSupport.createEffective(StmtContext<QName,AnydataStatement,EffectiveStatement<QName,AnydataStatement>> ctx) |
EffectiveStatement<QName,AnydataStatement> |
AnydataStatementSupport.createEffective(StmtContext<QName,AnydataStatement,EffectiveStatement<QName,AnydataStatement>> ctx) |
void |
AnydataStatementSupport.onStatementAdded(StmtContext.Mutable<QName,AnydataStatement,EffectiveStatement<QName,AnydataStatement>> stmt) |
void |
AnydataStatementSupport.onStatementAdded(StmtContext.Mutable<QName,AnydataStatement,EffectiveStatement<QName,AnydataStatement>> stmt) |
Modifier and Type | Method and Description |
---|---|
QName |
AnyxmlStatementSupport.parseArgumentValue(StmtContext<?,?,?> ctx,
String value) |
Modifier and Type | Method and Description |
---|---|
AnyxmlStatement |
AnyxmlStatementSupport.createDeclared(StmtContext<QName,AnyxmlStatement,?> ctx) |
AnyxmlEffectiveStatement |
AnyxmlStatementSupport.createEffective(StmtContext<QName,AnyxmlStatement,AnyxmlEffectiveStatement> ctx) |
void |
AnyxmlStatementSupport.onStatementAdded(StmtContext.Mutable<QName,AnyxmlStatement,AnyxmlEffectiveStatement> stmt) |
Modifier and Type | Method and Description |
---|---|
QName |
ArgumentStatementSupport.parseArgumentValue(StmtContext<?,?,?> ctx,
String value) |
Modifier and Type | Method and Description |
---|---|
EffectiveStatement<QName,ArgumentStatement> |
ArgumentStatementSupport.createEffective(StmtContext<QName,ArgumentStatement,EffectiveStatement<QName,ArgumentStatement>> ctx) |
Modifier and Type | Method and Description |
---|---|
ArgumentStatement |
ArgumentStatementSupport.createDeclared(StmtContext<QName,ArgumentStatement,?> ctx) |
EffectiveStatement<QName,ArgumentStatement> |
ArgumentStatementSupport.createEffective(StmtContext<QName,ArgumentStatement,EffectiveStatement<QName,ArgumentStatement>> ctx) |
EffectiveStatement<QName,ArgumentStatement> |
ArgumentStatementSupport.createEffective(StmtContext<QName,ArgumentStatement,EffectiveStatement<QName,ArgumentStatement>> ctx) |
Modifier and Type | Method and Description |
---|---|
QName |
BaseStatementSupport.parseArgumentValue(StmtContext<?,?,?> ctx,
String value) |
Modifier and Type | Method and Description |
---|---|
EffectiveStatement<QName,BaseStatement> |
BaseStatementSupport.createEffective(StmtContext<QName,BaseStatement,EffectiveStatement<QName,BaseStatement>> ctx) |
Modifier and Type | Method and Description |
---|---|
BaseStatement |
BaseStatementSupport.createDeclared(StmtContext<QName,BaseStatement,?> ctx) |
EffectiveStatement<QName,BaseStatement> |
BaseStatementSupport.createEffective(StmtContext<QName,BaseStatement,EffectiveStatement<QName,BaseStatement>> ctx) |
EffectiveStatement<QName,BaseStatement> |
BaseStatementSupport.createEffective(StmtContext<QName,BaseStatement,EffectiveStatement<QName,BaseStatement>> ctx) |
void |
BaseStatementSupport.onStatementDefinitionDeclared(StmtContext.Mutable<QName,BaseStatement,EffectiveStatement<QName,BaseStatement>> baseStmtCtx) |
void |
BaseStatementSupport.onStatementDefinitionDeclared(StmtContext.Mutable<QName,BaseStatement,EffectiveStatement<QName,BaseStatement>> baseStmtCtx) |
Modifier and Type | Method and Description |
---|---|
QName |
BitEffectiveStatementImpl.getQName() |
Modifier and Type | Method and Description |
---|---|
QName |
ImplicitCaseSchemaNode.getQName() |
Modifier and Type | Method and Description |
---|---|
Optional<DataSchemaNode> |
ImplicitCaseSchemaNode.findDataChildByName(QName name) |
Modifier and Type | Method and Description |
---|---|
QName |
ExtensionStatementSupport.parseArgumentValue(StmtContext<?,?,?> ctx,
String value) |
Modifier and Type | Method and Description |
---|---|
EffectiveStatement<QName,ExtensionStatement> |
ExtensionStatementSupport.createEffective(StmtContext<QName,ExtensionStatement,EffectiveStatement<QName,ExtensionStatement>> ctx) |
Modifier and Type | Method and Description |
---|---|
ExtensionStatement |
ExtensionStatementSupport.createDeclared(StmtContext<QName,ExtensionStatement,?> ctx) |
EffectiveStatement<QName,ExtensionStatement> |
ExtensionStatementSupport.createEffective(StmtContext<QName,ExtensionStatement,EffectiveStatement<QName,ExtensionStatement>> ctx) |
EffectiveStatement<QName,ExtensionStatement> |
ExtensionStatementSupport.createEffective(StmtContext<QName,ExtensionStatement,EffectiveStatement<QName,ExtensionStatement>> ctx) |
void |
ExtensionStatementSupport.onStatementDefinitionDeclared(StmtContext.Mutable<QName,ExtensionStatement,EffectiveStatement<QName,ExtensionStatement>> stmt) |
void |
ExtensionStatementSupport.onStatementDefinitionDeclared(StmtContext.Mutable<QName,ExtensionStatement,EffectiveStatement<QName,ExtensionStatement>> stmt) |
Modifier and Type | Method and Description |
---|---|
QName |
FeatureStatementSupport.parseArgumentValue(StmtContext<?,?,?> ctx,
String value) |
Modifier and Type | Method and Description |
---|---|
EffectiveStatement<QName,FeatureStatement> |
FeatureStatementSupport.createEffective(StmtContext<QName,FeatureStatement,EffectiveStatement<QName,FeatureStatement>> ctx) |
Modifier and Type | Method and Description |
---|---|
FeatureStatement |
FeatureStatementSupport.createDeclared(StmtContext<QName,FeatureStatement,?> ctx) |
EffectiveStatement<QName,FeatureStatement> |
FeatureStatementSupport.createEffective(StmtContext<QName,FeatureStatement,EffectiveStatement<QName,FeatureStatement>> ctx) |
EffectiveStatement<QName,FeatureStatement> |
FeatureStatementSupport.createEffective(StmtContext<QName,FeatureStatement,EffectiveStatement<QName,FeatureStatement>> ctx) |
Modifier and Type | Method and Description |
---|---|
EffectiveStatement<Predicate<Set<QName>>,IfFeatureStatement> |
IfFeatureStatementSupport.createEffective(StmtContext<Predicate<Set<QName>>,IfFeatureStatement,EffectiveStatement<Predicate<Set<QName>>,IfFeatureStatement>> ctx) |
Predicate<Set<QName>> |
IfFeatureStatementSupport.parseArgumentValue(StmtContext<?,?,?> ctx,
String value) |
Modifier and Type | Method and Description |
---|---|
IfFeatureStatement |
IfFeatureStatementSupport.createDeclared(StmtContext<Predicate<Set<QName>>,IfFeatureStatement,?> ctx) |
EffectiveStatement<Predicate<Set<QName>>,IfFeatureStatement> |
IfFeatureStatementSupport.createEffective(StmtContext<Predicate<Set<QName>>,IfFeatureStatement,EffectiveStatement<Predicate<Set<QName>>,IfFeatureStatement>> ctx) |
EffectiveStatement<Predicate<Set<QName>>,IfFeatureStatement> |
IfFeatureStatementSupport.createEffective(StmtContext<Predicate<Set<QName>>,IfFeatureStatement,EffectiveStatement<Predicate<Set<QName>>,IfFeatureStatement>> ctx) |
Modifier and Type | Method and Description |
---|---|
QName |
LeafStatementSupport.parseArgumentValue(StmtContext<?,?,?> ctx,
String value) |
Modifier and Type | Method and Description |
---|---|
EffectiveStatement<QName,LeafStatement> |
LeafStatementSupport.createEffective(StmtContext<QName,LeafStatement,EffectiveStatement<QName,LeafStatement>> ctx) |
Modifier and Type | Method and Description |
---|---|
List<QName> |
ListEffectiveStatementImpl.getKeyDefinition() |
Modifier and Type | Method and Description |
---|---|
EffectiveStatement<QName,NotificationStatement> |
NotificationStatementRFC7950Support.createEffective(StmtContext<QName,NotificationStatement,EffectiveStatement<QName,NotificationStatement>> ctx) |
EffectiveStatement<QName,NotificationStatement> |
NotificationStatementRFC6020Support.createEffective(StmtContext<QName,NotificationStatement,EffectiveStatement<QName,NotificationStatement>> ctx) |
Modifier and Type | Method and Description |
---|---|
EffectiveStatement<QName,NotificationStatement> |
NotificationStatementRFC7950Support.createEffective(StmtContext<QName,NotificationStatement,EffectiveStatement<QName,NotificationStatement>> ctx) |
EffectiveStatement<QName,NotificationStatement> |
NotificationStatementRFC7950Support.createEffective(StmtContext<QName,NotificationStatement,EffectiveStatement<QName,NotificationStatement>> ctx) |
EffectiveStatement<QName,NotificationStatement> |
NotificationStatementRFC6020Support.createEffective(StmtContext<QName,NotificationStatement,EffectiveStatement<QName,NotificationStatement>> ctx) |
EffectiveStatement<QName,NotificationStatement> |
NotificationStatementRFC6020Support.createEffective(StmtContext<QName,NotificationStatement,EffectiveStatement<QName,NotificationStatement>> ctx) |
Modifier and Type | Method and Description |
---|---|
QName |
RefineEffectiveStatementImpl.getQName() |
Modifier and Type | Method and Description |
---|---|
QName |
TypedefStatementSupport.parseArgumentValue(StmtContext<?,?,?> ctx,
String value) |
Modifier and Type | Method and Description |
---|---|
EffectiveStatement<QName,TypedefStatement> |
TypedefStatementSupport.createEffective(StmtContext<QName,TypedefStatement,EffectiveStatement<QName,TypedefStatement>> ctx) |
Modifier and Type | Method and Description |
---|---|
TypedefStatement |
TypedefStatementSupport.createDeclared(StmtContext<QName,TypedefStatement,?> ctx) |
EffectiveStatement<QName,TypedefStatement> |
TypedefStatementSupport.createEffective(StmtContext<QName,TypedefStatement,EffectiveStatement<QName,TypedefStatement>> ctx) |
EffectiveStatement<QName,TypedefStatement> |
TypedefStatementSupport.createEffective(StmtContext<QName,TypedefStatement,EffectiveStatement<QName,TypedefStatement>> ctx) |
void |
TypedefStatementSupport.onFullDefinitionDeclared(StmtContext.Mutable<QName,TypedefStatement,EffectiveStatement<QName,TypedefStatement>> stmt) |
void |
TypedefStatementSupport.onFullDefinitionDeclared(StmtContext.Mutable<QName,TypedefStatement,EffectiveStatement<QName,TypedefStatement>> stmt) |
Modifier and Type | Method and Description |
---|---|
QName |
UsesStatementSupport.parseArgumentValue(StmtContext<?,?,?> ctx,
String value) |
Modifier and Type | Method and Description |
---|---|
EffectiveStatement<QName,UsesStatement> |
UsesStatementSupport.createEffective(StmtContext<QName,UsesStatement,EffectiveStatement<QName,UsesStatement>> ctx) |
Modifier and Type | Method and Description |
---|---|
UsesStatement |
UsesStatementSupport.createDeclared(StmtContext<QName,UsesStatement,?> ctx) |
EffectiveStatement<QName,UsesStatement> |
UsesStatementSupport.createEffective(StmtContext<QName,UsesStatement,EffectiveStatement<QName,UsesStatement>> ctx) |
EffectiveStatement<QName,UsesStatement> |
UsesStatementSupport.createEffective(StmtContext<QName,UsesStatement,EffectiveStatement<QName,UsesStatement>> ctx) |
void |
UsesStatementSupport.onFullDefinitionDeclared(StmtContext.Mutable<QName,UsesStatement,EffectiveStatement<QName,UsesStatement>> usesNode) |
void |
UsesStatementSupport.onFullDefinitionDeclared(StmtContext.Mutable<QName,UsesStatement,EffectiveStatement<QName,UsesStatement>> usesNode) |
Modifier and Type | Field and Description |
---|---|
static NamespaceBehaviour<QName,StmtContext<?,GroupingStatement,GroupingEffectiveStatement>,GroupingNamespace> |
GroupingNamespace.BEHAVIOUR |
static NamespaceBehaviour<QName,StmtContext<?,TypedefStatement,TypedefEffectiveStatement>,TypeNamespace> |
TypeNamespace.BEHAVIOUR |
static NamespaceBehaviour<QName,StmtContext<?,ExtensionStatement,ExtensionEffectiveStatement>,ExtensionNamespace> |
ExtensionNamespace.BEHAVIOUR |
static NamespaceBehaviour<QName,StmtContext<?,IdentityStatement,IdentityEffectiveStatement>,IdentityNamespace> |
IdentityNamespace.BEHAVIOUR |
Modifier and Type | Class and Description |
---|---|
class |
AbstractQNameStatementSupport<D extends DeclaredStatement<QName>,E extends EffectiveStatement<QName,D>>
Class providing necessary support for processing a YANG statements which has a
QName argument. |
class |
AbstractQNameStatementSupport<D extends DeclaredStatement<QName>,E extends EffectiveStatement<QName,D>>
Class providing necessary support for processing a YANG statements which has a
QName argument. |
Modifier and Type | Field and Description |
---|---|
static NamespaceBehaviour<QName,List<StmtContext<?,?,?>>,DerivedIdentitiesNamespace> |
DerivedIdentitiesNamespace.BEHAVIOUR |
static NamespaceBehaviour<QName,StatementSupport<?,?,?>,StatementDefinitionNamespace> |
StatementDefinitionNamespace.BEHAVIOUR |
Modifier and Type | Method and Description |
---|---|
QName |
AbstractQNameStatementSupport.adaptArgumentValue(StmtContext<QName,D,E> ctx,
QNameModule targetModule) |
QName |
QNameCacheNamespace.get(QName identifier) |
default QName |
StatementSupport.getArgumentName() |
QName |
QNameCacheNamespace.getFrom(NamespaceBehaviour.NamespaceStorageNode storage,
QName key) |
default QName |
StatementSupport.getStatementName() |
static QName |
StmtContextUtils.parseIdentifier(StmtContext<?,?,?> ctx,
String str)
Parse a YANG identifier string in context of a statement.
|
static QName |
StmtContextUtils.parseNodeIdentifier(StmtContext<?,?,?> ctx,
String str)
Parse a YANG node identifier string in context of a statement.
|
static QName |
StmtContextUtils.qnameFromArgument(StmtContext<?,?,?> ctx,
String value) |
Modifier and Type | Method and Description |
---|---|
Map<QName,QName> |
QNameCacheNamespace.getAllFrom(NamespaceBehaviour.NamespaceStorageNode storage) |
Map<QName,QName> |
QNameCacheNamespace.getAllFrom(NamespaceBehaviour.NamespaceStorageNode storage) |
com.google.common.collect.ImmutableTable<YangVersion,QName,StatementSupport<?,?,?>> |
StatementSupportBundle.getAllVersionSpecificDefinitions()
Returns all version specific statement definitions.
|
com.google.common.collect.ImmutableMap<QName,StatementSupport<?,?,?>> |
StatementSupportBundle.getCommonDefinitions()
Returns statement definitions common for all versions.
|
com.google.common.collect.ImmutableMap<QName,StatementSupport<?,?,?>> |
StatementSupportBundle.getDefinitionsSpecificForVersion(YangVersion version)
Returns statement definitions specific for requested version.
|
Modifier and Type | Method and Description |
---|---|
void |
QNameCacheNamespace.addTo(NamespaceBehaviour.NamespaceStorageNode storage,
QName key,
QName value) |
QName |
QNameCacheNamespace.get(QName identifier) |
QName |
QNameCacheNamespace.getFrom(NamespaceBehaviour.NamespaceStorageNode storage,
QName key) |
StatementSupport<?,?,?> |
StatementSupportBundle.getStatementDefinition(YangVersion version,
QName stmtName) |
Modifier and Type | Method and Description |
---|---|
QName |
AbstractQNameStatementSupport.adaptArgumentValue(StmtContext<QName,D,E> ctx,
QNameModule targetModule) |
static boolean |
StmtContextUtils.checkFeatureSupport(StmtContext<?,?,?> stmtContext,
Set<QName> supportedFeatures) |
Modifier and Type | Field and Description |
---|---|
static NamespaceBehaviour<QName,StatementDefinition,QNameToStatementDefinition> |
QNameToStatementDefinition.BEHAVIOUR |
static NamespaceBehaviour<SupportedFeaturesNamespace.SupportedFeatures,Set<QName>,SupportedFeaturesNamespace> |
SupportedFeaturesNamespace.BEHAVIOUR |
Modifier and Type | Method and Description |
---|---|
StatementSupport<?,?,?> |
QNameToStatementDefinitionMap.get(QName identifier) |
StatementDefinition |
QNameToStatementDefinition.get(QName identifier)
Returns StatementDefinition with specified QName.
|
void |
QNameToStatementDefinitionMap.put(QName qname,
StatementSupport<?,?,?> stDef) |
StatementSupport<?,?,?> |
QNameToStatementDefinitionMap.putIfAbsent(QName qname,
StatementSupport<?,?,?> support) |
void |
StatementWriter.startStatement(int childId,
@NonNull QName name,
@Nullable String argument,
@NonNull StatementSourceReference ref)
Starts statement with supplied name and location in source.
|
Modifier and Type | Method and Description |
---|---|
void |
QNameToStatementDefinitionMap.putAll(Map<QName,StatementSupport<?,?,?>> qnameToStmt) |
Modifier and Type | Method and Description |
---|---|
QName |
StatementDefinitionContext.getArgumentName() |
@NonNull QName |
StatementDefinitionContext.getStatementName() |
Modifier and Type | Method and Description |
---|---|
static SchemaContext |
YangParserTestUtils.parseSources(StatementParserMode parserMode,
Set<QName> supportedFeatures,
Collection<? extends SchemaSourceRepresentation> sources) |
static SchemaContext |
YangParserTestUtils.parseYangFiles(Set<QName> supportedFeatures,
Collection<File> files) |
static SchemaContext |
YangParserTestUtils.parseYangFiles(Set<QName> supportedFeatures,
File... files)
Creates a new effective schema context containing the specified YANG sources.
|
static SchemaContext |
YangParserTestUtils.parseYangFiles(Set<QName> supportedFeatures,
StatementParserMode parserMode,
Collection<File> files)
Creates a new effective schema context containing the specified YANG sources.
|
static SchemaContext |
YangParserTestUtils.parseYangFiles(Set<QName> supportedFeatures,
StatementParserMode parserMode,
File... files)
Creates a new effective schema context containing the specified YANG sources.
|
static SchemaContext |
YangParserTestUtils.parseYangResource(String resource,
Set<QName> supportedFeatures)
Creates a new effective schema context containing the specified YANG source.
|
static SchemaContext |
YangParserTestUtils.parseYangResource(String resource,
StatementParserMode parserMode,
Set<QName> supportedFeatures)
Creates a new effective schema context containing the specified YANG source.
|
static SchemaContext |
YangParserTestUtils.parseYangResourceDirectory(String resourcePath,
Set<QName> supportedFeatures)
Creates a new effective schema context containing the specified YANG sources.
|
static SchemaContext |
YangParserTestUtils.parseYangResourceDirectory(String resourcePath,
Set<QName> supportedFeatures,
StatementParserMode parserMode)
Creates a new effective schema context containing the specified YANG sources.
|
static SchemaContext |
YangParserTestUtils.parseYangResources(List<String> yangDirs,
List<String> yangFiles,
Set<QName> supportedFeatures)
Creates a new effective schema context containing the specified YANG sources.
|
static SchemaContext |
YangParserTestUtils.parseYangResources(List<String> yangResourceDirs,
List<String> yangResources,
Set<QName> supportedFeatures,
StatementParserMode statementParserMode)
Creates a new effective schema context containing the specified YANG sources.
|
static SchemaContext |
YangParserTestUtils.parseYangSources(StatementParserMode parserMode,
Set<QName> supportedFeatures,
YangTextSchemaSource... sources) |
Modifier and Type | Method and Description |
---|---|
QName |
YangBooleanConstantExpr.getIdentifier() |
QName |
YangFunction.getIdentifier() |
abstract QName |
YangFunctionCallExpr.getName() |
QName |
YangQNameExpr.getQName() |
QName |
YangLocationPath.QNameStep.getQName() |
QName |
YangVariableReferenceExpr.getVariableName() |
QName |
YangXPathExpression.interpretAsQName(YangLiteralExpr expr)
Attempt to interpret a
YangLiteralExpr referenced by this expression as a QName . |
Modifier and Type | Method and Description |
---|---|
YangLocationPath.QNameStep |
YangXPathAxis.asStep(QName qname,
Collection<YangExpr> predicates) |
static YangVariableReferenceExpr |
YangVariableReferenceExpr.of(QName variableName) |
static YangQNameExpr |
YangQNameExpr.of(QName qname) |
static YangFunctionCallExpr |
YangFunctionCallExpr.of(QName name) |
static YangFunctionCallExpr |
YangFunctionCallExpr.of(QName name,
List<YangExpr> arguments) |
Copyright © 2019 OpenDaylight. All rights reserved.