O - typepublic class PatternReference<O extends org.semanticweb.owlapi.model.OWLObject> extends Object implements OPPLFunction<O>
| Modifier and Type | Field and Description |
|---|---|
protected ErrorListener |
errorListener |
protected RuntimeExceptionHandler |
runtimeExceptionHandler |
| Constructor and Description |
|---|
PatternReference(String patternName,
PatternConstraintSystem constraintSystem,
Collection<? extends String> visitedPatterns,
ErrorListener errorListener,
List<Object>... args) |
PatternReference(String patternName,
PatternConstraintSystem constraintSystem,
ErrorListener errorListener,
List<Object>... args) |
protected final ErrorListener errorListener
protected final RuntimeExceptionHandler runtimeExceptionHandler
public PatternReference(String patternName, PatternConstraintSystem constraintSystem, ErrorListener errorListener, List<Object>... args) throws PatternException
patternName - patternNameconstraintSystem - constraintSystemerrorListener - errorListenerargs - argsPatternException - PatternExceptionpublic PatternReference(String patternName, PatternConstraintSystem constraintSystem, Collection<? extends String> visitedPatterns, ErrorListener errorListener, List<Object>... args) throws PatternException
patternName - patternNameconstraintSystem - constraintSystemvisitedPatterns - visitedPatternserrorListener - errorListenerargs - argsPatternException - PatternExceptionprotected void init(List<Object>... args) throws PatternException
PatternExceptionprotected List<List<Object>> computeReplacements(List<Object>... args)
args - argsprotected boolean isResolvable(List<Object>... args)
args - argsprotected void checkCompatibility(List<Object>... args) throws PatternException, IncompatibleArgumentException, InvalidNumebrOfArgumentException
args - argsPatternException - PatternExceptionIncompatibleArgumentException - IncompatibleArgumentExceptionInvalidNumebrOfArgumentException - InvalidNumebrOfArgumentExceptionpublic boolean isResolvable()
public List<org.semanticweb.owlapi.model.OWLObject> getResolution() throws PatternException
PatternException - PatternExceptionprotected boolean hasBeenVisited(org.semanticweb.owlapi.model.OWLEntity e)
protected Set<org.semanticweb.owlapi.model.OWLAnnotation> getVisitedAnnotations()
public InstantiatedPatternModel getInstantiation(RuntimeExceptionHandler handler) throws PatternException
handler - handlerPatternException - PatternExceptionpublic PatternModel getExtractedPattern()
public String getPatternName()
public PatternConstraintSystem getConstraintSystem()
public PatternConstraintSystem getPatternConstraintSystem()
public ErrorListener getErrorListener()
public String render(ConstraintSystem constraintSystem)
render in interface Renderablepublic String render(org.semanticweb.owlapi.util.ShortFormProvider shortFormProvider)
render in interface OPPLFunction<O extends org.semanticweb.owlapi.model.OWLObject>public O compute(ValueComputationParameters params)
compute in interface OPPLFunction<O extends org.semanticweb.owlapi.model.OWLObject>public void accept(OPPLFunctionVisitor visitor)
accept in interface OPPLFunction<O extends org.semanticweb.owlapi.model.OWLObject>public <P> P accept(OPPLFunctionVisitorEx<P> visitor)
accept in interface OPPLFunction<O extends org.semanticweb.owlapi.model.OWLObject>Copyright © 2015 The University of Manchester. All Rights Reserved.