Overview | Package | Class | Tree | Deprecated | Index | Help
| Protégé-OWL 3.4 rc1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.stanford.smi.protegex.owl.model.triplestore
Class TripleWriterUtil

    java.lang.Object
      edu.stanford.smi.protegex.owl.model.triplestore.TripleWriterUtil

    public class TripleWriterUtil

extends Object

Author:
  Holger Knublauch

Constructor Summary
`TripleWriterUtil()`

Method Summary
`static void` | `writePrefixes(TripleWriter writer, OWLModel owlModel)` Writes all prefixes of a given OWLModel into a given TripleWriter.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### TripleWriterUtil

    public TripleWriterUtil()

Method Detail

### writePrefixes

    public static void writePrefixes(TripleWriter writer,
                                     OWLModel owlModel)
                              throws Exception

  Writes all prefixes of a given OWLModel into a given TripleWriter. This will iterate over the prefixes defined in the OWLModel's NamespaceManager and then call the corresponding write method to the writer. Note that this does not write the default namespace (which is typically required).

  Parameters:
    `writer` - the target writer
    `owlModel` - the OWLModel to get the prefixes from
  Throws:
    `Exception` - if the writer failed
  See Also:
    `TripleWriter.writePrefix(java.lang.String, java.lang.String)`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Protégé-OWL 3.4 rc1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Submit a bug report or feature request
Copyright (c) 1998-2009 Stanford University.