@Beta public final class ResourceYangTextSchemaSource extends YangTextSchemaSource implements Delegator<URL>
YinTextSchemaSource
.Modifier and Type | Method and Description |
---|---|
protected MoreObjects.ToStringHelper |
addToStringAttributes(MoreObjects.ToStringHelper toStringHelper)
Add subclass-specific attributes to the output
YangTextSchemaSource.toString() output. |
URL |
getDelegate()
Return underlying delegate.
|
Optional<String> |
getSymbolicName()
Return the symbolic name, if available.
|
InputStream |
openStream() |
delegateForByteSource, delegateForByteSource, forFile, forResource, forResource, getIdentifier, getType, identifierFromFilename, toString
asCharSource, concat, concat, concat, contentEquals, copyTo, copyTo, empty, hash, isEmpty, openBufferedStream, read, read, size, sizeIfKnown, slice, wrap
public URL getDelegate()
Delegator
getDelegate
in interface Delegator<URL>
protected MoreObjects.ToStringHelper addToStringAttributes(MoreObjects.ToStringHelper toStringHelper)
YangTextSchemaSource
YangTextSchemaSource.toString()
output. Since
subclasses are prevented from overriding YangTextSchemaSource.toString()
for consistency
reasons, they can add their specific attributes to the resulting string by attaching
attributes to the supplied MoreObjects.ToStringHelper
.addToStringAttributes
in class YangTextSchemaSource
toStringHelper
- ToStringHelper onto the attributes can be addedpublic InputStream openStream() throws IOException
openStream
in class ByteSource
IOException
public Optional<String> getSymbolicName()
SchemaSourceRepresentation
getSymbolicName
in interface SchemaSourceRepresentation
Copyright © 2019 OpenDaylight. All rights reserved.