Modifier and Type | Field and Description |
---|---|
static QNameModule |
OpenDaylightExtensionsConstants.ORIGINAL_MODULE
Runtime baseline identity.
|
Modifier and Type | Field and Description |
---|---|
static QNameModule |
OpenConfigConstants.ENCRYPTED_VALUE_MODULE
Runtime identity of model which exposed encrypted-value.
|
static QNameModule |
OpenConfigConstants.HASHED_VALUE_MODULE
Runtime identity of model which exposed encrypted-value.
|
static QNameModule |
OpenConfigConstants.SEMVER_MODULE
Runtime identity of initial model.
|
Modifier and Type | Field and Description |
---|---|
static QNameModule |
NACMConstants.RFC6536_MODULE
Runtime RFC6536 identity.
|
Modifier and Type | Field and Description |
---|---|
static QNameModule |
MetadataConstants.RFC7952_MODULE
Runtime RFC7952 identity.
|
Modifier and Type | Field and Description |
---|---|
static QNameModule |
YangDataConstants.RFC8040_MODULE
Runtime RFC8040 identity.
|
Modifier and Type | Method and Description |
---|---|
static NormalizedNodeStreamWriter |
QNameTransformingStreamWriter.createQNameModuleReplacing(NormalizedNodeStreamWriter delegate,
Map<QNameModule,QNameModule> mapping)
Returns decorator, which uses supplied map to transform QNameModules.
|
static NormalizedNodeStreamWriter |
QNameTransformingStreamWriter.createQNameModuleReplacing(NormalizedNodeStreamWriter delegate,
Map<QNameModule,QNameModule> mapping)
Returns decorator, which uses supplied map to transform QNameModules.
|
Modifier and Type | Field and Description |
---|---|
static QNameModule |
YangConstants.RFC6020_YANG_MODULE
Base QNameModule for all YANG statements.
|
static QNameModule |
YangConstants.RFC6020_YIN_MODULE
Base QNameModule for all YIN statements.
|
Modifier and Type | Method and Description |
---|---|
static @NonNull QNameModule |
QNameModule.create(URI namespace)
Create a new QName module instance with specified namespace and no revision.
|
static @NonNull QNameModule |
QNameModule.create(URI namespace,
Optional<Revision> revision)
Create a new QName module instance with specified namespace/revision.
|
static @NonNull QNameModule |
QNameModule.create(URI namespace,
@Nullable Revision revision)
Create a new QName module instance with specified namespace/revision.
|
@NonNull QNameModule |
QName.getModule()
Get the module component of the QName.
|
@NonNull QNameModule |
QNameModule.intern()
Return an interned reference to a equivalent QNameModule.
|
static @NonNull QNameModule |
QNameModule.readFrom(DataInput in)
Read a QNameModule from a DataInput.
|
@NonNull QNameModule |
QNameModule.withoutRevision()
Returns a QNameModule with the same namespace, but with no revision.
|
Modifier and Type | Method and Description |
---|---|
int |
QNameModule.compareTo(QNameModule o) |
static @NonNull QName |
QName.create(QNameModule qnameModule,
String localName)
Creates new 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 . |
@NonNull QName |
QName.withModule(QNameModule newModule)
Returns a QName with the specified QNameModule and the same localname as this one.
|
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Converter<String,QNameModule> |
PrefixConverters.create(SchemaContext ctx,
Module module)
Create a prefix
Converter for XPathExpressionException defined in a particular YANG
Module .Instantiation requires establishing how a module's imports are mapped to actual modules
and their namespaces. |
Modifier and Type | Method and Description |
---|---|
protected org.opendaylight.yangtools.yang.data.codec.gson.JSONCodec<?> |
JSONCodecFactory.identityRefCodec(IdentityrefTypeDefinition type,
QNameModule module) |
Modifier and Type | Method and Description |
---|---|
protected org.opendaylight.yangtools.yang.data.codec.xml.XmlCodec<?> |
XmlCodecFactory.identityRefCodec(IdentityrefTypeDefinition type,
QNameModule module) |
Modifier and Type | Method and Description |
---|---|
QNameModule |
SimpleQNameWithPredicate.getModuleQname() |
QNameModule |
QNameWithPredicate.getModuleQname() |
Modifier and Type | Field and Description |
---|---|
protected QNameModule |
ModuleStringIdentityrefCodec.parentModuleQname |
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.
|
Constructor and Description |
---|
ModuleStringIdentityrefCodec(@NonNull SchemaContext context,
@NonNull QNameModule parentModule) |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
AbstractCodecFactory.identityRefCodec(IdentityrefTypeDefinition type,
QNameModule module) |
Modifier and Type | Method and Description |
---|---|
static QName |
QNameCodecUtil.decodeQName(String str,
Function<String,QNameModule> prefixToModule) |
static String |
QNameCodecUtil.encodeQName(QName qname,
Function<QNameModule,String> moduleToPrefix) |
static IdentitySchemaNode |
IdentityCodecUtil.parseIdentity(String value,
SchemaContext schemaContext,
Function<String,QNameModule> prefixToModule)
Parse a string into a QName using specified prefix-to-QNameModule mapping function, interpreting the result
as an IdentitySchemaNode existing in specified SchemaContext.
|
Modifier and Type | Method and Description |
---|---|
QNameModule |
Module.getQNameModule()
Returns a
QNameModule , which contains the namespace and
the revision of the module. |
Modifier and Type | Method and Description |
---|---|
Optional<Module> |
SchemaContext.findModule(@NonNull QNameModule qnameModule)
Returns the module matching specified
QNameModule , if present. |
Modifier and Type | Method and Description |
---|---|
@NonNull QNameModule |
ModuleEffectiveStatement.localQNameModule()
Get the local QNameModule of this module.
|
Modifier and Type | Method and Description |
---|---|
ModuleBuilder |
ModuleBuilder.qNameModule(QNameModule qNameModule)
Initializes the value for the
qNameModule attribute. |
Modifier and Type | Method and Description |
---|---|
default Map<QNameModule,ModuleEffectiveStatement> |
YangParser.buildEffectiveModel()
Build the effective view of a combined view of effective statements.
|
Modifier and Type | Method and Description |
---|---|
Optional<com.google.common.collect.SetMultimap<QNameModule,QNameModule>> |
SchemaContextFactoryConfiguration.getModulesDeviatedByModules() |
Optional<com.google.common.collect.SetMultimap<QNameModule,QNameModule>> |
SchemaContextFactoryConfiguration.getModulesDeviatedByModules() |
Modifier and Type | Method and Description |
---|---|
protected Map<QNameModule,Module> |
FilteringSchemaContextProxy.getModuleMap() |
protected abstract Map<QNameModule,Module> |
AbstractSchemaContext.getModuleMap()
Returns the namespace+revision-to-module mapping.
|
protected Map<QNameModule,Module> |
SimpleSchemaContext.getModuleMap() |
Modifier and Type | Method and Description |
---|---|
Optional<Module> |
AbstractSchemaContext.findModule(QNameModule qnameModule) |
Modifier and Type | Method and Description |
---|---|
Collection<SchemaNodeIdentifier> |
KeyStatementSupport.adaptArgumentValue(StmtContext<Collection<SchemaNodeIdentifier>,KeyStatement,EffectiveStatement<Collection<SchemaNodeIdentifier>,KeyStatement>> ctx,
QNameModule targetModule) |
Modifier and Type | Field and Description |
---|---|
static NamespaceBehaviour<QNameModule,StmtContext<?,ModuleStatement,ModuleEffectiveStatement>,NamespaceToModule> |
NamespaceToModule.BEHAVIOUR |
Modifier and Type | Method and Description |
---|---|
static QNameModule |
StmtContextUtils.getModuleQNameByPrefix(StmtContext<?,?,?> ctx,
String prefix) |
static QNameModule |
StmtContextUtils.getRootModuleQName(StmtContext<?,?,?> ctx) |
Modifier and Type | Method and Description |
---|---|
default A |
StatementSupport.adaptArgumentValue(StmtContext<A,D,E> ctx,
QNameModule targetModule)
Adapts the argument value to match a new module.
|
QName |
AbstractQNameStatementSupport.adaptArgumentValue(StmtContext<QName,D,E> ctx,
QNameModule targetModule) |
<X,Y extends DeclaredStatement<X>,Z extends EffectiveStatement<X,Y>> |
StmtContext.Mutable.childCopyOf(StmtContext<X,Y,Z> stmt,
CopyType type,
@Nullable QNameModule targetModule)
Create a child sub-statement, which is a child of this statement, inheriting all attributes from specified
child and recording copy type.
|
Modifier and Type | Field and Description |
---|---|
static NamespaceBehaviour<ModulesDeviatedByModules.SupportedModules,com.google.common.collect.SetMultimap<QNameModule,QNameModule>,ModulesDeviatedByModules> |
ModulesDeviatedByModules.BEHAVIOUR |
static NamespaceBehaviour<ModulesDeviatedByModules.SupportedModules,com.google.common.collect.SetMultimap<QNameModule,QNameModule>,ModulesDeviatedByModules> |
ModulesDeviatedByModules.BEHAVIOUR |
static NamespaceBehaviour<QNameModule,String,ModuleQNameToModuleName> |
ModuleQNameToModuleName.BEHAVIOUR |
static NamespaceBehaviour<String,QNameModule,ModuleNameToModuleQName> |
ModuleNameToModuleQName.BEHAVIOUR |
static NamespaceBehaviour<StmtContext<?,?,?>,QNameModule,ModuleCtxToModuleQName> |
ModuleCtxToModuleQName.BEHAVIOUR |
static NamespaceBehaviour<String,QNameModule,PrefixToModule> |
PrefixToModule.BEHAVIOUR |
Modifier and Type | Method and Description |
---|---|
QNameModule |
PrefixToModuleMap.get(String prefix) |
QNameModule |
PrefixToModule.get(String prefix)
Returns QNameModule (namespace + revision) associated with supplied
prefix.
|
QNameModule |
PrefixToModuleMap.getByNamespace(String namespace) |
@Nullable QNameModule |
PrefixToModule.getByNamespace(String namespace)
Returns QNameModule (namespace + revision) associated with XML namespace (URI).
|
Modifier and Type | Method and Description |
---|---|
void |
PrefixToModuleMap.put(String prefix,
QNameModule module) |
Modifier and Type | Method and Description |
---|---|
A |
StatementDefinitionContext.adaptArgumentValue(StmtContext<A,D,E> context,
QNameModule targetModule) |
<X,Y extends DeclaredStatement<X>,Z extends EffectiveStatement<X,Y>> |
StatementContextBase.childCopyOf(StmtContext<X,Y,Z> stmt,
CopyType type,
QNameModule targetModule) |
Modifier and Type | Method and Description |
---|---|
QNameModule |
YangLocationPath.NamespaceStep.getNamespace() |
Modifier and Type | Method and Description |
---|---|
default YangXPathParser |
YangXPathParserFactory.newParser(Function<String,QNameModule> prefixResolver)
Return a
YangXPathParser compliant with YangXPathParserFactory.MathMode.IEEE754 . |
YangXPathParser |
YangXPathParserFactory.newParser(Function<String,QNameModule> prefixResolver,
YangXPathParserFactory.MathMode mathMode)
Return a
YangXPathParser compliant with YangXPathParserFactory.MathMode . |
Copyright © 2019 OpenDaylight. All rights reserved.