|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mulgara.jena.rdf.arp.impl.TaintImpl
org.mulgara.jena.rdf.arp.impl.URIReference
public class URIReference
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
protected |
URIReference(String uri)
|
| Method Summary | |
|---|---|
static URIReference |
createNoChecks(String uri)
|
boolean |
equals(Object o)
Does not compare userData field, only URI. |
static URIReference |
fromID(Frame f,
AbsXMLContext x,
String name)
|
static URIReference |
fromQName(Frame f,
String ns,
String local)
|
String |
getAnonymousID()
A string distinguishing this anonymous resource, from other anonymous resources. |
boolean |
getHasBeenUsed()
Only for blank nodes - non blank need not support. |
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. |
int |
hashCode()
|
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. |
static URIReference |
resolve(Frame f,
AbsXMLContext ctxt,
String uri)
|
void |
setHasBeenUsed()
Only for blank nodes - non blank need not support. |
void |
setUserData(Object d)
The user data allows the RDF application to store one Object with each blank node during parsing. |
String |
toString()
|
| Methods inherited from class org.mulgara.jena.rdf.arp.impl.TaintImpl |
|---|
isTainted, taint |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.mulgara.jena.rdf.arp.impl.Taint |
|---|
isTainted, taint |
| Constructor Detail |
|---|
protected URIReference(String uri)
| Method Detail |
|---|
public String toString()
toString in class Objectpublic boolean isAnonymous()
AResource
isAnonymous in interface AResourcepublic String getAnonymousID()
AResourceAResource.isAnonymous() returns false.
getAnonymousID in interface AResourcepublic String getURI()
AResourceAResource.isAnonymous() returns true.
getURI in interface AResourcepublic Object getUserData()
AResource
getUserData in interface AResourceAResource.setUserData(java.lang.Object); or null if none.public void setUserData(Object d)
AResource
See note about large files in class documentation for ARP.
setUserData in interface AResourced - A user data object which may be retrieved later with AResource.getUserData().public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean hasNodeID()
AResource
hasNodeID in interface AResourcepublic void setHasBeenUsed()
AResourceInternal
setHasBeenUsed in interface AResourceInternalpublic boolean getHasBeenUsed()
AResourceInternal
getHasBeenUsed in interface AResourceInternal
public static URIReference fromID(Frame f,
AbsXMLContext x,
String name)
throws SAXParseException
f - A frame for error reporting. AbsXMLContext of frame is ignored.x - The XML context for the base URIname - The local name
SAXParseException
public static URIReference resolve(Frame f,
AbsXMLContext ctxt,
String uri)
throws SAXParseException
f - A frame for error reporting. AbsXMLContext of frame is ignored.ctxt - The XML context for the base URIuri - Input string, may be relative etc.
SAXParseException
public static URIReference fromQName(Frame f,
String ns,
String local)
throws SAXParseException
SAXParseExceptionpublic static URIReference createNoChecks(String uri)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||