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


Constructor Summary
ModelProcessor(org.w3c.rdf.model.Model m, Config config)
           
 
Method Summary
 java.util.Collection allStatements()
          Liefert alle Statements (Aussagen) des aktuellen Modells.
 java.lang.String getAbbreviatedURI(java.lang.String uri)
          Extrahiert alle namespaces aus dem aktuellen Modell.
 java.lang.String getName(java.lang.String uri)
           
 java.lang.String getNamespace(java.lang.String uri)
           
 java.util.Map getNamespaceAbbreviations()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelProcessor

public ModelProcessor(org.w3c.rdf.model.Model m,
                      Config config)
Method Detail

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