Package no.hasmac.rdf.impl
Class RdfResourceImpl
- java.lang.Object
-
- no.hasmac.rdf.impl.RdfResourceImpl
-
- All Implemented Interfaces:
RdfResource
,RdfValue
final class RdfResourceImpl extends java.lang.Object implements RdfResource
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RdfResourceImpl(java.lang.String value, boolean isBlankNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getValue()
Returns rawString
representation of the value.int
hashCode()
boolean
isBlankNode()
Indicates if the value type is blank node identifier.boolean
isIRI()
Indicates if the value type is an absolute IRI.java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface no.hasmac.rdf.RdfResource
asLiteral, isLiteral
-
-
-
-
Method Detail
-
isBlankNode
public boolean isBlankNode()
Description copied from interface:RdfValue
Indicates if the value type is blank node identifier.- Specified by:
isBlankNode
in interfaceRdfValue
- Returns:
true
if the value type is blank node,false
otherwise.
-
isIRI
public boolean isIRI()
Description copied from interface:RdfValue
Indicates if the value type is an absolute IRI.
-
getValue
public java.lang.String getValue()
Description copied from interface:RdfValue
Returns rawString
representation of the value.
-
hashCode
public int hashCode()
-
equals
public boolean equals(java.lang.Object obj)
-
-