Class StoragePrefixesEmpty

java.lang.Object
org.apache.jena.dboe.storage.prefixes.StoragePrefixesEmpty
All Implemented Interfaces:
StoragePrefixes

public class StoragePrefixesEmpty extends Object implements StoragePrefixes
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(org.apache.jena.graph.Node graphNode, String prefix, String iriStr)
    Add a prefix, overwrites any existing association
    void
    delete(org.apache.jena.graph.Node graphNode, String prefix)
    Delete a prefix mapping
    void
    deleteAll(org.apache.jena.graph.Node graphNode)
    Delete prefix mappings for a specific graph name.
    Iterator<org.apache.jena.riot.system.PrefixEntry>
    get(org.apache.jena.graph.Node graphNode)
     
    get(org.apache.jena.graph.Node graphNode, String prefix)
     
    boolean
    Return whether there are any prefix mappings or not (any graph).
    Iterator<org.apache.jena.graph.Node>
     
    Iterator<org.apache.jena.atlas.lib.Pair<org.apache.jena.graph.Node,org.apache.jena.riot.system.PrefixEntry>>
    All the mappings.
    int
    Return the number of mappings.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • StoragePrefixesEmpty

      public StoragePrefixesEmpty()
  • Method Details

    • get

      public String get(org.apache.jena.graph.Node graphNode, String prefix)
      Specified by:
      get in interface StoragePrefixes
    • get

      public Iterator<org.apache.jena.riot.system.PrefixEntry> get(org.apache.jena.graph.Node graphNode)
      Specified by:
      get in interface StoragePrefixes
    • listGraphNodes

      public Iterator<org.apache.jena.graph.Node> listGraphNodes()
      Specified by:
      listGraphNodes in interface StoragePrefixes
    • add

      public void add(org.apache.jena.graph.Node graphNode, String prefix, String iriStr)
      Description copied from interface: StoragePrefixes
      Add a prefix, overwrites any existing association
      Specified by:
      add in interface StoragePrefixes
    • delete

      public void delete(org.apache.jena.graph.Node graphNode, String prefix)
      Description copied from interface: StoragePrefixes
      Delete a prefix mapping
      Specified by:
      delete in interface StoragePrefixes
    • deleteAll

      public void deleteAll(org.apache.jena.graph.Node graphNode)
      Description copied from interface: StoragePrefixes
      Delete prefix mappings for a specific graph name.
      Specified by:
      deleteAll in interface StoragePrefixes
    • listMappings

      public Iterator<org.apache.jena.atlas.lib.Pair<org.apache.jena.graph.Node,org.apache.jena.riot.system.PrefixEntry>> listMappings()
      Description copied from interface: StoragePrefixes
      All the mappings. This includes the "dataset" mapping with Node Prefixes.nodeDataset.
      Specified by:
      listMappings in interface StoragePrefixes
    • isEmpty

      public boolean isEmpty()
      Description copied from interface: StoragePrefixes
      Return whether there are any prefix mappings or not (any graph).
      Specified by:
      isEmpty in interface StoragePrefixes
    • size

      public int size()
      Description copied from interface: StoragePrefixes
      Return the number of mappings.
      Specified by:
      size in interface StoragePrefixes