public class ActionResultGenerator extends AbstractGenerator
| Modifier and Type | Field and Description |
|---|---|
static String |
MAP_REQUEST_ATTR
Request attribute name containing the map to use.
|
objectModel, parameters, resolver, sourcecontentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer| Constructor and Description |
|---|
ActionResultGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
generate() |
protected void |
saxMap()
Sax the map in request attribute MAP_REQUEST_ATTR.
|
protected void |
saxMapItem(String key,
Object value)
Used by saxMap to sax one item
|
protected void |
saxParams()
Sax the sitemap parameters
|
protected void |
saxSource()
Take the url in the source and sax it
the request parameters are converted into jsParameters
|
recycle, setupsetConsumer, setContentHandler, setLexicalHandlerenableLogging, getLogger, setupLogger, setupLogger, setupLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetConsumerpublic static final String MAP_REQUEST_ATTR
public ActionResultGenerator()
public void generate() throws IOException, SAXException, ProcessingException
protected void saxSource() throws IOException, SAXException, ProcessingException
IOException - on errorSAXException - on errorProcessingException - on errorprotected void saxParams() throws IOException, SAXException, ProcessingException
IOException - on errorSAXException - on errorProcessingException - on errorprotected void saxMapItem(String key, Object value) throws IOException, SAXException, ProcessingException
key - The key of the itemvalue - The item to saxIOException - on errorSAXException - on errorProcessingException - on errorprotected void saxMap() throws IOException, SAXException, ProcessingException
IOException - on errorSAXException - on errorProcessingException - on error