org.kuali.student.contract.model.util
Class HtmlContractMessageStructureWriter

java.lang.Object
  extended by org.kuali.student.contract.model.util.HtmlContractMessageStructureWriter

public class HtmlContractMessageStructureWriter
extends Object

Author:
nwright

Field Summary
private  ModelFinder finder
           
private  ServiceContractModel model
           
private  HtmlWriter writer
           
private  XmlType xmlType
           
 
Constructor Summary
HtmlContractMessageStructureWriter(XmlType xmlType, String directory, ServiceContractModel model)
           
 
Method Summary
private  String addHTMLBreaks(String str)
           
static Set<String> calcOtherXmlTypeUsages(ServiceContractModel mdl, XmlType xmlType)
           
private  Set<String> calcOtherXmlTypeUsages(XmlType xmlType)
           
static Set<ServiceMethod> calcUsageByMethods(ServiceContractModel mdl, XmlType xmlType)
           
private  Set<ServiceMethod> calcUsageByMethods(XmlType xmlType)
           
static Set<String> calcUsageByService(ServiceContractModel mdl, XmlType xmlType)
           
private  String checkForNbsp(String str)
           
private  String initUpper(String str)
           
private  boolean isMainMessageStructure(XmlType xmlType)
           
private  String missingData(String str)
           
private static String stripListFromType(String type)
           
 void write()
           
private  void writeMessageStructure(MessageStructure ms)
           
 void writeStyleSheet()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xmlType

private XmlType xmlType

writer

private HtmlWriter writer

model

private ServiceContractModel model

finder

private ModelFinder finder
Constructor Detail

HtmlContractMessageStructureWriter

public HtmlContractMessageStructureWriter(XmlType xmlType,
                                          String directory,
                                          ServiceContractModel model)
Method Detail

initUpper

private String initUpper(String str)

isMainMessageStructure

private boolean isMainMessageStructure(XmlType xmlType)

write

public void write()

checkForNbsp

private String checkForNbsp(String str)

addHTMLBreaks

private String addHTMLBreaks(String str)

calcUsageByService

public static Set<String> calcUsageByService(ServiceContractModel mdl,
                                             XmlType xmlType)

calcUsageByMethods

private Set<ServiceMethod> calcUsageByMethods(XmlType xmlType)

calcUsageByMethods

public static Set<ServiceMethod> calcUsageByMethods(ServiceContractModel mdl,
                                                    XmlType xmlType)

calcOtherXmlTypeUsages

private Set<String> calcOtherXmlTypeUsages(XmlType xmlType)

calcOtherXmlTypeUsages

public static Set<String> calcOtherXmlTypeUsages(ServiceContractModel mdl,
                                                 XmlType xmlType)

writeMessageStructure

private void writeMessageStructure(MessageStructure ms)

missingData

private String missingData(String str)

stripListFromType

private static String stripListFromType(String type)

writeStyleSheet

public void writeStyleSheet()


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