public interface LeafSchemaContext extends SchemaContext
| Modifier and Type | Method and Description |
|---|---|
Object |
fromString(String value)
Returns object from string value of a leaf.
|
LeafObjectType |
getLeafObjectType()
Returns type of the leaf object.
|
<T extends LeafRestriction> |
getLeafRestrictions()
Returns the restrictions associated with leaf/leaf-list.
|
LeafType |
getLeafType(String value)
Returns type of the leaf.
|
YangNamespace |
getValueNamespace(String value)
Returns value namespace.
|
getParentContext, getSchemaId, getTypeLeafObjectType getLeafObjectType()
<T extends LeafRestriction> T getLeafRestrictions()
T - restriction typeObject fromString(String value)
value - leaf value in stringIllegalArgumentException - when input value is not as per the
schemaYangNamespace getValueNamespace(String value)
value - leaf value in stringLeafType getLeafType(String value) throws IllegalArgumentException
value - leaf value in stringIllegalArgumentException - when input value is not as per the
schemaCopyright © 2018. All rights reserved.