eu.scape_project.xa.tw.gen
Class ServiceCodeCreator

java.lang.Object
  extended by eu.scape_project.xa.tw.gen.ServiceCodeCreator

public class ServiceCodeCreator
extends Object

Version:
0.3
Author:
shsdev https://github.com/shsdev

Constructor Summary
ServiceCodeCreator(PropertiesSubstitutor st, ServiceCode sc, ServiceXml sxml, List<Operation> operations)
          Constructor of the service code creator
 
Method Summary
protected  void addDataSection(Operation operation, OperationCode oc, InOut inout)
          Add an input/output data section to the operation
 void createOperations()
          Create operations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceCodeCreator

public ServiceCodeCreator(PropertiesSubstitutor st,
                          ServiceCode sc,
                          ServiceXml sxml,
                          List<Operation> operations)
Constructor of the service code creator

Parameters:
st - Substitutor, contains global project value-key pairs
sc - Service code, the java code that is created for the service
sxml - services xml, the axis2 web service definition file
operations - The operations that are defined for the service
Method Detail

createOperations

public void createOperations()
                      throws IOException,
                             GeneratorException
Create operations

Throws:
IOException
GeneratorException

addDataSection

protected void addDataSection(Operation operation,
                              OperationCode oc,
                              InOut inout)
                       throws GeneratorException
Add an input/output data section to the operation

Parameters:
operation -
oc -
inout -
Throws:
GeneratorException


Copyright © 2013. All Rights Reserved.