|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
java.lang.String |
getAnonymousID()
A string distinguishing this anonymous resource, from other anonymous resources. |
java.lang.String |
getURI()
If the input file specifies a URI reference for this resource, return it. |
java.lang.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(java.lang.Object d)
The user data allows the RDF application to store one Object with each blank node during parsing. |
Method Detail |
public java.lang.String getAnonymousID()
isAnonymous()
returns false.
public java.lang.String getURI()
isAnonymous()
returns true.
public java.lang.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.
public boolean hasNodeID()
public boolean isAnonymous()
public void setUserData(java.lang.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 |