Package org.apache.jena.assembler
Class Content
- java.lang.Object
-
- org.apache.jena.assembler.Content
-
public class Content extends java.lang.Object
A Content object records content to be used to fill models. This Content class contains other Content objects.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Model
fill(Model m)
Answer the modelm
after filling it with the contents described by this object.boolean
isEmpty()
-
-
-
Field Detail
-
empty
public static final Content empty
An empty Content object for your convenience.
-
-
Constructor Detail
-
Content
public Content(java.util.List<Content> contents)
Initialise a content object that includes the contents of each (Content) item in the listcontents
.
-
Content
public Content()
Initialise an empty Content object.
-
-