|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.nlp2rdf.webservice.NIFParameters
public class NIFParameters
User: Sebastian Hellmann See http://nlp2rdf.org/nif-1-0#toc-parameters A simple wrapper for the common options in NIF Services Almost fully implements
| Constructor Summary | |
|---|---|
NIFParameters(String text,
String prefix,
String output,
String uriRecipe,
String format,
com.hp.hpl.jena.ontology.OntModel inputModel,
Map<String,String> parameterMap)
|
|
| Method Summary | |
|---|---|
static Map<String,String> |
copyParameterMap(javax.servlet.http.HttpServletRequest httpServletRequest)
|
static String |
getDocumentation(String serviceUrl)
|
String |
getFormat()
|
com.hp.hpl.jena.ontology.OntModel |
getInputModel()
|
static NIFParameters |
getInstance(javax.servlet.http.HttpServletRequest httpServletRequest)
Factory method |
String |
getOutput()
|
Map<String,String> |
getParameterMap()
|
String |
getPrefix()
|
String |
getText()
|
String |
getUriRecipe()
|
static boolean |
isSet(String parameterName,
javax.servlet.http.HttpServletRequest hsr)
|
static boolean |
oneOf(String value,
String... possibleValues)
|
static String |
requiredParameter(String parameterName,
javax.servlet.http.HttpServletRequest hsr)
|
static String |
requiredParameter(String parameterName,
javax.servlet.http.HttpServletRequest hsr,
String... requiredValues)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NIFParameters(String text,
String prefix,
String output,
String uriRecipe,
String format,
com.hp.hpl.jena.ontology.OntModel inputModel,
Map<String,String> parameterMap)
| Method Detail |
|---|
public static NIFParameters getInstance(javax.servlet.http.HttpServletRequest httpServletRequest)
httpServletRequest -
public String toString()
toString in class Objectpublic String getText()
public com.hp.hpl.jena.ontology.OntModel getInputModel()
public Map<String,String> getParameterMap()
public String getPrefix()
public String getUriRecipe()
public String getFormat()
public String getOutput()
public static String requiredParameter(String parameterName,
javax.servlet.http.HttpServletRequest hsr)
public static String requiredParameter(String parameterName,
javax.servlet.http.HttpServletRequest hsr,
String... requiredValues)
public static String getDocumentation(String serviceUrl)
public static boolean oneOf(String value,
String... possibleValues)
public static boolean isSet(String parameterName,
javax.servlet.http.HttpServletRequest hsr)
public static Map<String,String> copyParameterMap(javax.servlet.http.HttpServletRequest httpServletRequest)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||