public abstract class JsonProducer extends Object
| Constructor and Description |
|---|
JsonProducer() |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
getVclassIds(VitroRequest vreq)
Get one or more "vclassId" parameters from the request.
|
protected VClass |
getVclassParameter(VitroRequest vreq)
Get the "vclassId" parameter from the request and instantiate the VClass.
|
protected com.fasterxml.jackson.databind.node.ArrayNode |
individualsToJson(List<Individual> individuals)
Process a list of Individuals into a JSON array that holds the Names and URIs.
|
protected com.fasterxml.jackson.databind.node.ArrayNode individualsToJson(List<Individual> individuals) throws javax.servlet.ServletException
javax.servlet.ServletExceptionprotected VClass getVclassParameter(VitroRequest vreq)
protected List<String> getVclassIds(VitroRequest vreq)
Copyright © 2022. All rights reserved.