Package com.epimorphics.rdfutil
Class SPARQLUpdateWriter
- java.lang.Object
-
- org.apache.jena.n3.N3JenaWriterCommon
-
- com.epimorphics.rdfutil.SPARQLUpdateWriter
-
- All Implemented Interfaces:
org.apache.jena.rdf.model.RDFWriter
public class SPARQLUpdateWriter extends org.apache.jena.n3.N3JenaWriterCommonSupport for writing out a model in SPARQL UPDATE syntax. Essentially just the normal N3/Turle writer but with support for separate writing of prefix and body information.- Author:
- Dave Reynolds
-
-
Field Summary
-
Fields inherited from class org.apache.jena.n3.N3JenaWriterCommon
allowDecimals, allowDoubles, allowTripleQuotedStrings, alwaysAllocateBNodeLabel, bNodeCounter, bNodesMap, errorHandler, indentObject, indentProperty, minGap, minGapStr, NS_W3_log, out, prefixMap, propertyCol, reversePrefixMap, shortSubject, subjectColumn, useWellKnownPropertySymbols, wellKnownPropsMap, wellKnownPropsMapN3, wellKnownPropsMapTurtle, widePropertyLen, writerPropertyMap, WS
-
-
Constructor Summary
Constructors Constructor Description SPARQLUpdateWriter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwriteUpdateBody(org.apache.jena.rdf.model.Model model, Writer _out)static voidwriteUpdatePrefixes(org.apache.jena.shared.PrefixMapping prefixes, Writer writer)-
Methods inherited from class org.apache.jena.n3.N3JenaWriterCommon
absolutePropName, calcPropertyPadding, checkNameChar, checkNamePart, checkNameStartChar, checkPrefixedName, checkPrefixPart, countArcsTo, countArcsTo, countProperties, countProperties, finishWriting, formatLiteral, formatNode, formatProperty, formatResource, formatURI, getBooleanValue, getIntValue, getOutput, getPrefixes, getPropValue, getStringValue, listSubjects, localPropName, pad, prepare, preparePropertiesForSubject, processModel, rdfListIterator, setErrorHandler, setProperty, skipThisSubject, splitIdx, startWriting, string, write, write, writeHeader, writeLiteral, writeModel, writeObject, writeObjectList, writeOneGraphNode, writePrefixes, writePropertiesForSubject, writeSubject
-
-
-
-
Method Detail
-
writeUpdatePrefixes
public static void writeUpdatePrefixes(org.apache.jena.shared.PrefixMapping prefixes, Writer writer) throws IOException- Throws:
IOException
-
writeUpdateBody
public void writeUpdateBody(org.apache.jena.rdf.model.Model model, Writer _out) throws IOException- Throws:
IOException
-
-