Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| SWIXML 1.6 (#161)
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.swixml
Class SchemaGenerator

    java.lang.Object
      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()`
`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.

### print

    public static void print()
                      throws IOException,
                             URISyntaxException

  Throws:
    `IOException`
    `URISyntaxException`

### main

    public static void main(String[] args)

  Writes teh schema into the given file. defaults to userhome/swixml.xsd

  Parameters:
    `args` - `String[]`file name.``

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| SWIXML 1.6 (#161)
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 - 2011 - Wolf Paulus - wolfpaulus.com. All rights reserved.