org.w3c.rdfpic.core
Class Rdf2ImgMeta

java.lang.Object
  |
  +--org.w3c.rdfpic.core.Rdf2ImgMeta

public class Rdf2ImgMeta
extends java.lang.Object

Rdf2ImgMeta provides two handy models that connect the SiRPAC package to the ImgMetaHandler, essentially setting up Reader's and Writer's handily.


Constructor Summary
Rdf2ImgMeta()
           
 
Method Summary
(package private) static org.w3c.rdf.model.Model load(ImgMetaHandler handler, org.w3c.rdf.syntax.RDFParser parser)
          Loads a Model from the given ImgMetaHandler with help from the RDFParser.
(package private) static void save(org.w3c.rdf.model.Model model, ImgMetaHandler handler, org.w3c.rdf.syntax.RDFSerializer serializer)
          Saves a Model to the given ImgMetaHandler with help from the RDFSerializer.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

Rdf2ImgMeta

public Rdf2ImgMeta()
Method Detail

save

static void save(org.w3c.rdf.model.Model model,
                 ImgMetaHandler handler,
                 org.w3c.rdf.syntax.RDFSerializer serializer)
          throws java.io.IOException,
                 org.w3c.rdf.model.ModelException,
                 org.w3c.rdf.syntax.SerializationException
Saves a Model to the given ImgMetaHandler with help from the RDFSerializer.

load

static org.w3c.rdf.model.Model load(ImgMetaHandler handler,
                                    org.w3c.rdf.syntax.RDFParser parser)
                             throws java.io.IOException,
                                    org.xml.sax.SAXException
Loads a Model from the given ImgMetaHandler with help from the RDFParser.