|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvs.fabula.FabulaFactory
public class FabulaFactory
Factory class for the construction of fabula elements. Deals with filling in individual name and OWL class of the fabula elements, so that this happens in a unified and centralized place.
| Nested Class Summary | |
|---|---|
static class |
FabulaFactory.Outcome
|
| Constructor Summary | |
|---|---|
FabulaFactory()
|
|
| Method Summary | |
|---|---|
static StoryAction |
createAction(java.lang.String prologString,
java.lang.String characterURI)
Create Action fabula element |
static StoryEvent |
createEvent(java.lang.String prologString,
java.lang.String characterURI)
Create Event fabula element |
static GoalSchema |
createGoalSchema(java.lang.String prologString,
java.lang.String characterURI)
Create Goal fabula element |
static StoryPerception |
createPerception(java.lang.String characterURI,
jade.util.leap.List contentTriple,
jade.util.leap.List contentFabula)
Create Perception fabula element |
static StorySettingElement |
createSettingElement(java.lang.String characterURI,
jade.util.leap.List contentTriple,
jade.util.leap.List contentFabula)
Create setting fabula element |
static StoryBelief |
createStoryBelief(java.lang.String characterURI,
jade.util.leap.List contentTriple,
jade.util.leap.List contentFabula)
Create BeliefElement fabula element |
static StoryOutcome |
createStoryOutcome(FabulaFactory.Outcome outcome,
java.lang.String characterURI)
Create Outcome fabula element |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FabulaFactory()
| Method Detail |
|---|
public static StoryAction createAction(java.lang.String prologString,
java.lang.String characterURI)
prologString - the description of the action in Prolog, i.e. the head of its instantiated schemacharacterURI - character of the action
public static StoryEvent createEvent(java.lang.String prologString,
java.lang.String characterURI)
prologString - the description of the action in Prolog, i.e. the head of its instantiated schemacharacterURI - character of the event
public static GoalSchema createGoalSchema(java.lang.String prologString,
java.lang.String characterURI)
prologString - prolog representation of goal schemacharacterURI - character of this Goal
public static StoryPerception createPerception(java.lang.String characterURI,
jade.util.leap.List contentTriple,
jade.util.leap.List contentFabula)
characterURI - character of the perceptioncontentTriple - list of triples that are contained in this perceptioncontentFabula - list of fabula elements contained in this perception
public static StorySettingElement createSettingElement(java.lang.String characterURI,
jade.util.leap.List contentTriple,
jade.util.leap.List contentFabula)
characterURI - character of the settingcontentTriple - list of triples that are contained in this settingcontentFabula - list of fabula elements contained in this setting
public static StoryBelief createStoryBelief(java.lang.String characterURI,
jade.util.leap.List contentTriple,
jade.util.leap.List contentFabula)
characterURI - character of the beliefcontentTriple - list of triples that are contained in this beliefcontentFabula - list of fabula elements contained in this belief
public static StoryOutcome createStoryOutcome(FabulaFactory.Outcome outcome,
java.lang.String characterURI)
outcome - what kind of outcome to create (success, failure, etc)characterURI - character of the Outcome
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||