public class Test_W3Tests extends Object
| Constructor and Description |
|---|
Test_W3Tests() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cleanup() |
void |
expandAllClasses(Set<gate.creole.ontology.OClass> classes,
Set<gate.creole.ontology.ONodeID> allIDs,
int depth) |
protected static File |
getUniqueTmpDir() |
protected gate.creole.ontology.OURI |
getURI(gate.creole.ontology.Ontology o,
String uri) |
protected gate.creole.ontology.OURI |
getURI4Name(gate.creole.ontology.Ontology o,
String uri) |
static void |
init() |
gate.creole.ontology.Ontology |
loadOntology(String relativePath) |
Set<gate.creole.ontology.OURI> |
rset2uset(Set<? extends gate.creole.ontology.OResource> set) |
void |
testAPI01() |
public static void init()
throws gate.util.GateException,
MalformedURLException
gate.util.GateExceptionMalformedURLExceptionpublic void testAPI01()
throws MalformedURLException,
gate.creole.ResourceInstantiationException
MalformedURLExceptiongate.creole.ResourceInstantiationExceptionpublic Set<gate.creole.ontology.OURI> rset2uset(Set<? extends gate.creole.ontology.OResource> set)
public gate.creole.ontology.Ontology loadOntology(String relativePath) throws MalformedURLException, gate.creole.ResourceInstantiationException
MalformedURLExceptiongate.creole.ResourceInstantiationExceptionpublic void expandAllClasses(Set<gate.creole.ontology.OClass> classes, Set<gate.creole.ontology.ONodeID> allIDs, int depth)
protected static File getUniqueTmpDir()
protected gate.creole.ontology.OURI getURI(gate.creole.ontology.Ontology o,
String uri)
protected gate.creole.ontology.OURI getURI4Name(gate.creole.ontology.Ontology o,
String uri)