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