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.
|
static NormalizedNode<?,?> |
NormalizedNodeTransformations.replaceQNameModules(NormalizedNode<?,?> original,
Map<QNameModule,QNameModule> mapping)
Returns a
NormalizedNode with QNameModules replaced by supplied mapping. |
static NormalizedNode<?,?> |
NormalizedNodeTransformations.replaceQNameModules(NormalizedNode<?,?> original,
Map<QNameModule,QNameModule> mapping)
Returns a
NormalizedNode with QNameModules replaced by supplied mapping. |
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 QNameModule |
QNameModule.create(URI namespace,
Date revision)
Create a new QName module instance with specified namespace/revision.
|
QNameModule |
QName.getModule()
Get the module component of the QName.
|
QNameModule |
QNameModule.intern()
Return an interned reference to a equivalent QNameModule.
|
Modifier and Type | Method and Description |
---|---|
static 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 . |
QName |
QName.withModule(QNameModule newModule)
Creates copy of this with revision and prefix unset.
|
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 |
---|---|
XPathExpression |
XPathSchemaContext.compileExpression(SchemaPath schemaPath,
com.google.common.base.Converter<String,QNameModule> prefixes,
String xpath)
Compile an XPath expression for execution on
XPathDocument s produced by this context. |
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 |
---|---|
void |
XmlStreamUtils.writeValue(XMLStreamWriter writer,
SchemaNode schemaNode,
Object value,
QNameModule parent)
Deprecated.
|
void |
XmlStreamUtils.writeValue(XMLStreamWriter writer,
TypeDefinition<?> type,
Object value,
QNameModule parent)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
XmlStreamUtils.writeValue(XMLStreamWriter writer,
SchemaNode schemaNode,
Object value,
com.google.common.base.Optional<QNameModule> parent)
Deprecated.
Write a value into a XML stream writer.
|
void |
XmlStreamUtils.writeValue(XMLStreamWriter writer,
TypeDefinition<?> type,
Object value,
com.google.common.base.Optional<QNameModule> parent)
Deprecated.
Write a value into a XML stream writer.
|
Modifier and Type | Method and Description |
---|---|
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(SchemaContext context,
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 |
ModuleIdentifier.getQNameModule()
Returns a
QNameModule , which contains the namespace and
the revision of the 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 |
---|---|
QNameModule |
ModuleIdentifierImpl.getQNameModule() |
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 |
---|---|
StmtContext.Mutable<A,D,E> |
StmtContext.createCopy(QNameModule newQNameModule,
StatementContextBase<?,?,?> newParent,
CopyType typeOfCopy) |
static Collection<SchemaNodeIdentifier> |
StmtContextUtils.replaceModuleQNameForKey(StmtContext<Collection<SchemaNodeIdentifier>,KeyStatement,?> keyStmtCtx,
QNameModule newQNameModule) |
Modifier and Type | Method and Description |
---|---|
QNameModule |
PrefixToModule.get(String prefix)
Returns QNameModule (namespace + revision) associated with supplied
prefix.
|
QNameModule |
PrefixToModuleMap.get(String prefix) |
QNameModule |
PrefixToModule.getByNamespace(String namespace)
Returns QNameModule (namespace + revision) associated with XML namespace
(URI).
|
QNameModule |
PrefixToModuleMap.getByNamespace(String namespace) |
Modifier and Type | Method and Description |
---|---|
void |
PrefixToModuleMap.put(String prefix,
QNameModule qNameModule) |
Modifier and Type | Method and Description |
---|---|
StatementContextBase<A,D,E> |
RootStatementContext.createCopy(QNameModule newQNameModule,
StatementContextBase<?,?,?> newParent,
CopyType typeOfCopy) |
Modifier and Type | Method and Description |
---|---|
void |
CrossSourceStatementReactor.BuildAction.setModulesWithSupportedDeviations(Map<QNameModule,Set<QNameModule>> modulesDeviatedByModules)
Set YANG modules which can be deviated by specified modules during the parsing process.
|
void |
CrossSourceStatementReactor.BuildAction.setModulesWithSupportedDeviations(Map<QNameModule,Set<QNameModule>> modulesDeviatedByModules)
Set YANG modules which can be deviated by specified modules during the parsing process.
|
Modifier and Type | Method and Description |
---|---|
QNameModule |
SubmoduleEffectiveStatementImpl.getQNameModule() |
QNameModule |
ModuleEffectiveStatementImpl.getQNameModule() |
Copyright © 2018 OpenDaylight. All rights reserved.