SWIXML
1.5 (#149)

org.swixml
Class SchemaGenerator

java.lang.Object
  extended by org.swixml.SchemaGenerator

public class SchemaGenerator
extends Object

Swixml XML Schema Generator

Author:
Wolf Paulus

Constructor Summary
SchemaGenerator()
           
 
Method Summary
static void main(String[] args)
          Writes teh schema into the given file. defaults to userhome/swixml.xsd
static void print(URI uri, File file)
          Generate the Swixml XML Schema and writes it into a file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaGenerator

public SchemaGenerator()
Method Detail

print

public static void print(URI uri,
                         File file)
                  throws IOException
Generate the Swixml XML Schema and writes it into a file.

Parameters:
uri - taget Namespace, e.g. http://www.swixml.org/2007/SwixmlTags
file - File - target
Throws:
IOException - - if schema cannot be printed into the given file.

main

public static void main(String[] args)
Writes teh schema into the given file. defaults to userhome/swixml.xsd

Parameters:
args - String[] file name.

SWIXML
1.5 (#149)

Copyright ? 2002 - 2007 - Wolf Paulus - wolfpaulus.com. All rights reserved.