public interface AbstractPatternModelFactory
| Modifier and Type | Method and Description |
|---|---|
PatternConstraintSystem |
createConstraintSystem() |
InstantiatedPatternModel |
createInstantiatedPatternModel(PatternModel patternModel,
RuntimeExceptionHandler handler) |
PatternModel |
createPatternModel(OPPLScript opplScript)
Builds a PatternModel instance starting from the input opplScript
|
PatternModel |
createPatternModel(String name,
List<Variable<?>> variables,
List<org.semanticweb.owlapi.model.OWLAxiomChange> actions,
Variable<?> returnClause,
String rendering,
ConstraintSystem constraintSystem)
Creates a PatternModel using the input (name, variables, actions, return
value, rendering, and constraint system) returnClause can be
null
variables and actions must be non empty Lists |
OPPLAbstractFactory |
getOPPLFactory() |
PatternExtractor |
getPatternExtractor(ErrorListener errorListener)
Retrieves a PatternExtractor for extracting patterns from annotations.
|
PatternExtractor |
getPatternExtractor(Set<org.semanticweb.owlapi.model.OWLAnnotation> visitedAnnotations,
ErrorListener errorListener)
Retrieves a PatternExtractor that takes into account already visited
patterns.
|
ManchesterSyntaxRenderer |
getRenderer(PatternConstraintSystem patternConstraintSystem) |
PatternModel createPatternModel(String name, List<Variable<?>> variables, List<org.semanticweb.owlapi.model.OWLAxiomChange> actions, Variable<?> returnClause, String rendering, ConstraintSystem constraintSystem) throws EmptyVariableListException, EmptyActionListException, UnsuitableOPPLScriptException
null
variables and actions must be non empty Listsname - namevariables - variablesactions - actionsreturnClause - returnClauserendering - renderingconstraintSystem - constraintSystemEmptyVariableListException - EmptyVariableListExceptionEmptyActionListException - EmptyActionListExceptionUnsuitableOPPLScriptException - UnsuitableOPPLScriptExceptionPatternModel createPatternModel(OPPLScript opplScript) throws UnsuitableOPPLScriptException
opplScript - opplScriptUnsuitableOPPLScriptException - when the input OPPLScript is not suitable for creating a
pattern model out of itInstantiatedPatternModel createInstantiatedPatternModel(PatternModel patternModel, RuntimeExceptionHandler handler)
patternModel - patternModelhandler - handlerPatternExtractor getPatternExtractor(ErrorListener errorListener)
errorListener - The error listener cannot be null.NullPointerException - if the input is null.PatternExtractor getPatternExtractor(Set<org.semanticweb.owlapi.model.OWLAnnotation> visitedAnnotations, ErrorListener errorListener)
visitedAnnotations - The annotations containing already visited patterns as their
values. Cannot be null.errorListener - The error listener. Cannot be null.NullPointerException - if either input is null.PatternConstraintSystem createConstraintSystem()
ManchesterSyntaxRenderer getRenderer(PatternConstraintSystem patternConstraintSystem)
patternConstraintSystem - patternConstraintSystemOPPLAbstractFactory getOPPLFactory()
Copyright © 2015 The University of Manchester. All Rights Reserved.