|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jrdf.writer.rdfxml.ResourceWriterImpl
public class ResourceWriterImpl
Represents an RDF/XML header for a given resource.
Constructor Summary | |
---|---|
ResourceWriterImpl(RdfNamespaceMap names,
BlankNodeRegistry newRegistry,
javax.xml.stream.XMLStreamWriter newXmlStreamWriter)
|
Method Summary | |
---|---|
void |
setTriple(Triple triple)
|
void |
visitBlankNode(BlankNode blankNode)
Visit blank node. |
void |
visitLiteral(Literal literal)
Visit Literal. |
void |
visitNode(Node node)
Visit node. |
void |
visitResource(Resource resource)
Visit Resource. |
void |
visitURIReference(URIReference uriReference)
Visit URI Reference. |
void |
writeEnd()
|
void |
writeNestedStatements(IteratorStack<Triple> stack)
|
void |
writeStart()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceWriterImpl(RdfNamespaceMap names, BlankNodeRegistry newRegistry, javax.xml.stream.XMLStreamWriter newXmlStreamWriter)
Method Detail |
---|
public void setTriple(Triple triple)
setTriple
in interface ResourceWriter
public void writeStart() throws WriteException
writeStart
in interface ResourceWriter
WriteException
public void writeNestedStatements(IteratorStack<Triple> stack) throws WriteException, javax.xml.stream.XMLStreamException
writeNestedStatements
in interface ResourceWriter
WriteException
javax.xml.stream.XMLStreamException
public void writeEnd() throws WriteException
writeEnd
in interface ResourceWriter
WriteException
public void visitBlankNode(BlankNode blankNode)
TypedNodeVisitor
visitBlankNode
in interface TypedNodeVisitor
blankNode
- the blank node to visit.public void visitURIReference(URIReference uriReference)
TypedNodeVisitor
visitURIReference
in interface TypedNodeVisitor
uriReference
- the URI Reference to visit.public void visitLiteral(Literal literal)
TypedNodeVisitor
visitLiteral
in interface TypedNodeVisitor
literal
- the Literal to visit.public void visitNode(Node node)
TypedNodeVisitor
visitNode
in interface TypedNodeVisitor
node
- the node to visit.public void visitResource(Resource resource)
TypedNodeVisitor
visitResource
in interface TypedNodeVisitor
resource
- the node to visit.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |