Class RdfResourceImpl

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean blankNode  
      private java.lang.String value  
    • 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 raw String 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
    • Field Detail

      • value

        private final java.lang.String value
      • blankNode

        private final boolean blankNode
    • Constructor Detail

      • RdfResourceImpl

        protected RdfResourceImpl​(java.lang.String value,
                                  boolean isBlankNode)
    • Method Detail

      • isBlankNode

        public boolean isBlankNode()
        Description copied from interface: RdfValue
        Indicates if the value type is blank node identifier.
        Specified by:
        isBlankNode in interface RdfValue
        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.
        Specified by:
        isIRI in interface RdfValue
        Returns:
        true if the value type is IRI, false otherwise.
      • getValue

        public java.lang.String getValue()
        Description copied from interface: RdfValue
        Returns raw String representation of the value.
        Specified by:
        getValue in interface RdfValue
        Returns:
        text representing the value.
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface RdfValue
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface RdfValue
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface RdfValue
        Overrides:
        toString in class java.lang.Object