public class KiWiUriResource extends KiWiResource implements org.openrdf.model.URI
Constructor and Description |
---|
KiWiUriResource()
Deprecated.
|
KiWiUriResource(String uri) |
KiWiUriResource(String uri,
Date created) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getLocalName()
Gets the local name of this URI.
|
String |
getNamespace()
Gets the namespace of this URI.
|
String |
getUri()
Deprecated.
use
stringValue() instead. |
int |
hashCode() |
boolean |
isAnonymousResource()
Return true if the resource is an anonymous resource / blank node
|
boolean |
isUriResource()
Return true in case the node is a uri resource (avoids instanceof test)
|
void |
setUri(String uri)
Deprecated.
|
String |
stringValue()
Returns the String-value of a Value object.
|
String |
toString() |
isLiteral
getCreated, getId, setCreated, setId
@Deprecated public KiWiUriResource()
public KiWiUriResource(String uri)
@Deprecated public String getUri()
stringValue()
instead.@Deprecated public void setUri(String uri)
public String getLocalName()
getLocalName
in interface org.openrdf.model.URI
public String getNamespace()
getNamespace
in interface org.openrdf.model.URI
public String stringValue()
Literal
's label, a URI
's URI or a BNode
's ID.stringValue
in interface org.openrdf.model.Value
public boolean isAnonymousResource()
KiWiResource
isAnonymousResource
in class KiWiResource
public boolean isUriResource()
KiWiNode
isUriResource
in class KiWiResource
public String toString()
public boolean equals(Object o)
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.