public class DefaultYangSerializerContext extends Object implements YangSerializerContext
| Constructor and Description |
|---|
DefaultYangSerializerContext(org.onosproject.yang.model.SchemaContext c,
List<Annotation> a)
Creates an instance of YANG serializer context.
|
| Modifier and Type | Method and Description |
|---|---|
org.onosproject.yang.model.SchemaContext |
getContext()
Returns schema context of root node "/".
|
List<Annotation> |
getProtocolAnnotations()
Returns dependent annotations which are present as a part of protocol
specific information and YANG related data could have dependency on
the same.
|
public DefaultYangSerializerContext(org.onosproject.yang.model.SchemaContext c,
List<Annotation> a)
c - root's schema contexta - dependent annotationspublic org.onosproject.yang.model.SchemaContext getContext()
YangSerializerContextgetContext in interface YangSerializerContextpublic List<Annotation> getProtocolAnnotations()
YangSerializerContextgetProtocolAnnotations in interface YangSerializerContextCopyright © 2017. All rights reserved.