|
||||||||||
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()
The URI reference for this resource, if any. |
Object |
getUserData()
The user data allows the RDF application to store one Object with each blank node during parsing. |
boolean |
hasNodeID()
True, if this is an anonymous resource with an explicit rdf:nodeID. |
boolean |
isAnonymous()
True if this resource does not have an associated URI. |
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()
setUserData(java.lang.Object)
; or null if none.boolean hasNodeID()
boolean isAnonymous()
void setUserData(Object d)
See note about large files in class documentation for ARP
.
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 |