Class CustomFormNode
java.lang.Object
it.uniroma2.art.semanticturkey.customform.CustomForm
it.uniroma2.art.semanticturkey.customform.CustomFormNode
-
Nested Class Summary
Nested classes/interfaces inherited from class it.uniroma2.art.semanticturkey.customform.CustomForm
CustomForm.Types
-
Field Summary
Fields inherited from class it.uniroma2.art.semanticturkey.customform.CustomForm
PREFIX
-
Method Summary
Modifier and TypeMethodDescriptiongetForm
(it.uniroma2.art.coda.core.CODACore codaCore) Parse the CODA rule contained in theref
tag and build a map of <userPrompt, type> pairs, whereuserPrompt
is a field of theuserPrompt/
feature path andtype
is the converter used for that feature.Methods inherited from class it.uniroma2.art.semanticturkey.customform.CustomForm
asCustomFormGraph, asCustomFormNode, equals, getDescription, getId, getLevel, getName, getRef, getType, isTypeGraph, isTypeNode, save, setDescription, setId, setLevel, setName, setRef
-
Method Details
-
getForm
public Collection<UserPromptStruct> getForm(it.uniroma2.art.coda.core.CODACore codaCore) throws it.uniroma2.art.coda.exception.parserexception.PRParserException Description copied from class:CustomForm
Parse the CODA rule contained in theref
tag and build a map of <userPrompt, type> pairs, whereuserPrompt
is a field of theuserPrompt/
feature path andtype
is the converter used for that feature.- Specified by:
getForm
in classCustomForm
- Parameters:
codaCore
- an instance ofCODACore
already initialized- Returns:
- Throws:
it.uniroma2.art.coda.exception.parserexception.PRParserException
-