org.deegree.commons.utils.jaxb
Class CreateExternalBindings

java.lang.Object
  extended by org.deegree.commons.utils.jaxb.CreateExternalBindings

public class CreateExternalBindings
extends Object

The CreateExternalBindings is a little utitly class, which writes a jaxb binding file by reading java files from a 'configuration' package and create a map=false schema binding file for those classes.

Version:
$Revision: 30119 $, $Date: 2011-03-22 10:02:35 +0100 (Tue, 22 Mar 2011) $
Author:
Rutger Bezema, last edited by: $Author: aschmitz $

Constructor Summary
CreateExternalBindings()
           
 
Method Summary
 void createExternalBindingsFile(String sourceDir, String targetFile, String nameSpace, String referencedXSD)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateExternalBindings

public CreateExternalBindings()
Method Detail

createExternalBindingsFile

public void createExternalBindingsFile(String sourceDir,
                                       String targetFile,
                                       String nameSpace,
                                       String referencedXSD)
                                throws XMLStreamException,
                                       IOException
Throws:
XMLStreamException
IOException

main

public static void main(String[] args)
                 throws XMLStreamException,
                        IOException
Parameters:
args - the arguments to the bindings creator, args[0] sourceDir, args[1] destination file, [Optional args[2]=namespace of configuration file, args[3]=relative link to target schema file].
Throws:
XMLStreamException
IOException


Copyright © 2011. All Rights Reserved.