org.barracudamvc.examples.xmlc
Class CompEx10
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.barracudamvc.core.comp.helper.ComponentGateway
org.barracudamvc.core.comp.helper.BTemplateGateway
org.barracudamvc.examples.xmlc.CompEx10
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class CompEx10
- extends BTemplateGateway
Make sure a reusable component can handle nested images within an anchor element
- See Also:
- Serialized Form
Methods inherited from class javax.servlet.http.HttpServlet |
doHead, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NUMBER_OF_ROWS
public static int NUMBER_OF_ROWS
CompEx10
public CompEx10()
getTemplateModel
public TemplateModel getTemplateModel()
- Return an instance of the template model
- Specified by:
getTemplateModel
in class BTemplateGateway
getTemplateClass
public Class getTemplateClass()
- Return an instance of the template class (must implement Document)
- Specified by:
getTemplateClass
in class BTemplateGateway
getDOMWriter
public DOMWriter getDOMWriter()
- Description copied from class:
ComponentGateway
Get a DOMWriter. By default, we use a DefaultDOMWriter. If
you'd like to use something else, override this method.
- Overrides:
getDOMWriter
in class ComponentGateway
- Returns:
- a DOMWriter to be used to render the DOM
getIterator
public BlockIterator getIterator(String key)
- Description copied from class:
ComponentGateway
- Get a block iterator (optional)
- Overrides:
getIterator
in class ComponentGateway
getLocalModel
public IterativeModel getLocalModel()
Copyright © 2006 BarracudaMVC.org All Rights Reserved.