public abstract class SimpleAttributeProvider extends Object implements AttributeLoaderProvider
Constructor and Description |
---|
SimpleAttributeProvider() |
Modifier and Type | Method and Description |
---|---|
AttributeLoader<?> |
createAttributeLoader(AttributeSpec<?> attributeSpec,
AttributeContext context) |
protected <T> void |
registerCompositeLoader(AttributeSpec<T> spec,
AttributeLoader<T>... loaders) |
protected void |
registerLoader(AttributeLoader<?> loader) |
protected final void registerLoader(AttributeLoader<?> loader)
@SafeVarargs protected final <T> void registerCompositeLoader(AttributeSpec<T> spec, AttributeLoader<T>... loaders)
@Nullable public AttributeLoader<?> createAttributeLoader(AttributeSpec<?> attributeSpec, @NotNull AttributeContext context) throws StructureProviderException
createAttributeLoader
in interface AttributeLoaderProvider
StructureProviderException
Copyright © 2017 ALM Works. All Rights Reserved.