org.topbraid.core.io
Class PrettyN3Writer

java.lang.Object
  extended by com.hp.hpl.jena.n3.N3JenaWriterCommon
      extended by com.hp.hpl.jena.n3.N3JenaWriterPP
          extended by org.topbraid.core.io.PrettyN3Writer
All Implemented Interfaces:
com.hp.hpl.jena.rdf.model.RDFWriter

public class PrettyN3Writer
extends com.hp.hpl.jena.n3.N3JenaWriterPP

A more reliable N3 writer that sorts resources and prefixes. This must live in the HP namespace so that it can access package-private variables.

Author:
Holger Knublauch

Field Summary
 
Fields inherited from interface com.hp.hpl.jena.rdf.model.RDFWriter
NSPREFIXPROPBASE
 
Constructor Summary
PrettyN3Writer()
           
 
Method Summary
protected  boolean getBooleanValue(java.lang.String prop, boolean defaultValue)
           
protected  com.hp.hpl.jena.rdf.model.ResIterator listSubjects(com.hp.hpl.jena.rdf.model.Model model)
           
 
Methods inherited from class com.hp.hpl.jena.n3.N3JenaWriterPP
allocateDatastructures, clearDatastructures, finishWriting, prepare, preparePropertiesForSubject, skipThisSubject, startWriting, writeObject, writeObjectList
 
Methods inherited from class com.hp.hpl.jena.n3.N3JenaWriterCommon
absolutePropName, calcPropertyPadding, countArcsTo, countArcsTo, countProperties, countProperties, formatLiteral, formatNode, formatProperty, formatResource, formatURI, getIntValue, getPropValue, getStringValue, localPropName, pad, processModel, rdfListIterator, setErrorHandler, setProperty, string, write, write, writeHeader, writeLiteral, writeModel, writeOneGraphNode, writePrefixes, writePropertiesForSubject, writeSubject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrettyN3Writer

public PrettyN3Writer()
Method Detail

getBooleanValue

protected boolean getBooleanValue(java.lang.String prop,
                                  boolean defaultValue)
Overrides:
getBooleanValue in class com.hp.hpl.jena.n3.N3JenaWriterCommon

listSubjects

protected com.hp.hpl.jena.rdf.model.ResIterator listSubjects(com.hp.hpl.jena.rdf.model.Model model)
Overrides:
listSubjects in class com.hp.hpl.jena.n3.N3JenaWriterCommon