Package com.stardog.stark.query.io.xml
Class AbstractSPARQLXMLWriter<T>
java.lang.Object
com.stardog.stark.query.io.xml.AbstractSPARQLXMLWriter<T>
- All Implemented Interfaces:
QueryResultWriter<T>,QueryResultHandler<T>
- Direct Known Subclasses:
SPARQLXMLBooleanResultWriter,SPARQLXMLSelectResultWriter
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Michael Grove
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected booleanstatic final Stringprotected booleanprotected booleanstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected final com.stardog.stark.impl.NamespacesImplprotected final Optionsprotected final XMLWriterstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected booleanstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.stardog.stark.query.io.QueryResultWriter
format, handle
-
Field Details
-
mWriter
-
mOptions
-
documentOpen
protected boolean documentOpen -
headerOpen
protected boolean headerOpen -
headerComplete
protected boolean headerComplete -
tupleVariablesFound
protected boolean tupleVariablesFound -
mNamespaces
protected final com.stardog.stark.impl.NamespacesImpl mNamespaces -
NAMESPACE
- See Also:
-
ROOT_TAG
- See Also:
-
HEAD_TAG
- See Also:
-
LINK_TAG
- See Also:
-
VAR_TAG
- See Also:
-
VAR_NAME_ATT
- See Also:
-
HREF_ATT
- See Also:
-
BOOLEAN_TAG
- See Also:
-
BOOLEAN_TRUE
- See Also:
-
BOOLEAN_FALSE
- See Also:
-
RESULT_SET_TAG
- See Also:
-
RESULT_TAG
- See Also:
-
BINDING_TAG
- See Also:
-
BINDING_NAME_ATT
- See Also:
-
URI_TAG
- See Also:
-
BNODE_TAG
- See Also:
-
LITERAL_TAG
- See Also:
-
LITERAL_LANG_ATT
- See Also:
-
LITERAL_DATATYPE_ATT
- See Also:
-
UNBOUND_TAG
- See Also:
-
QNAME
- See Also:
-
STATEMENT_TAG
- See Also:
-
SUBJECT_TAG
- See Also:
-
PREDICATE_TAG
- See Also:
-
OBJECT_TAG
- See Also:
-
CONTEXT_TAG
- See Also:
-
-
Constructor Details
-
AbstractSPARQLXMLWriter
-
-
Method Details
-
links
Handle the set of links from the result- Specified by:
linksin interfaceQueryResultHandler<T>- Specified by:
linksin interfaceQueryResultWriter<T>- Parameters:
theLinks- The links- Throws:
ResultWritingFailed- See Also:
-
namespace
public final void namespace(@Nonnull String thePrefix, @Nonnull String theIRI) throws ResultWritingFailed - Specified by:
namespacein interfaceQueryResultWriter<T>- Throws:
ResultWritingFailed
-
start
Indicates that writing has begun.- Specified by:
startin interfaceQueryResultHandler<T>- Specified by:
startin interfaceQueryResultWriter<T>- Throws:
ResultWritingFailed- if writing failed.
-
end
Signal that query processing has completed- Specified by:
endin interfaceQueryResultHandler<T>- Specified by:
endin interfaceQueryResultWriter<T>- Throws:
ResultWritingFailed
-