public class TagletProcessor extends Object
TagletProcessor
is responsible for handling taglet-calls from a JSPTaglet
,
GlobalTaglet
,
XMLTaglet
,
GlobalXMLTaglet
Constructor and Description |
---|
TagletProcessor() |
Modifier and Type | Method and Description |
---|---|
protected void |
doWrite(Writer out,
String result,
Application application,
String methodName) |
MarshallService |
getMarshallService() |
StyleSheetProvider |
getStyleSheetProvider() |
boolean |
perform(Site callingSite,
Site executingSite,
Application application,
Map<String,String> tagletAttributes,
Request applicationRequest,
String methodName,
String type,
Writer out)
Performs the actual taglet-call.
|
void |
setMarshallService(MarshallService marshallService) |
void |
setStyleSheetProvider(StyleSheetProvider styleSheetProvider) |
public boolean perform(Site callingSite, Site executingSite, Application application, Map<String,String> tagletAttributes, Request applicationRequest, String methodName, String type, Writer out) throws JAXBException, TransformerConfigurationException, FileNotFoundException, BusinessException
callingSite
- the Site
where the taglet-call happenedexecutingSite
- the Site
that actually executes the tagletapplication
- the Application
from where the taglet comes fromtagletAttributes
- the attributes of the taglet-callapplicationRequest
- the current Request
methodName
- the name of the taglet to be calledtype
- the type of the taglet, may be text
or xml
out
- a Writer
used to write the output of the taglettrue
if the JSP should be further processed, false
otherwiseJAXBException
TransformerConfigurationException
FileNotFoundException
BusinessException
protected void doWrite(Writer out, String result, Application application, String methodName)
public MarshallService getMarshallService()
public void setMarshallService(MarshallService marshallService)
public StyleSheetProvider getStyleSheetProvider()
public void setStyleSheetProvider(StyleSheetProvider styleSheetProvider)
Copyright © 2011–2021 aiticon GmbH. All rights reserved.