Class NV

    • Method Detail

      • fromNodeValue

        public static java.lang.Object fromNodeValue​(NodeValue nv)
        Map an ARQ NodeValue to java/GraalVM representation of a JavaScript object. Native JavaScript types supported are null, string, number and boolean. Otherwise a NV is returned.
      • toNodeValue

        public static NodeValue toNodeValue​(java.lang.Object r)
        Map a java/GraalVM representation of a JavaScript object to an ARQ NodeValue. Identified types are null, string, number and boolean and also NV returned by the JavaScript code.
      • isURI

        public boolean isURI()
      • isBlank

        public boolean isBlank()
      • isNumber

        public boolean isNumber()
      • isLiteral

        public boolean isLiteral()
      • isTripleTerm

        public boolean isTripleTerm()
      • getTermType

        public java.lang.String getTermType()
        Specified by:
        getTermType in interface RDFJS
      • getValue

        public java.lang.String getValue()
        Specified by:
        getValue in interface RDFJS
      • getLabel

        public java.lang.String getLabel()
      • getDT

        public java.lang.String getDT()
      • getDatatype

        public java.lang.String getDatatype()
      • getLanguage

        public java.lang.String getLanguage()
      • getLang

        public java.lang.String getLang()
      • getLex

        public java.lang.String getLex()
      • getUri

        public java.lang.String getUri()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object