org.kuali.student.common.search.service.impl
Class SearchConfigFormatter

java.lang.Object
  extended by org.kuali.student.common.search.service.impl.SearchConfigFormatter

public class SearchConfigFormatter
extends Object


Field Summary
private  StringBuilder builder
           
private  String colSeperator
           
private  ObjectStructureDefinition os
           
private  Map<String,String> queryMap
           
private  String rowSeperator
           
private  Map<String,SearchTypeInfo> searchInfoTypeMap
           
 
Constructor Summary
SearchConfigFormatter(Map<String,SearchTypeInfo> searchInfoTypeMap, Map<String,String> queryMap)
           
 
Method Summary
private  String escapeWiki(String str)
           
 String formatForWiki()
           
private  void formatSearchType(String name, SearchTypeInfo st)
           
 String getColSeparator()
           
 String getRowSeperator()
           
private  String pad(String str, int size)
           
 void setColSeparator(String separator)
           
 void setRowSeperator(String rowSeperator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

builder

private StringBuilder builder

os

private ObjectStructureDefinition os

rowSeperator

private String rowSeperator

colSeperator

private String colSeperator

searchInfoTypeMap

private Map<String,SearchTypeInfo> searchInfoTypeMap

queryMap

private Map<String,String> queryMap
Constructor Detail

SearchConfigFormatter

public SearchConfigFormatter(Map<String,SearchTypeInfo> searchInfoTypeMap,
                             Map<String,String> queryMap)
Method Detail

getRowSeperator

public String getRowSeperator()

setRowSeperator

public void setRowSeperator(String rowSeperator)

getColSeparator

public String getColSeparator()

setColSeparator

public void setColSeparator(String separator)

pad

private String pad(String str,
                   int size)

formatForWiki

public String formatForWiki()

formatSearchType

private void formatSearchType(String name,
                              SearchTypeInfo st)

escapeWiki

private String escapeWiki(String str)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.