org.kuali.student.contract.model.util
Class HtmlContractWriter
java.lang.Object
org.kuali.student.contract.model.util.HtmlContractWriter
public class HtmlContractWriter
- extends Object
- Author:
- nwright
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
writer
private HtmlWriter writer
model
private ServiceContractModel model
finder
private ModelFinder finder
directory
private String directory
XML_TYPE_NAME_COMPARATOR
private static final Comparator<XmlType> XML_TYPE_NAME_COMPARATOR
SERVICE_NAME_COMPARATOR
private static final Comparator<Service> SERVICE_NAME_COMPARATOR
SERVICE_IMPL_NAME_COMPARATOR
private static final Comparator<Service> SERVICE_IMPL_NAME_COMPARATOR
HtmlContractWriter
public HtmlContractWriter(String directory,
ServiceContractModel model)
write
public void write()
writeIndexPage
private void writeIndexPage()
calcArea
private static String calcArea(Service service)
calcArea
private static String calcArea(String implProject)
writeMainOrRootList
private void writeMainOrRootList()
stripListOffEnd
private String stripListOffEnd(String name)
writeSubStructures
private void writeSubStructures(XmlType type,
Stack<String> stack)
calcParents
private String calcParents(Stack<String> stack)
writeLink
private void writeLink(XmlType type)
getMainMessageStructures
private List<XmlType> getMainMessageStructures()
isMainMessageStructure
private boolean isMainMessageStructure(XmlType xmlType)
getComplexMessageStructures
private List<XmlType> getComplexMessageStructures()
writeAlphabeticalList
private void writeAlphabeticalList()
Copyright © 2007-2012 The Kuali Foundation. All Rights Reserved.