| Constructor and Description |
|---|
OWLEntityCheckerScope(DisposableOWLEntityChecker owlEntityChecker,
EntityFinder entityFinder,
OWLEntityRenderer owlEntityRenderer) |
| Modifier and Type | Method and Description |
|---|---|
void |
define(Symbol symbol)
Defines a symbol inside this Scope.
|
void |
dispose()
Frees up resources used by this Scope
|
Set<Symbol> |
getAllSymbols()
Retrieves all the Symbol instances in this Scope
|
Set<Symbol> |
getAllSymbols(Type type)
Retrieves all the Symbol instances in this Scope whose tyoe is equal to
the input Type.
|
Scope |
getEnclosingScope()
Retrieves the Scope enclosing this.
|
EntityFinder |
getEntityFinder() |
DisposableOWLEntityChecker |
getOWLEntityChecker() |
OWLEntityRenderer |
getOWLEntityRenderer() |
String |
getScopeName()
Retrieves the name of the scope
|
Set<Symbol> |
match(String prefix)
Retrieves the set of Symbol instances whose name starts with the input
prefix.
|
Symbol |
resolve(String name)
Retrieves the symbol corresponding to the input name.
|
public OWLEntityCheckerScope(DisposableOWLEntityChecker owlEntityChecker, EntityFinder entityFinder, OWLEntityRenderer owlEntityRenderer)
owlEntityChecker - owlEntityCheckerentityFinder - entityFinderowlEntityRenderer - owlEntityRendererpublic void define(Symbol symbol)
Scopepublic Scope getEnclosingScope()
ScopegetEnclosingScope in interface Scopenull if this Scope
is the top-most (global) one.public String getScopeName()
ScopegetScopeName in interface Scopepublic Symbol resolve(String name)
Scopepublic Set<Symbol> match(String prefix)
Scopepublic DisposableOWLEntityChecker getOWLEntityChecker()
public EntityFinder getEntityFinder()
public OWLEntityRenderer getOWLEntityRenderer()
public Set<Symbol> getAllSymbols()
ScopegetAllSymbols in interface Scopepublic Set<Symbol> getAllSymbols(Type type)
ScopegetAllSymbols in interface Scopetype - . The Type of the Symbols to retrieve. Cannot be null.Copyright © 2015 The University of Manchester. All Rights Reserved.