uk.ac.ncl.cs.instantsoap.webapp
Class ApplicationDisplayHelper

java.lang.Object
  extended by uk.ac.ncl.cs.instantsoap.webapp.ApplicationDisplayHelper

public class ApplicationDisplayHelper
extends Object

Has re-useable code for displaying parts of the Application class

Author:
Allyson Lister

Constructor Summary
ApplicationDisplayHelper()
           
 
Method Summary
static void displayApplicationXML(PrintWriter out, Application applicationToDisplay)
           
static void displayHowMany(PrintWriter out, String groupingNumberLabel, String howManyPhrase)
           
static void displayInputOrOutput(javax.servlet.jsp.JspWriter out, javax.servlet.http.HttpSession session, String labelPrefix, String groupingNumberLabel)
           
static void displayMetaData(javax.servlet.jsp.JspWriter out, javax.servlet.http.HttpSession session, String displayName, String optionalLabelPrefix)
           
static void displayOption(PrintWriter out, javax.servlet.http.HttpSession session, String howManyOptionPhrase, String howManyOptionValuePhrase, String groupingNumberLabel, String groupingLabel)
           
static void displayVariableExpression(PrintWriter out, javax.servlet.http.HttpSession session, String howManyPhrase, String groupingNumberLabel, String groupingLabel, String groupingWord)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationDisplayHelper

public ApplicationDisplayHelper()
Method Detail

displayMetaData

public static void displayMetaData(javax.servlet.jsp.JspWriter out,
                                   javax.servlet.http.HttpSession session,
                                   String displayName,
                                   String optionalLabelPrefix)
                            throws IOException
Throws:
IOException

displayHowMany

public static void displayHowMany(PrintWriter out,
                                  String groupingNumberLabel,
                                  String howManyPhrase)

displayOption

public static void displayOption(PrintWriter out,
                                 javax.servlet.http.HttpSession session,
                                 String howManyOptionPhrase,
                                 String howManyOptionValuePhrase,
                                 String groupingNumberLabel,
                                 String groupingLabel)

displayVariableExpression

public static void displayVariableExpression(PrintWriter out,
                                             javax.servlet.http.HttpSession session,
                                             String howManyPhrase,
                                             String groupingNumberLabel,
                                             String groupingLabel,
                                             String groupingWord)

displayInputOrOutput

public static void displayInputOrOutput(javax.servlet.jsp.JspWriter out,
                                        javax.servlet.http.HttpSession session,
                                        String labelPrefix,
                                        String groupingNumberLabel)
                                 throws IOException
Throws:
IOException

displayApplicationXML

public static void displayApplicationXML(PrintWriter out,
                                         Application applicationToDisplay)
                                  throws JAXBException,
                                         ParserConfigurationException,
                                         TransformerException
Throws:
JAXBException
ParserConfigurationException
TransformerException


Copyright © 2006-2008. All Rights Reserved.