de.fuberlin.wiwiss.ng4j.trig
Class N3JenaWriterPP
java.lang.Object
de.fuberlin.wiwiss.ng4j.trig.N3JenaWriterCommon
de.fuberlin.wiwiss.ng4j.trig.N3JenaWriterPP
- All Implemented Interfaces:
- RDFWriter
public class N3JenaWriterPP
- extends N3JenaWriterCommon
An N3 pretty printer.
Tries to make N3 data look readable - works better on regular data.
- Version:
- $Id: N3JenaWriterPP.java,v 1.1 2004/12/13 22:56:28 cyganiak Exp $
- Author:
- Andy Seaborne
Methods inherited from class de.fuberlin.wiwiss.ng4j.trig.N3JenaWriterCommon |
absolutePropName, calcPropertyPadding, countArcsTo, countArcsTo, countProperties, countProperties, formatLiteral, formatNode, formatProperty, formatResource, formatURI, getBooleanValue, 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 |
N3JenaWriterPP
public N3JenaWriterPP()
prepare
protected void prepare(Model model)
- Overrides:
prepare
in class N3JenaWriterCommon
preparePropertiesForSubject
protected ClosableIterator preparePropertiesForSubject(Resource r)
- Overrides:
preparePropertiesForSubject
in class N3JenaWriterCommon
skipThisSubject
protected boolean skipThisSubject(Resource subj)
- Overrides:
skipThisSubject
in class N3JenaWriterCommon
startWriting
protected void startWriting()
- Overrides:
startWriting
in class N3JenaWriterCommon
finishWriting
protected void finishWriting()
- Overrides:
finishWriting
in class N3JenaWriterCommon
writeObjectList
protected void writeObjectList(Resource resource,
Property property)
- Overrides:
writeObjectList
in class N3JenaWriterCommon
writeObject
protected void writeObject(RDFNode node)
- Overrides:
writeObject
in class N3JenaWriterCommon
allocateDatastructures
protected void allocateDatastructures()
clearDatastructures
protected void clearDatastructures()