|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jrdf.graph.AbstractURIReference
A base implementation of an RDF URIReference.
| Constructor Summary | |
protected |
AbstractURIReference(URI newUri)
Constructor. |
protected |
AbstractURIReference(URI newUri,
boolean validate)
Constructor. |
| Method Summary | |
void |
accept(TypedNodeVisitor visitor)
Accept a call from a TypedNodeVisitor. |
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this one. |
URI |
getURI()
The URI identifiying this resource. |
int |
hashCode()
Returns a hash-code value for this URI Reference. |
String |
toString()
Provide a legible representation of a URI reference. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
protected AbstractURIReference(URI newUri)
null and absolute newUri parameter.
newUri - the URI to use in creation.
IllegalArgumentException - if newUri is null or
not absolute
protected AbstractURIReference(URI newUri,
boolean validate)
null parameter. Use only for applications
where enforcement of valid URIs is too expensive or not necessary.
newUri - the URI to use in creation.validate - whether to enforce valid RDF URIs.
IllegalArgumentException - if newUri is not absolute and
validate is true.| Method Detail |
public URI getURI()
URI identifiying this resource.
getURI in interface URIReferenceURI identifying this resource.public void accept(TypedNodeVisitor visitor)
accept in interface TypedNodeVisitablevisitor - the object doing the visiting.public boolean equals(Object obj)
URIReference
equals in interface URIReferencepublic int hashCode()
URIReference
hashCode in interface URIReferencepublic String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||