|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExtendedHandler
Extended callbacks from a reader to an RDF application. This reports:
Method Summary | |
---|---|
boolean |
discardNodesWithNodeID()
This method is used to modify the behaviour of ARP concerning its reporting of bnode scope endBNodeScope(com.hp.hpl.jena.rdf.arp.AResource) . |
void |
endBNodeScope(AResource bnode)
After this call, no more triples will be reported which use bnode . |
void |
endRDF()
Called when the </rdf:RDF> tag is seen. |
void |
startRDF()
Called when the <rdf:RDF> tag is seen. |
Method Detail |
---|
void endBNodeScope(AResource bnode)
bnode
.
This is called exactly once for each blank nodes.
Whether this includes nodes with an rdf:nodeID
is controlled by discardNodesWithNodeID()
.
The contract is robust against syntax errors in input, and exceptions being thrown by the StatementHandler.
bnode
- A blank node going out of scope.boolean discardNodesWithNodeID()
endBNodeScope(com.hp.hpl.jena.rdf.arp.AResource)
.
If this returns true then blank nodes with an rdf:nodeID
are not reported as they go out of scope at the end
of file. This eliminates the unbounded memory cost
of remembering such nodes.
If this returns false then the contract of
endBNodeScope(com.hp.hpl.jena.rdf.arp.AResource)
is honoured uniformly
independent of whether a blank node has a nodeID or not.
If this method returns different values during the parsing of a single file, then the behaviour is undefined.
void startRDF()
void endRDF()
Robust against syntax errors in input, and exceptions being thrown by the StatementHandler.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |