public class OpenTrialsXsltFunctions extends Object
| Constructor and Description |
|---|
OpenTrialsXsltFunctions() |
| Modifier and Type | Method and Description |
|---|---|
static List<eu.dnetlib.data.transform.xml.OpenTrialsXsltFunctions.JsonLocation> |
getLocations(String jsonLocationsList) |
static String |
getMainIdentifierURL(String jsonProvList)
Deprecated.
|
static String |
getNotPrimaryRecordUrl(String jsonRecordsList)
Parses a Json to get the list of the not primary url associated to the trial if any
|
static List<eu.dnetlib.data.transform.xml.OpenTrialsXsltFunctions.JsonOrganization> |
getOrganizations(String jsonOrganizationsList) |
static List<eu.dnetlib.data.transform.xml.OpenTrialsXsltFunctions.JsonPeople> |
getPeople(String jsonPeopleList) |
static String |
getPrimaryRecordIdentifier(String jsonRecordsList)
Parses a Json to get the id of the source associated to the primary record if any
|
static String |
getPrimaryRecordUrl(String jsonRecordsList)
Parses a Json to get the url item associated to the primary record if any
|
static String |
getPrincipalInvestigators(String jsonPeopleList)
Parses a Json to get the names of the principal investigators of the trial if any
|
static List<eu.dnetlib.data.transform.xml.OpenTrialsXsltFunctions.JsonProv> |
getProvs(String jsonProvList)
Deprecated.
|
static List<eu.dnetlib.data.transform.xml.OpenTrialsXsltFunctions.JsonRecord> |
getRecords(String jsonRecordsList) |
static String |
getTrialLocations(String jsonLocationsList)
Parses a Json to get the names of the locations where the trial take place if any
|
static String |
getTrialOrganizations(String jsonOrganizationList)
Parses a Json to get the names of the organizations supporting the trial if any
|
@Deprecated public static String getMainIdentifierURL(String jsonProvList)
jsonProvList - A json string in the following format: [{"url" : "theUrl", "sourceID" : "theSourceId", "sourceName" : "theSourceName"}]public static String getPrimaryRecordUrl(String jsonRecordsList)
jsonRecordsList - A json string in the format [{"source_id","theSourceId","source_url","theUrlOfTheTrialForThisSource", "is_primary","typeOfTheTrial")}]public static String getPrimaryRecordIdentifier(String jsonRecordsList)
jsonRecordsList - A json string in the format [{"source_id","theSourceId","source_url","theUrlOfTheTrialForThisSource", "is_primary","typeOfTheTrial")}]public static String getNotPrimaryRecordUrl(String jsonRecordsList)
jsonRecordsList - A json string in the format [{"source_id","theSourceId","source_url","theUrlOfTheTrialForThisSource", "is_primary","typeOfTheTrial")}]public static String getPrincipalInvestigators(String jsonPeopleList)
jsonPeopleList - A json string in the format [{"person_name", "thePersonName", "person_id","thePersonId", "person_role",thePersonRole)}]public static String getTrialOrganizations(String jsonOrganizationList)
jsonOrganizationList - A json string in the format [{"organization_name", "theOrganizationName", "organization_id","theOrganizationId", "organization_role",theOrganizationRole)}]public static String getTrialLocations(String jsonLocationsList)
jsonLocationsList - A json string in the format [{"location_name","theLocationName"}]@Deprecated public static List<eu.dnetlib.data.transform.xml.OpenTrialsXsltFunctions.JsonProv> getProvs(String jsonProvList)
public static List<eu.dnetlib.data.transform.xml.OpenTrialsXsltFunctions.JsonRecord> getRecords(String jsonRecordsList)
public static List<eu.dnetlib.data.transform.xml.OpenTrialsXsltFunctions.JsonPeople> getPeople(String jsonPeopleList)
public static List<eu.dnetlib.data.transform.xml.OpenTrialsXsltFunctions.JsonOrganization> getOrganizations(String jsonOrganizationsList)
Copyright © 2018. All rights reserved.