org.aksw.commons.jena
Class StringConverter

java.lang.Object
  extended by org.aksw.commons.jena.StringConverter

Deprecated.

@Deprecated
public class StringConverter
extends Object

Best to use Claus ModelUtils NOTE, the proper way would be to capture the string right away, this does not always seem to work, especially with Models with reasoning capabilities...

Author:
Sebastian Hellmann - http://bis.informatik.uni-leipzig.de/SebastianHellmann Time: 20.09.2010 18:23:35

Constructor Summary
StringConverter(com.hp.hpl.jena.rdf.model.Model m)
          Deprecated.  
 
Method Summary
 void setOutputInferredModel(boolean outputInferredModel)
          Deprecated. Does not produce an inferred Model, but deactivates it, and provides explicit output only
 void setUseProperStringSerialization(boolean useProperStringSerialization)
          Deprecated.  
 String toString()
          Deprecated. defaults to turtle/N3
 String toString(String format)
          Deprecated.  
 String toStringAlternate(String format)
          Deprecated. Jena workaround which creates a nasty temporary file
 String toStringAsNTriple()
          Deprecated.  
 String toStringAsRDFXML()
          Deprecated.  
 String toStringAsTurtle()
          Deprecated.  
 String toStringProper(String format)
          Deprecated. TODO benchmark this function it seems to output the whole inferred Model!!!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringConverter

public StringConverter(com.hp.hpl.jena.rdf.model.Model m)
Deprecated. 
Method Detail

setUseProperStringSerialization

public void setUseProperStringSerialization(boolean useProperStringSerialization)
Deprecated. 

setOutputInferredModel

public void setOutputInferredModel(boolean outputInferredModel)
Deprecated. 
Does not produce an inferred Model, but deactivates it, and provides explicit output only

Parameters:
outputInferredModel -

toString

public String toString()
Deprecated. 
defaults to turtle/N3

Overrides:
toString in class Object
Returns:

toStringAsTurtle

public String toStringAsTurtle()
Deprecated. 

toStringAsRDFXML

public String toStringAsRDFXML()
Deprecated. 

toStringAsNTriple

public String toStringAsNTriple()
Deprecated. 

toString

public String toString(String format)
Deprecated. 

toStringAlternate

public String toStringAlternate(String format)
Deprecated. 
Jena workaround which creates a nasty temporary file

Parameters:
format -
Returns:

toStringProper

public String toStringProper(String format)
Deprecated. 
TODO benchmark this function it seems to output the whole inferred Model!!!

Parameters:
format -
Returns:


Copyright © 2012. All Rights Reserved.