public class SchemaGenerator extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
NAMESPACE_PREFIX |
protected static String |
NAMESPACE_URI |
Constructor and Description |
---|
SchemaGenerator() |
Modifier and Type | Method and Description |
---|---|
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.
|
protected static final String NAMESPACE_PREFIX
protected static final String NAMESPACE_URI
public static void print(URI uri, File file) throws Exception
uri
- taget Namespace, e.g. http://www.swixml.org/2007/SwixmlTags
file
- File
- targetIOException
- - if schema cannot be printed into the given file.Exception
public static void main(String[] args)
args
- String[] file name.
Copyright (c) 2002 - 2015 - Wolf Paulus - wolfpaulus.com. All rights reserved.