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 protectedRdfResourceImpl(java.lang.String value, boolean isBlankNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetValue()Returns rawStringrepresentation of the value.inthashCode()booleanisBlankNode()Indicates if the value type is blank node identifier.booleanisIRI()Indicates if the value type is an absolute IRI.java.lang.StringtoString()-
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:RdfValueIndicates if the value type is blank node identifier.- Specified by:
isBlankNodein interfaceRdfValue- Returns:
trueif the value type is blank node,falseotherwise.
-
isIRI
public boolean isIRI()
Description copied from interface:RdfValueIndicates if the value type is an absolute IRI.
-
getValue
public java.lang.String getValue()
Description copied from interface:RdfValueReturns rawStringrepresentation of the value.
-
hashCode
public int hashCode()
-
equals
public boolean equals(java.lang.Object obj)
-
-