Class StringYangTextSchemaSource
java.lang.Object
com.google.common.io.CharSource
org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource
org.opendaylight.yangtools.yang.model.repo.api.StringYangTextSchemaSource
- All Implemented Interfaces:
Identifiable<SourceIdentifier>
,Immutable
,SchemaSourceRepresentation
,YangSchemaSourceRepresentation
A
YangTextSchemaSource
with content readily available.-
Constructor Summary
ConstructorsConstructorDescriptionStringYangTextSchemaSource
(SourceIdentifier identifier, String content) StringYangTextSchemaSource
(SourceIdentifier identifier, String content, @Nullable String symbolicName) -
Method Summary
Methods inherited from class org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource
addToStringAttributes, delegateForByteSource, delegateForByteSource, delegateForCharSource, delegateForCharSource, forPath, forPath, forPath, forResource, forResource, forResource, forURL, forURL, getIdentifier, getType, identifierFromFilename, toString
Methods 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
-
StringYangTextSchemaSource
-
StringYangTextSchemaSource
public StringYangTextSchemaSource(SourceIdentifier identifier, String content, @Nullable String symbolicName)
-
-
Method Details
-
getSymbolicName
Description copied from interface:SchemaSourceRepresentation
Return the symbolic name, if available. This name has no semantic meaning beyond being useful for debugging by humans.- Returns:
- Symbolic name, if available
-
openStream
- Specified by:
openStream
in classCharSource
-