org.kuali.student.contract.writer.service
Class PureJavaInfcWriterForOneService

java.lang.Object
  extended by org.kuali.student.contract.writer.service.PureJavaInfcWriterForOneService

public class PureJavaInfcWriterForOneService
extends Object

Author:
nwright

Field Summary
private  String directory
           
private  ModelFinder finder
           
private  ServiceContractModel model
           
private  String rootPackage
           
private  String servKey
           
 
Constructor Summary
PureJavaInfcWriterForOneService(ServiceContractModel model, String directory, String rootPackage, String servKey)
           
 
Method Summary
private  void addTypeAndAllSubTypes(Set<XmlType> set, XmlType xmlType)
           
private  void addXmlTypesUsedByMessageStructure(Set<XmlType> set, XmlType xmlType)
           
private  Set<XmlType> getXmlTypesUsedByService(List<ServiceMethod> methods)
           
private  Set<XmlType> getXmlTypesUsedJustByService()
           
private  String stripListFromType(String type)
           
 void write()
          Write out the entire file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

model

private ServiceContractModel model

finder

private ModelFinder finder

directory

private String directory

rootPackage

private String rootPackage

servKey

private String servKey
Constructor Detail

PureJavaInfcWriterForOneService

public PureJavaInfcWriterForOneService(ServiceContractModel model,
                                       String directory,
                                       String rootPackage,
                                       String servKey)
Method Detail

write

public void write()
Write out the entire file

Parameters:
out -

getXmlTypesUsedJustByService

private Set<XmlType> getXmlTypesUsedJustByService()

getXmlTypesUsedByService

private Set<XmlType> getXmlTypesUsedByService(List<ServiceMethod> methods)

addTypeAndAllSubTypes

private void addTypeAndAllSubTypes(Set<XmlType> set,
                                   XmlType xmlType)

stripListFromType

private String stripListFromType(String type)

addXmlTypesUsedByMessageStructure

private void addXmlTypesUsedByMessageStructure(Set<XmlType> set,
                                               XmlType xmlType)


Copyright © 2007-2012 The Kuali Foundation. All Rights Reserved.