Class Term<T extends org.eclipse.rdf4j.model.Value>

    • Constructor Detail

      • Term

        protected Term​(String internalValue,
                       boolean isVar)
        Constructor.
        Parameters:
        internalValue - internal term value.
        isVar - if true the internalValue is a variable name, otherwise is a constant.
    • Method Detail

      • getInternalValue

        public String getInternalValue()
        Returns:
        the internal value.
      • isVar

        public boolean isVar()
        Returns:
        the isVar flag value.
      • getValue

        public T getValue​(Map<String,​String> varMapping)
        Returns the value represented by this Term given the varMapping, the #isVar and #internalValue parameters.
        Parameters:
        varMapping - a map representing values of variables.
        Returns:
        the value for this term.
      • getValueInternal

        protected abstract T getValueInternal​(String value)