|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.student.contract.writer.search.SearchModelWriter
public class SearchModelWriter
This writes out the entire search xml file
Field Summary | |
---|---|
private SearchModel |
model
|
private XmlWriter |
writer
|
Constructor Summary | |
---|---|
SearchModelWriter(PrintStream out,
SearchModel model)
|
Method Summary | |
---|---|
private void |
decrementIndent()
|
private List<SearchImplementation> |
getImplementations()
|
private List<SearchImplementation> |
getJPQLImplementations()
|
private List<SearchCriteria> |
getSearchCriteria()
|
private List<SearchCriteriaParameter> |
getSearchCriteriaParameters()
|
private List<SearchResultColumn> |
getSearchResultColumns()
|
private List<SearchResult> |
getSearchResults()
|
private void |
incrementIndent()
|
private void |
indentPrint(String str)
|
private void |
indentPrintln(String str)
|
private void |
println(String str)
|
void |
write()
Write out the entire file |
private void |
writeAttribute(String attribute,
String value)
|
private void |
writeComment(String str)
|
protected void |
writeFooter()
|
protected void |
writeHeader()
write out the header |
protected void |
writeSearchCriteria()
write out the the object structure |
protected void |
writeSearchCriteriaParameters()
write out the the object structure |
protected void |
writeSearchResultColumns()
write out the the object structure |
protected void |
writeSearchResultTypes()
write out the the object structure |
protected void |
writeSearchTypes()
write out the the base fields |
protected void |
writeSqlQueryMap()
write out the the object structure |
private void |
writeTag(String tag,
String value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private SearchModel model
private XmlWriter writer
Constructor Detail |
---|
public SearchModelWriter(PrintStream out, SearchModel model)
Method Detail |
---|
public void write()
out
- private void indentPrint(String str)
private void indentPrintln(String str)
private void println(String str)
private void writeComment(String str)
private void incrementIndent()
private void decrementIndent()
private void writeTag(String tag, String value)
private void writeAttribute(String attribute, String value)
protected void writeHeader()
out
- protected void writeFooter()
protected void writeSearchTypes()
out
- protected void writeSearchResultTypes()
out
- private List<SearchResult> getSearchResults()
protected void writeSearchResultColumns()
out
- private List<SearchResultColumn> getSearchResultColumns()
protected void writeSearchCriteria()
out
- private List<SearchCriteria> getSearchCriteria()
protected void writeSearchCriteriaParameters()
out
- private List<SearchCriteriaParameter> getSearchCriteriaParameters()
protected void writeSqlQueryMap()
out
- private List<SearchImplementation> getImplementations()
private List<SearchImplementation> getJPQLImplementations()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |