|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.smi.protegex.owl.ui.jena.OntPolicy
The RDF schema used to represent ont-polify files.
Field Summary | |
static com.hp.hpl.jena.rdf.model.Property |
ALT_URL
Represents the alternative local copy of the public ontology; assumed to be resolvable, hence URL not URI |
static com.hp.hpl.jena.rdf.model.Property |
CACHE_MODELS
Defines boolean policy choice of caching loaded models |
static com.hp.hpl.jena.rdf.model.Resource |
DOC_MGR_POLICY
rdf:type for document manager policy nodes |
static com.hp.hpl.jena.rdf.model.Property |
EDITABLE
Represents the standard prefix for this namespace |
static com.hp.hpl.jena.rdf.model.Property |
IGNORE_IMPORT
Specifies the URI of an ontology that we do not want to import, even if processImports is true. |
static com.hp.hpl.jena.rdf.model.Property |
LANGUAGE
Represents the ontology language used to encode the ontology |
static String |
NS
|
static com.hp.hpl.jena.rdf.model.Resource |
ONTOLOGY_SPEC
rdf:type for ontology specification nodes in meta-data file |
static com.hp.hpl.jena.rdf.model.Property |
PREFIX
Represents the standard prefix for this namespace |
static com.hp.hpl.jena.rdf.model.Property |
PROCESS_IMPORTS
Defines boolean policy choice of loading the imports closure |
static com.hp.hpl.jena.rdf.model.Property |
PUBLIC_URI
Represents the public URI of an ontology; also used to derive the namespace |
static com.hp.hpl.jena.rdf.model.Property |
USE_DECLARED_NS_PREFIXES
The policy property for including the pre-declared namespace prefixes in a model. |
private static com.hp.hpl.jena.rdf.model.Model |
vocab
|
Constructor Summary | |
OntPolicy()
|
Method Summary | |
static com.hp.hpl.jena.rdf.model.Resource |
createOntologySpec(com.hp.hpl.jena.rdf.model.Model model)
|
static String |
getAltURL(com.hp.hpl.jena.rdf.model.Resource ontologySpec,
edu.stanford.smi.protege.model.Project project)
|
static com.hp.hpl.jena.rdf.model.Resource |
getOntologySpec(com.hp.hpl.jena.rdf.model.Model model,
String publicURI)
|
static File |
getPossibleFilePath(edu.stanford.smi.protege.model.Project project)
|
static String |
getPrefix(com.hp.hpl.jena.rdf.model.Resource ontologySpec)
|
static String |
getPublicURL(com.hp.hpl.jena.rdf.model.Resource ontologySpec)
|
static String |
getRelativePhysicalFileName(com.hp.hpl.jena.rdf.model.Resource ontologySpec)
|
static boolean |
isEditable(com.hp.hpl.jena.rdf.model.Resource ontologySpec)
|
private static boolean |
isRelativeFileURL(String str)
|
static Iterator |
listOntologySpecs(com.hp.hpl.jena.rdf.model.Model model)
|
static com.hp.hpl.jena.rdf.model.Model |
loadOntPolicy(edu.stanford.smi.protege.model.Project project)
|
static com.hp.hpl.jena.rdf.model.Model |
loadOntPolicy(String path)
|
static void |
saveOntPolicyFile(com.hp.hpl.jena.rdf.model.Model model,
edu.stanford.smi.protege.model.Project project)
|
static void |
saveOntPolicyFile(com.hp.hpl.jena.rdf.model.Model model,
String path)
|
static boolean |
setAltURL(com.hp.hpl.jena.rdf.model.Resource ontologySpec,
String uri)
|
static void |
setEditable(com.hp.hpl.jena.rdf.model.Resource ontologySpec,
boolean value)
|
static void |
setPrefix(com.hp.hpl.jena.rdf.model.Resource ontologySpec,
String prefix)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final com.hp.hpl.jena.rdf.model.Model vocab
public static final String NS
public static final com.hp.hpl.jena.rdf.model.Resource ONTOLOGY_SPEC
public static final com.hp.hpl.jena.rdf.model.Property PUBLIC_URI
public static final com.hp.hpl.jena.rdf.model.Property ALT_URL
public static final com.hp.hpl.jena.rdf.model.Property EDITABLE
public static final com.hp.hpl.jena.rdf.model.Property PREFIX
public static final com.hp.hpl.jena.rdf.model.Property LANGUAGE
public static final com.hp.hpl.jena.rdf.model.Resource DOC_MGR_POLICY
public static final com.hp.hpl.jena.rdf.model.Property CACHE_MODELS
public static final com.hp.hpl.jena.rdf.model.Property PROCESS_IMPORTS
public static final com.hp.hpl.jena.rdf.model.Property IGNORE_IMPORT
public static final com.hp.hpl.jena.rdf.model.Property USE_DECLARED_NS_PREFIXES
Constructor Detail |
public OntPolicy()
Method Detail |
public static com.hp.hpl.jena.rdf.model.Resource createOntologySpec(com.hp.hpl.jena.rdf.model.Model model)
public static String getAltURL(com.hp.hpl.jena.rdf.model.Resource ontologySpec, edu.stanford.smi.protege.model.Project project)
public static String getRelativePhysicalFileName(com.hp.hpl.jena.rdf.model.Resource ontologySpec)
public static com.hp.hpl.jena.rdf.model.Resource getOntologySpec(com.hp.hpl.jena.rdf.model.Model model, String publicURI)
public static String getPrefix(com.hp.hpl.jena.rdf.model.Resource ontologySpec)
public static String getPublicURL(com.hp.hpl.jena.rdf.model.Resource ontologySpec)
public static File getPossibleFilePath(edu.stanford.smi.protege.model.Project project)
public static boolean isEditable(com.hp.hpl.jena.rdf.model.Resource ontologySpec)
private static boolean isRelativeFileURL(String str)
public static Iterator listOntologySpecs(com.hp.hpl.jena.rdf.model.Model model)
public static com.hp.hpl.jena.rdf.model.Model loadOntPolicy(edu.stanford.smi.protege.model.Project project)
public static com.hp.hpl.jena.rdf.model.Model loadOntPolicy(String path)
public static void saveOntPolicyFile(com.hp.hpl.jena.rdf.model.Model model, edu.stanford.smi.protege.model.Project project) throws Exception
Exception
public static void saveOntPolicyFile(com.hp.hpl.jena.rdf.model.Model model, String path) throws Exception
Exception
public static boolean setAltURL(com.hp.hpl.jena.rdf.model.Resource ontologySpec, String uri)
public static void setEditable(com.hp.hpl.jena.rdf.model.Resource ontologySpec, boolean value)
public static void setPrefix(com.hp.hpl.jena.rdf.model.Resource ontologySpec, String prefix)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |