Class AbstractSchemaContextProvider
- java.lang.Object
-
- org.opendaylight.yangtools.yang.model.util.AbstractSchemaContextProvider
-
- All Implemented Interfaces:
SchemaContextProvider
- Direct Known Subclasses:
AbstractCodecFactory
,AbstractIdentifiableSchemaContextProvider
,EmptyMountPointContext
,ImmutableNormalizedAnydata
,LeafRefContext
@Beta @NonNullByDefault public abstract class AbstractSchemaContextProvider extends Object implements SchemaContextProvider
Utility superclass for classes returning a constantSchemaContext
.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractSchemaContextProvider(SchemaContext schemaContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MoreObjects.ToStringHelper
addToStringAttributes(MoreObjects.ToStringHelper helper)
SchemaContext
getSchemaContext()
Return theSchemaContext
attached to this object.String
toString()
-
-
-
Constructor Detail
-
AbstractSchemaContextProvider
protected AbstractSchemaContextProvider(SchemaContext schemaContext)
-
-
Method Detail
-
getSchemaContext
public final SchemaContext getSchemaContext()
Description copied from interface:SchemaContextProvider
Return theSchemaContext
attached to this object.- Specified by:
getSchemaContext
in interfaceSchemaContextProvider
- Returns:
- An SchemaContext instance.
-
addToStringAttributes
protected MoreObjects.ToStringHelper addToStringAttributes(MoreObjects.ToStringHelper helper)
-
-