|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AResource
A URI or blank node reported to a StatementHandler
.
Note: equality (.equals
) rather than identity
(==
) must be used to compare AResource
s.
Method Summary | |
---|---|
String |
getAnonymousID()
A string distinguishing this anonymous resource, from other anonymous resources. |
String |
getURI()
If the input file specifies a URI reference for this resource, return it. |
Object |
getUserData()
The user data allows the RDF application to store one Object with each blank node during parsing. |
boolean |
hasNodeID()
|
boolean |
isAnonymous()
Was this resource not given a URI in the file. |
void |
setUserData(Object d)
The user data allows the RDF application to store one Object with each blank node during parsing. |
Method Detail |
---|
String getAnonymousID()
isAnonymous()
returns false.
String getURI()
isAnonymous()
returns true.
Object getUserData()
Jena 2.1 note: earlier versions had a bug, which permitted user data on some URIref nodes and not on others. The documentation did not indicate that it was supported only on blank nodes. The documentation has been fixed to match the code which now uniformly no longer supports URIref nodes.
boolean hasNodeID()
boolean isAnonymous()
void setUserData(Object d)
See note about large files in class documentation for ARP
.
Jena 2.1 note: earlier versions had a bug, which permitted user data on some URIref nodes and not on others. The documentation did not indicate that it was supported only on blank nodes. The documentation has been fixed to match the code which now uniformly no longer supports URIref nodes.
d
- A user data object which may be retrieved later with getUserData.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |