org.enhydra.barracuda.examples.xmlc
Class CompEx7
java.lang.Object
|
+--javax.servlet.GenericServlet
|
+--javax.servlet.http.HttpServlet
|
+--org.enhydra.barracuda.core.comp.helper.ComponentGateway
|
+--org.enhydra.barracuda.examples.xmlc.CompEx7
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class CompEx7
- extends ComponentGateway
Test BText ability to return encoded text, as well as markup
Created to test the implementation of csc_092701.1
- 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 |
CompEx7
public CompEx7()
handleDefault
public org.w3c.dom.Document handleDefault(BComponent root,
ViewContext vc,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws java.io.IOException
- Handle the default HttpRequest.
- Specified by:
handleDefault
in class ComponentGateway
- Parameters:
root
- the root component which will get rendered as a result
of this requestvc
- the ViewContext object describes what features the
client view is capable of supportingreq
- the servlet request
- Returns:
- the Document to be rendered
- Throws:
java.io.IOException
getDOMWriter
public DOMWriter getDOMWriter()
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
Copyright © 2001 Enhydra.org