Class BlankNode

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private BlankNode()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean hasPrefix​(java.lang.String value)
      Returns true if the given value starts with a blank node prefix '_:'.
      static boolean isWellFormed​(java.lang.String blankNodeId)
      BLANK_NODE_LABEL ::= '_:' (PN_CHARS_U | [0-9]) ((PN_CHARS | '.')* PN_CHARS)?
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BlankNode

        private BlankNode()
    • Method Detail

      • hasPrefix

        public static boolean hasPrefix​(java.lang.String value)
        Returns true if the given value starts with a blank node prefix '_:'.
        Parameters:
        value - to check
        Returns:
        true if the give value has blank node prefix
      • isWellFormed

        public static boolean isWellFormed​(java.lang.String blankNodeId)
        BLANK_NODE_LABEL ::= '_:' (PN_CHARS_U | [0-9]) ((PN_CHARS | '.')* PN_CHARS)?
        Parameters:
        blankNodeId - to check
        Returns:
        true if the provided string is well formed blank node identifier
        See Also:
        N-Quads Grammar