dfki.frodo.tools.rdf_schema_grapher
Class ModelProcessor
java.lang.Object
|
+--dfki.frodo.tools.rdf_schema_grapher.ModelProcessor
- public class ModelProcessor
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModelProcessor
public ModelProcessor(org.w3c.rdf.model.Model m,
Config config)
allStatements
public java.util.Collection allStatements()
- Liefert alle Statements (Aussagen) des aktuellen Modells.
getAbbreviatedURI
public java.lang.String getAbbreviatedURI(java.lang.String uri)
throws org.w3c.rdf.model.ModelException
- Extrahiert alle namespaces aus dem aktuellen Modell.
public Collection extractNamespaces() throws ModelException
{
Map namespacesAbbrevs = getNamespaceAbbreviations();
return( namespacesAbbrevs.keySet() );
}
getName
public java.lang.String getName(java.lang.String uri)
getNamespace
public java.lang.String getNamespace(java.lang.String uri)
getNamespaceAbbreviations
public java.util.Map getNamespaceAbbreviations()
throws org.w3c.rdf.model.ModelException