Class ProcessDataGetterAbstract
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.preprocessors.utils.ProcessDataGetterAbstract
-
- All Implemented Interfaces:
ProcessDataGetterN3
- Direct Known Subclasses:
ProcessClassGroupDataGetterN3,ProcessFixedHTMLN3,ProcessSearchIndividualsDataGetterN3,ProcessSparqlDataGetterN3
public abstract class ProcessDataGetterAbstract extends Object implements ProcessDataGetterN3
-
-
Field Summary
Fields Modifier and Type Field Description static StringclassTypeVarBaseprotected Map<String,List<org.apache.jena.rdf.model.Literal>>existingLiteralValuesprotected Map<String,List<String>>existingUriValues
-
Constructor Summary
Constructors Constructor Description ProcessDataGetterAbstract()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDataGetterVar(int counter)StringgetDataGetterVarName(int counter)StringgetN3VarName(String base, int counter)List<String>getNewResources(int counter)StringgetPrefixes()protected StringgetSparqlPrefix()StringgetVarName(String base, int counter)voidpopulateExistingClassType(String classType, int counter)voidpopulateExistingDataGetterURI(String dataGetterURI, int counter)StringreplaceEncodedQuotesWithEscapedQuotes(String inputStr)Map<String,List<org.apache.jena.rdf.model.Literal>>retrieveExistingLiteralValues()Map<String,List<String>>retrieveExistingUriValues()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.preprocessors.utils.ProcessDataGetterN3
getClassType, getExistingValuesJSON, getLiteralVarNamesBase, getUriVarNamesBase, populateExistingValues, retrieveFields, retrieveLiteralsOnForm, retrieveN3Optional, retrieveN3Required, retrieveUrisOnForm
-
-
-
-
Method Detail
-
getDataGetterVar
public String getDataGetterVar(int counter)
- Specified by:
getDataGetterVarin interfaceProcessDataGetterN3
-
getDataGetterVarName
public String getDataGetterVarName(int counter)
- Specified by:
getDataGetterVarNamein interfaceProcessDataGetterN3
-
getPrefixes
public String getPrefixes()
-
getVarName
public String getVarName(String base, int counter)
- Specified by:
getVarNamein interfaceProcessDataGetterN3
-
replaceEncodedQuotesWithEscapedQuotes
public String replaceEncodedQuotesWithEscapedQuotes(String inputStr)
- Specified by:
replaceEncodedQuotesWithEscapedQuotesin interfaceProcessDataGetterN3
-
getNewResources
public List<String> getNewResources(int counter)
- Specified by:
getNewResourcesin interfaceProcessDataGetterN3
-
getSparqlPrefix
protected String getSparqlPrefix()
-
retrieveExistingLiteralValues
public Map<String,List<org.apache.jena.rdf.model.Literal>> retrieveExistingLiteralValues()
- Specified by:
retrieveExistingLiteralValuesin interfaceProcessDataGetterN3
-
retrieveExistingUriValues
public Map<String,List<String>> retrieveExistingUriValues()
- Specified by:
retrieveExistingUriValuesin interfaceProcessDataGetterN3
-
populateExistingDataGetterURI
public void populateExistingDataGetterURI(String dataGetterURI, int counter)
-
populateExistingClassType
public void populateExistingClassType(String classType, int counter)
-
-