@Beta public final class ResourceYangTextSchemaSource extends YangTextSchemaSource implements Delegator<URL>
YinTextSchemaSource.| Modifier and Type | Method and Description |
|---|---|
protected com.google.common.base.MoreObjects.ToStringHelper |
addToStringAttributes(com.google.common.base.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, toStringpublic URL getDelegate()
DelegatorgetDelegate in interface Delegator<URL>protected com.google.common.base.MoreObjects.ToStringHelper addToStringAttributes(com.google.common.base.MoreObjects.ToStringHelper toStringHelper)
YangTextSchemaSourceYangTextSchemaSource.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 YangTextSchemaSourcetoStringHelper - ToStringHelper onto the attributes can be addedpublic InputStream openStream() throws IOException
openStream in class com.google.common.io.ByteSourceIOExceptionpublic Optional<String> getSymbolicName()
SchemaSourceRepresentationgetSymbolicName in interface SchemaSourceRepresentationCopyright © 2019 OpenDaylight. All rights reserved.