@Beta @NonNullByDefault @ThreadSafe public final class IdentityCodecUtil extends Object
Modifier and Type | Method and Description |
---|---|
static IdentitySchemaNode |
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.
|
public static IdentitySchemaNode parseIdentity(String value, SchemaContext schemaContext, Function<String,QNameModule> prefixToModule)
value
- string value to parseschemaContext
- Parent schema contextprefixToModule
- prefix-to-QNameModule mapping functionIllegalArgumentException
- if the value is invalid or does not refer to an existing identityCopyright © 2019 OpenDaylight. All rights reserved.