|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.tireme.schemadoc.xs2dtd.Prototype
public class Prototype
The main class of the XS2DTD prototype, which loads a .xsd SDSchema file and builds the DTDHandler XML file.
| Field Summary | |
|---|---|
static boolean |
debug
|
| Constructor Summary | |
|---|---|
Prototype(java.lang.String filename_,
java.lang.String outputDir_)
Constructor. |
|
Prototype(java.lang.String filename_,
java.lang.String outputDir_,
boolean useNamespaces_)
Constructor. |
|
Prototype(java.lang.String filename_,
java.lang.String outputDir_,
boolean useNamespaces_,
boolean doGenerateDTDHandlerXMLFile_)
Constructor. |
|
Prototype(java.lang.String filename_,
java.lang.String outputDir_,
boolean useNamespaces_,
boolean doGenerateDTDHandlerXMLFile_,
boolean doNormalizeNames_)
Constructor. |
|
Prototype(java.lang.String filename,
java.lang.String outputDir,
boolean useNamespaces,
boolean doGenerateDTDHandlerXMLFile,
boolean doNormalizeNames,
boolean useLocalxs2DTDHandler)
Generix constructor. |
|
Prototype(java.lang.String filename,
java.lang.String outputDir,
boolean useNamespaces,
boolean doGenerateDTDHandlerXMLFile,
boolean doNormalizeNames,
boolean useLocalxs2DTDHandler,
java.util.Locale locale)
Generix constructor. |
|
Prototype(java.lang.String filename,
java.lang.String outputDir,
boolean useNamespaces,
boolean doGenerateDTDHandlerXMLFile,
boolean doNormalizeNames,
boolean useLocalxs2DTDHandler,
java.util.Locale locale,
boolean debug_)
Generix constructor. |
|
| Method Summary | |
|---|---|
static java.lang.String |
calcOutputDirectory(java.io.File file_,
java.lang.String outputPropal)
Guess the output file directory of DTD files |
static java.lang.String |
getHomeDirectory()
Loads the XS2DTD home directory |
void |
go()
Run the conversion |
static void |
init()
Init the configuration, locale & log system management |
static void |
main(java.lang.String[] args)
The main program for the Prototype class |
void |
setHandler(java.util.logging.Handler hand)
Overwrite standard file logging |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static boolean debug
| Constructor Detail |
|---|
public Prototype(java.lang.String filename_,
java.lang.String outputDir_)
throws java.lang.Exception
filename_ - input schema file pathoutputDir_ - output directory if needed (or null)
java.lang.Exception
public Prototype(java.lang.String filename_,
java.lang.String outputDir_,
boolean useNamespaces_)
throws java.lang.Exception
filename_ - input schema file pathoutputDir_ - output directory if needed (or null)useNamespaces_ - want to use namesapce management in the output
java.lang.Exception
public Prototype(java.lang.String filename_,
java.lang.String outputDir_,
boolean useNamespaces_,
boolean doGenerateDTDHandlerXMLFile_)
throws java.lang.Exception
filename_ - input schema file pathoutputDir_ - output directory if needed (or null)useNamespaces_ - want to use namesapce management in the outputdoGenerateDTDHandlerXMLFile_ - want a dump of the intermediate handler file ?
java.lang.Exception
public Prototype(java.lang.String filename_,
java.lang.String outputDir_,
boolean useNamespaces_,
boolean doGenerateDTDHandlerXMLFile_,
boolean doNormalizeNames_)
throws java.lang.Exception
filename_ - input schema file pathoutputDir_ - output directory if needed (or null)useNamespaces_ - want to use namesapce management in the outputdoGenerateDTDHandlerXMLFile_ - want a dump of the intermediate handler file ?
java.lang.Exception
public Prototype(java.lang.String filename,
java.lang.String outputDir,
boolean useNamespaces,
boolean doGenerateDTDHandlerXMLFile,
boolean doNormalizeNames,
boolean useLocalxs2DTDHandler)
throws java.lang.Exception
filename - input schema file pathoutputDir - output directory if needed (or null)useNamespaces - want to use namesapce management in the outputdoNormalizeNames - want to normalize PEdoGenerateDTDHandlerXMLFile - want a dump of the intermediate handler file ?useLocalxs2DTDHandler - want to use the local xs2DTDHandler schema model
java.lang.Exception
public Prototype(java.lang.String filename,
java.lang.String outputDir,
boolean useNamespaces,
boolean doGenerateDTDHandlerXMLFile,
boolean doNormalizeNames,
boolean useLocalxs2DTDHandler,
java.util.Locale locale)
throws java.lang.Exception
filename - input schema file pathoutputDir - output directory if needed (or null)useNamespaces - want to use namesapce management in the outputdoNormalizeNames - want to normalize PEdoGenerateDTDHandlerXMLFile - want a dump of the intermediate handler file ?useLocalxs2DTDHandler - want to use the local xs2DTDHandler schema modellocale -
java.lang.Exception
public Prototype(java.lang.String filename,
java.lang.String outputDir,
boolean useNamespaces,
boolean doGenerateDTDHandlerXMLFile,
boolean doNormalizeNames,
boolean useLocalxs2DTDHandler,
java.util.Locale locale,
boolean debug_)
throws java.lang.Exception
filename - input schema file pathoutputDir - output directory if needed (or null)useNamespaces - want to use namesapce management in the outputdoNormalizeNames - want to normalize PEdoGenerateDTDHandlerXMLFile - want a dump of the intermediate handler file ?useLocalxs2DTDHandler - want to use the local xs2DTDHandler schema modellocale -
java.lang.Exception| Method Detail |
|---|
public static void main(java.lang.String[] args)
args - - The first argument must be a .xsd file to load.public void setHandler(java.util.logging.Handler hand)
hand - the logging handler.
public void go()
throws java.lang.Exception
java.lang.Exception
public static java.lang.String calcOutputDirectory(java.io.File file_,
java.lang.String outputPropal)
throws Xs2dtdException
file_ - - input xsd source fileoutputPropal - - given output directory or null if none
Xs2dtdException
public static void init()
throws java.lang.Exception
- - Exception
java.lang.Exception
public static java.lang.String getHomeDirectory()
throws java.lang.Exception
- - Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||