org.w3c.rdfpic.core
Interface SchemaFileDrv

All Known Implementing Classes:
SchemaTxtDrv

public interface SchemaFileDrv

A class implementing SchemaFileDrv should be able to serialize and parse some format for storing schema definitions into the format used internally, RdfSchema.


Method Summary
 java.lang.Object clone()
           
 RdfSchema read()
          reads a schema definition from a file
 void setURL(java.net.URL url)
          set the url of the schema definition file
 void write(RdfSchema schema)
          writes (overwrites) a schema definition to a file
 

Method Detail

setURL

public void setURL(java.net.URL url)
            throws java.io.IOException
set the url of the schema definition file

read

public RdfSchema read()
               throws java.io.IOException
reads a schema definition from a file

write

public void write(RdfSchema schema)
           throws java.io.IOException
writes (overwrites) a schema definition to a file

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object