Class Content

java.lang.Object
org.apache.jena.assembler.Content

public class Content extends Object
A Content object records content to be used to fill models. This Content class contains other Content objects.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Content
    An empty Content object for your convenience.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Initialise an empty Content object.
    Content(List<Content> contents)
    Initialise a content object that includes the contents of each (Content) item in the list contents.
  • Method Summary

    Modifier and Type
    Method
    Description
    Answer the model m after filling it with the contents described by this object.
    boolean
     

    Methods inherited from class java.lang.Object

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

    • empty

      public static final Content empty
      An empty Content object for your convenience.
  • Constructor Details

    • Content

      public Content(List<Content> contents)
      Initialise a content object that includes the contents of each (Content) item in the list contents.
    • Content

      public Content()
      Initialise an empty Content object.
  • Method Details

    • fill

      public Model fill(Model m)
      Answer the model m after filling it with the contents described by this object.
    • isEmpty

      public boolean isEmpty()