myDataMapping.xml
Class XsdJdom

java.lang.Object
  extended by myDataMapping.xml.XsdJdom

public class XsdJdom
extends java.lang.Object

create xml schema with input of fileA and output of fileB


Constructor Summary
XsdJdom()
          constructor
 
Method Summary
 java.util.List<org.jdom.Element> combine2Schema(java.lang.String fileNameA, java.lang.String opA, java.lang.String fileNameB, java.lang.String opB)
          abstract input element tree of fileA schema abstract output element tree of fileB schema return list of elements of both above
 void createSchema(java.lang.String fileNameA, java.lang.String opA, java.lang.String fileNameB, java.lang.String opB, java.lang.String outFileName, java.lang.String opOutFile)
          create xml schema with input of fileA opA and output of fileB opB update the target wsdl schema with new schema update target wsdl op-->input-->message-->part-->element name with fileA input part element name update target wsdl op-->output-->message-->part-->element name with fileB output part element
static void main(java.lang.String[] args)
          for test
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XsdJdom

public XsdJdom()
constructor

Method Detail

combine2Schema

public java.util.List<org.jdom.Element> combine2Schema(java.lang.String fileNameA,
                                                       java.lang.String opA,
                                                       java.lang.String fileNameB,
                                                       java.lang.String opB)
abstract input element tree of fileA schema abstract output element tree of fileB schema return list of elements of both above

Parameters:
fileNameA -
opA -
fileNameB -
opB -
Returns:

createSchema

public void createSchema(java.lang.String fileNameA,
                         java.lang.String opA,
                         java.lang.String fileNameB,
                         java.lang.String opB,
                         java.lang.String outFileName,
                         java.lang.String opOutFile)
create xml schema with input of fileA opA and output of fileB opB update the target wsdl schema with new schema update target wsdl op-->input-->message-->part-->element name with fileA input part element name update target wsdl op-->output-->message-->part-->element name with fileB output part element

Parameters:
fileNameA -
opA -
fileNameB -
opB -
outFileName -
opOutFile -

main

public static void main(java.lang.String[] args)
for test

Parameters:
args -