com.hp.hpl.jena.assembler
Class Content

java.lang.Object
  extended by com.hp.hpl.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.

Author:
kers

Field Summary
static Content empty
          An empty Content object for your convenience.
 
Constructor Summary
Content()
          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
 Model fill(Model m)
          Answer the model m after filling it with the contents described by this object.
 boolean isEmpty()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

empty

public static final Content empty
An empty Content object for your convenience.

Constructor Detail

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 Detail

fill

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


isEmpty

public boolean isEmpty()


Licenced under the Apache License, Version 2.0