net.ontopia.topicmaps.schema.impl.osl.cmdline
Class Generate

java.lang.Object
  extended by net.ontopia.topicmaps.schema.impl.osl.cmdline.Generate

public class Generate
extends java.lang.Object


Constructor Summary
Generate()
          default constructor.
 
Method Summary
 OSLSchema createSchema(java.lang.String input)
          Creates a schema from the given topic map which is read in fist.
 OSLSchema createSchema(TopicMapIF tm)
          Creates a schema from the given topic map.
static void main(java.lang.String[] argv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Generate

public Generate()
default constructor.

Method Detail

createSchema

public OSLSchema createSchema(java.lang.String input)
                       throws java.io.IOException
Creates a schema from the given topic map which is read in fist.

Parameters:
input - filename of the input topic map.
Throws:
java.io.IOException

createSchema

public OSLSchema createSchema(TopicMapIF tm)
Creates a schema from the given topic map. This method is invoked by the schema export plug-in.

Parameters:
tm - the topicmap to create a schema for.

main

public static void main(java.lang.String[] argv)


Copyright © 2000-2012 Ontopia.