@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, toString
public URL getDelegate()
Delegator
getDelegate
in interface Delegator<URL>
protected com.google.common.base.MoreObjects.ToStringHelper addToStringAttributes(com.google.common.base.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 com.google.common.io.ByteSource
IOException
public Optional<String> getSymbolicName()
SchemaSourceRepresentation
getSymbolicName
in interface SchemaSourceRepresentation
Copyright © 2019 OpenDaylight. All rights reserved.