public class TemplateBasedNeedProducer extends AbstractNeedProducerWrapper
| Constructor and Description |
|---|
TemplateBasedNeedProducer() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.jena.query.Dataset |
create()
Returns a new Model that represents the created need or null if no more needs can be created.
|
org.springframework.core.io.Resource |
getTemplate() |
void |
initialize()
Opens the template and tries to read a jena Model from it.
|
void |
setTemplate(org.springframework.core.io.Resource template) |
getWrappedProducer, isExhausted, setWrappedProducerpublic org.apache.jena.query.Dataset create()
NeedProducercreate in interface NeedProducercreate in class AbstractNeedProducerWrapperpublic void initialize()
public org.springframework.core.io.Resource getTemplate()
public void setTemplate(org.springframework.core.io.Resource template)
Copyright © 2018. All Rights Reserved.