Class Item


public class Item extends ItemLocation
  • Field Details

    • nil

      public static final Item nil
    • defaultItem

      public static final Item defaultItem
  • Method Details

    • createList

      public static Item createList()
    • createList

      public static Item createList(int line, int column)
    • createList

      public static Item createList(ItemList list)
    • createList

      public static Item createList(ItemList list, int line, int column)
    • createNode

      public static Item createNode(org.apache.jena.graph.Node node)
    • createNode

      public static Item createNode(org.apache.jena.graph.Node node, int line, int column)
    • createSymbol

      public static Item createSymbol(String symbol)
    • createSymbol

      public static Item createSymbol(String symbol, int line, int column)
    • createTagged

      public static Item createTagged(String tag)
    • addPair

      public static void addPair(ItemList list, String key, String value)
    • addPair

      public static void addPair(ItemList list, String key, org.apache.jena.graph.Node node)
    • addPair

      public static void addPair(ItemList list, org.apache.jena.graph.Node key, org.apache.jena.graph.Node value)
    • addPair

      public static void addPair(ItemList list, Item key, Item value)
    • makePair

      public static Item makePair(Item item1, Item item2)
    • find

      public static Item find(ItemList list, String key)
    • hashCode

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

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • sameSymbol

      public boolean sameSymbol(Item item)
    • sameSymbol

      public boolean sameSymbol(String symbolStr)
    • getList

      public ItemList getList()
    • getNode

      public org.apache.jena.graph.Node getNode()
    • getSymbol

      public String getSymbol()
    • getDouble

      public double getDouble()
    • getInteger

      public long getInteger()
    • getInt

      public int getInt()
    • getLong

      public long getLong()
    • asLong

      public long asLong()
    • sniff

      public String sniff()
    • isTaggedIgnoreCase

      public boolean isTaggedIgnoreCase(String tag)
    • isTagged

      public boolean isTagged(String tag)
    • isTagged

      public boolean isTagged()
    • isDefault

      public boolean isDefault()
    • isNil

      public boolean isNil()
    • isList

      public boolean isList()
    • isNode

      public boolean isNode()
    • isNodeURI

      public boolean isNodeURI()
    • isVar

      public boolean isVar()
    • isNodeLiteral

      public boolean isNodeLiteral()
    • isNodeBNode

      public boolean isNodeBNode()
    • isSymbol

      public boolean isSymbol()
    • isSymbol

      public boolean isSymbol(String testSymbol)
    • isSymbolIgnoreCase

      public boolean isSymbolIgnoreCase(String testSymbol)
    • visit

      public void visit(ItemVisitor visitor)
    • toString

      public String toString()
      Overrides:
      toString in class ItemLocation
    • shortString

      public String shortString()
      For log messages etc. Does not guarantee round trip.