myDataMapping.app
Class Mediation

java.lang.Object
  extended by myDataMapping.app.Mediation

public class Mediation
extends java.lang.Object


Constructor Summary
Mediation()
           
 
Method Summary
static java.lang.String getElementConcept(java.lang.String fileName, java.lang.String eleName)
          given file name, element name, retrive back its modelReference concept if not exist, return null;
 java.util.Map<java.lang.String,java.lang.String> getMatchedOp1outputToOp2inputMap(java.lang.String ontoFilename, java.lang.String fileA, java.lang.String opA, java.lang.String fileB, java.lang.String opB)
          given annotated two sawsdl files find the input output elements of fileA which matche input elements of fileB return matched elements map
 java.util.Map<java.lang.String,java.lang.String> getMatchedXpathMap(java.lang.String ontoFilename, java.lang.String fileA, java.lang.String opA, java.lang.String fileB, java.lang.String opB)
          given annotated two sawsdl files find the input output elements of fileA which matche input elements of fileB return matched elements xpath map
 java.util.List<java.lang.String> getMissedEleList(java.lang.String ontoFilename, java.lang.String fileA, java.lang.String opA, java.lang.String fileB, java.lang.String opB)
          given annotated two sawsdl files find the missed input elements of fileB which has no matched elements to input of fileA return list of missed input element names of fileB
 java.util.Map<java.lang.String,java.lang.String> getMissedEleXpathMap(java.lang.String ontoFilename, java.lang.String fileA, java.lang.String opA, java.lang.String fileB, java.lang.String opB)
          given annotated two sawsdl files find the missed input elements of fileB which has no matched elements to input of fileA return the missed element-xpath map
 java.util.List<java.lang.String> getOpInBottomEleNameList(java.lang.String fileName, java.lang.String opName)
          get the bottom element name of input of given operation
 java.util.Map<java.lang.String,java.lang.String> getOpInBottomEleNameXpathMap(java.lang.String fileName, java.lang.String opName)
          get input bottom element-Xpath map of given operation in given wsdl file
 java.util.List<java.lang.String> getOpOutBottomEleNameList(java.lang.String fileName, java.lang.String opName)
          get the bottom element name of output of given operation
 java.util.Map<java.lang.String,java.lang.String> getOpOutBottomEleNameXpathMap(java.lang.String fileName, java.lang.String opName)
          get output bottom element-Xpath map of given operation in given wsdl file
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mediation

public Mediation()
Method Detail

getOpInBottomEleNameList

public java.util.List<java.lang.String> getOpInBottomEleNameList(java.lang.String fileName,
                                                                 java.lang.String opName)
get the bottom element name of input of given operation

Parameters:
fileName -
opName -
Returns:

getOpOutBottomEleNameList

public java.util.List<java.lang.String> getOpOutBottomEleNameList(java.lang.String fileName,
                                                                  java.lang.String opName)
get the bottom element name of output of given operation

Parameters:
fileName -
opName -
Returns:

getOpInBottomEleNameXpathMap

public java.util.Map<java.lang.String,java.lang.String> getOpInBottomEleNameXpathMap(java.lang.String fileName,
                                                                                     java.lang.String opName)
get input bottom element-Xpath map of given operation in given wsdl file

Parameters:
fileName -
opName -
Returns:

getOpOutBottomEleNameXpathMap

public java.util.Map<java.lang.String,java.lang.String> getOpOutBottomEleNameXpathMap(java.lang.String fileName,
                                                                                      java.lang.String opName)
get output bottom element-Xpath map of given operation in given wsdl file

Parameters:
fileName -
opName -
Returns:

getElementConcept

public static java.lang.String getElementConcept(java.lang.String fileName,
                                                 java.lang.String eleName)
given file name, element name, retrive back its modelReference concept if not exist, return null;

Parameters:
fileName -
eleName -
Returns:

getMatchedOp1outputToOp2inputMap

public java.util.Map<java.lang.String,java.lang.String> getMatchedOp1outputToOp2inputMap(java.lang.String ontoFilename,
                                                                                         java.lang.String fileA,
                                                                                         java.lang.String opA,
                                                                                         java.lang.String fileB,
                                                                                         java.lang.String opB)
given annotated two sawsdl files find the input output elements of fileA which matche input elements of fileB return matched elements map

Parameters:
ontoFilename -
fileA -
opA -
fileB -
opB -
Returns:

getMatchedXpathMap

public java.util.Map<java.lang.String,java.lang.String> getMatchedXpathMap(java.lang.String ontoFilename,
                                                                           java.lang.String fileA,
                                                                           java.lang.String opA,
                                                                           java.lang.String fileB,
                                                                           java.lang.String opB)
given annotated two sawsdl files find the input output elements of fileA which matche input elements of fileB return matched elements xpath map

Parameters:
ontoFilename -
fileA -
opA -
fileB -
opB -
Returns:

getMissedEleList

public java.util.List<java.lang.String> getMissedEleList(java.lang.String ontoFilename,
                                                         java.lang.String fileA,
                                                         java.lang.String opA,
                                                         java.lang.String fileB,
                                                         java.lang.String opB)
given annotated two sawsdl files find the missed input elements of fileB which has no matched elements to input of fileA return list of missed input element names of fileB

Parameters:
ontoFilename -
fileA -
opA -
fileB -
opB -
Returns:

getMissedEleXpathMap

public java.util.Map<java.lang.String,java.lang.String> getMissedEleXpathMap(java.lang.String ontoFilename,
                                                                             java.lang.String fileA,
                                                                             java.lang.String opA,
                                                                             java.lang.String fileB,
                                                                             java.lang.String opB)
given annotated two sawsdl files find the missed input elements of fileB which has no matched elements to input of fileA return the missed element-xpath map

Parameters:
ontoFilename -
fileA -
opA -
fileB -
opB -
Returns:

main

public static void main(java.lang.String[] args)
Parameters:
args -