Interface YinXmlSource
- All Superinterfaces:
Immutable
,SourceRepresentation
,YinSourceRepresentation
- All Known Implementing Classes:
YinDomSource
YIN text schema source representation. Exposes an RFC6020 or RFC7950 XML representation as an XML
Source
.-
Method Summary
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.source.SourceRepresentation
sourceId, symbolicName
-
Method Details
-
getType
Class<? extends YinXmlSource> getType()Description copied from interface:SourceRepresentation
Return the concrete representation type.- Specified by:
getType
in interfaceSourceRepresentation
- Specified by:
getType
in interfaceYinSourceRepresentation
- Returns:
- The type of representation.
-
getSource
@NonNull Source getSource()Return an XMLSource
of the YIN document.- Returns:
- An XML
Source
instance.
-