edu.stanford.smi.protegex.owl.ui.code
Class OWLResourceNameMatcher
java.lang.Object
edu.stanford.smi.protegex.owl.ui.code.OWLResourceNameMatcher
- All Implemented Interfaces:
- ResourceNameMatcher
- Direct Known Subclasses:
- SWRLResourceNameMatcher
public class OWLResourceNameMatcher
- extends Object
- implements ResourceNameMatcher
- Author:
- Holger Knublauch
Method Summary |
static void |
addMatchingRDFIndividuals(String prefix,
Set<RDFResource> result,
OWLModel owlModel)
|
static void |
addMatchingRDFProperties(String prefix,
Set<RDFResource> result,
OWLModel owlModel)
|
static void |
addMatchingRDFSNamedClasses(String prefix,
Set<RDFResource> result,
OWLModel owlModel)
|
protected boolean |
couldBeClass(OWLModel owlModel,
String prefix)
|
protected boolean |
couldBeDatatype(OWLModel owlModel,
String prefix)
|
protected boolean |
couldBeIndividual(OWLModel owlModel,
String prefix)
|
protected boolean |
couldBeProperty(OWLModel owlModel,
String prefix)
|
String |
getInsertString(RDFResource resource)
|
static void |
getMatchingDatatypeNames(String prefix,
Set<RDFResource> result,
OWLModel owlModel)
|
Set<RDFResource> |
getMatchingResources(String prefix,
String leftString,
OWLModel owlModel)
|
protected boolean |
isFilteredOutResource(RDFResource resource)
|
boolean |
isIdChar(char ch)
|
protected static boolean |
isVisible(edu.stanford.smi.protege.model.Frame frame)
|
protected void |
removeFilteredElements(Set<RDFResource> frames,
List<Class<? extends RDFResource>> classes)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCALABLE_FRAME_COUNT
public static final int SCALABLE_FRAME_COUNT
- See Also:
- Constant Field Values
OWLResourceNameMatcher
public OWLResourceNameMatcher()
getInsertString
public String getInsertString(RDFResource resource)
- Specified by:
getInsertString
in interface ResourceNameMatcher
getMatchingResources
public Set<RDFResource> getMatchingResources(String prefix,
String leftString,
OWLModel owlModel)
- Specified by:
getMatchingResources
in interface ResourceNameMatcher
couldBeClass
protected boolean couldBeClass(OWLModel owlModel,
String prefix)
couldBeIndividual
protected boolean couldBeIndividual(OWLModel owlModel,
String prefix)
couldBeProperty
protected boolean couldBeProperty(OWLModel owlModel,
String prefix)
couldBeDatatype
protected boolean couldBeDatatype(OWLModel owlModel,
String prefix)
addMatchingRDFSNamedClasses
public static void addMatchingRDFSNamedClasses(String prefix,
Set<RDFResource> result,
OWLModel owlModel)
addMatchingRDFProperties
public static void addMatchingRDFProperties(String prefix,
Set<RDFResource> result,
OWLModel owlModel)
addMatchingRDFIndividuals
public static void addMatchingRDFIndividuals(String prefix,
Set<RDFResource> result,
OWLModel owlModel)
getMatchingDatatypeNames
public static void getMatchingDatatypeNames(String prefix,
Set<RDFResource> result,
OWLModel owlModel)
isIdChar
public boolean isIdChar(char ch)
- Specified by:
isIdChar
in interface ResourceNameMatcher
removeFilteredElements
protected void removeFilteredElements(Set<RDFResource> frames,
List<Class<? extends RDFResource>> classes)
isFilteredOutResource
protected boolean isFilteredOutResource(RDFResource resource)
isVisible
protected static boolean isVisible(edu.stanford.smi.protege.model.Frame frame)
Submit a bug report or feature request
Copyright (c) 1998-2009 Stanford University.