com.liferay.faces.bridge.context.internal
Class HeadResponseWriterImpl
java.lang.Object
java.io.Writer
javax.faces.context.ResponseWriter
javax.faces.context.ResponseWriterWrapper
com.liferay.faces.bridge.context.HeadResponseWriter
com.liferay.faces.bridge.context.internal.HeadResponseWriterBase
com.liferay.faces.bridge.context.internal.HeadResponseWriterImpl
- All Implemented Interfaces:
- Closeable, Flushable, Appendable, javax.faces.FacesWrapper<javax.faces.context.ResponseWriter>
public class HeadResponseWriterImpl
- extends HeadResponseWriterBase
Custom ResponseWriter that has the ability to write to the
... section of the portal page via
the standard Portlet 2.0 MimeResponse.MARKUP_HEAD_ELEMENT mechanism.
- Author:
- Neil Griffin
|
Constructor Summary |
HeadResponseWriterImpl(javax.faces.context.ResponseWriter wrappedResponseWriter,
javax.portlet.PortletResponse portletResponse)
|
| Methods inherited from class com.liferay.faces.bridge.context.internal.HeadResponseWriterBase |
append, append, append, close, endCDATA, endDocument, endElement, escapeURI, flush, getWrapped, startCDATA, startDocument, startElement, write, write, write, write, write, writeAttribute, writeComment, writeText, writeText, writeText, writeURIAttribute |
| Methods inherited from class javax.faces.context.ResponseWriterWrapper |
cloneWithWriter, getCharacterEncoding, getContentType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HeadResponseWriterImpl
public HeadResponseWriterImpl(javax.faces.context.ResponseWriter wrappedResponseWriter,
javax.portlet.PortletResponse portletResponse)
createElement
public Element createElement(String name)
- Specified by:
createElement in class HeadResponseWriterBase
addResourceToHeadSection
protected void addResourceToHeadSection(Element element,
String nodeName)
throws IOException
- Specified by:
addResourceToHeadSection in class HeadResponseWriterBase
- Throws:
IOException
Copyright © 2015 Liferay, Inc.. All rights reserved.