Enum Class NodeType

java.lang.Object
java.lang.Enum<NodeType>
org.apache.jena.tdb1.store.NodeType
All Implemented Interfaces:
Serializable, Comparable<NodeType>, Constable, org.apache.jena.sparql.util.Named

public enum NodeType extends Enum<NodeType> implements org.apache.jena.sparql.util.Named
  • Enum Constant Details

    • BNODE

      public static final NodeType BNODE
    • URI

      public static final NodeType URI
    • LITERAL

      public static final NodeType LITERAL
    • TRIPLETERM

      public static final NodeType TRIPLETERM
    • OTHER

      public static final NodeType OTHER
  • Method Details

    • values

      public static NodeType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static NodeType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getTypeId

      public abstract int getTypeId()
    • getDatatype

      public abstract org.apache.jena.datatypes.xsd.XSDDatatype getDatatype()
    • getName

      public abstract String getName()
      Specified by:
      getName in interface org.apache.jena.sparql.util.Named
    • toString

      public String toString()
      Overrides:
      toString in class Enum<NodeType>
    • lookup

      public static NodeType lookup(org.apache.jena.graph.Node n)
    • lookup

      public static NodeType lookup(int type)