Class StringYangTextSource
java.lang.Object
com.google.common.io.CharSource
org.opendaylight.yangtools.yang.model.api.source.YangTextSource
org.opendaylight.yangtools.yang.model.spi.source.StringYangTextSource
- All Implemented Interfaces:
Delegator<String>,Immutable,SourceRepresentation,YangSourceRepresentation
A
YangTextSource with content readily available.-
Constructor Summary
ConstructorsConstructorDescriptionStringYangTextSource(SourceIdentifier sourceId, String content) StringYangTextSource(SourceIdentifier sourceId, String content, @Nullable String symbolicName) -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringfinal Readerfinal SourceIdentifiersourceId()final StringMethods inherited from class org.opendaylight.yangtools.yang.model.api.source.YangTextSource
addToStringAttributes, getType, toStringMethods inherited from class com.google.common.io.CharSource
asByteSource, concat, concat, concat, copyTo, copyTo, empty, forEachLine, isEmpty, length, lengthIfKnown, lines, openBufferedStream, read, readFirstLine, readLines, readLines, wrap
-
Constructor Details
-
StringYangTextSource
-
StringYangTextSource
public StringYangTextSource(SourceIdentifier sourceId, String content, @Nullable String symbolicName)
-
-
Method Details
-
symbolicName
-
openStream
- Specified by:
openStreamin classcom.google.common.io.CharSource
-
sourceId
- Specified by:
sourceIdin interfaceSourceRepresentation
-
getDelegate
- Specified by:
getDelegatein interfaceDelegator<T>
-