wt.enterprise
Class CabinetsTemplateFactory

java.lang.Object
  extended bywt.enterprise.CabinetsTemplateFactory
All Implemented Interfaces:
ApplicationContextChild

public class CabinetsTemplateFactory
extends Object
implements ApplicationContextChild

This class serves as an HTML template file factory for the CabinetsTemplateProcessor. It is intended to be used only via the CabinetsTemplateProcessor.

Supported API: false

See Also:
CabinetsTemplateProcessor

Field Summary
private  ApplicationContext applicationContext
           
private static String CLASSNAME
           
private static String RESOURCE
           
private static boolean VERBOSE
           
 
Fields inherited from interface wt.services.applicationcontext.ApplicationContextChild
APPLICATION_CONTEXT
 
Constructor Summary
CabinetsTemplateFactory()
          

Supported API: false
 
Method Summary
 ApplicationContext getApplicationContext()
          

Supported API: false Gets the object for the association that plays role: APPLICATION_CONTEXT.
 ApplicationContextServices getApplicationContextServices()
          

Supported API: false
 HTMLTemplate getHTMLTemplate(Object requestor, String templateFileResource)
          Factory method to return an instance of the TemplateProcessor for the object passed.
 void setApplicationContext(ApplicationContext a_ApplicationContext)
          

Supported API: false Sets the object for the association that plays role: APPLICATION_CONTEXT.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERBOSE

private static boolean VERBOSE

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

applicationContext

private ApplicationContext applicationContext
Constructor Detail

CabinetsTemplateFactory

public CabinetsTemplateFactory()
                        throws UnableToLoadServiceProperties


Supported API: false

Throws:
UnableToLoadServiceProperties
Method Detail

getHTMLTemplate

public HTMLTemplate getHTMLTemplate(Object requestor,
                                    String templateFileResource)
                             throws WTException
Factory method to return an instance of the TemplateProcessor for the object passed. The templateFileResource is optional, and can be used to override the value normally returned by the factory.

Supported API: false

Throws:
WTException
PropertyVetoException

getApplicationContext

public ApplicationContext getApplicationContext()


Supported API: false Gets the object for the association that plays role: APPLICATION_CONTEXT.

Specified by:
getApplicationContext in interface ApplicationContextChild
Returns:
ApplicationContext

setApplicationContext

public void setApplicationContext(ApplicationContext a_ApplicationContext)
                           throws WTPropertyVetoException


Supported API: false Sets the object for the association that plays role: APPLICATION_CONTEXT.

Specified by:
setApplicationContext in interface ApplicationContextChild
Parameters:
a_ApplicationContext -
Throws:
WTPropertyVetoException

getApplicationContextServices

public ApplicationContextServices getApplicationContextServices()


Supported API: false