Class TriplePatternElementFactory.AnonymousVariable<CTT,​NVT,​AVT>

    • Field Detail

      • bn

        protected final AVT bn
    • Constructor Detail

      • AnonymousVariable

        public AnonymousVariable​(AVT bnode)
        Parameters:
        bnode -
    • Method Detail

      • isNamedVariable

        public boolean isNamedVariable()
        Description copied from interface: ITriplePatternElement
        Returns true if this element is a specific variable that has a name (i.e., it is denoted by a string that begins with a question mark), and false if either it is not a specific variable or it is a specific variable that is denoted by a blank node. If this element is a specific variable that has a name (that is, this method returns true), the named variable can be obtained by the method ITriplePatternElement.asNamedVariable().
        Returns:
      • asNamedVariable

        public NVT asNamedVariable()
        Description copied from interface: ITriplePatternElement
        Returns a representation of this element as a named variable (assuming it is a specific variable that has a name).
        Returns:
      • isAnonymousVariable

        public boolean isAnonymousVariable()
        Description copied from interface: ITriplePatternElement
        Returns true if this element is a specific variable that does not have a name (i.e., it is denoted by a blank node), and false if either it is not a specific variable or it is a specific variable that has a name. If this element is a specific variable denoted by a blank node (that is, this method returns true), the blank node can be obtained by the method ITriplePatternElement.asAnonymousVariable().
        Returns:
      • asAnonymousVariable

        public AVT asAnonymousVariable()
        Description copied from interface: ITriplePatternElement
        Returns a representation of this element as a blank node (assuming it is a specific, but non-named variable).
        Returns: