|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.Writer
javax.faces.context.ResponseWriter
javax.faces.context.ResponseWriterWrapper
com.liferay.faces.util.render.internal.DelegationResponseWriter
com.liferay.faces.util.render.internal.DelegationResponseWriterBase
com.liferay.faces.util.render.internal.IdDelegationResponseWriter
public class IdDelegationResponseWriter
This class is a DelegationResponseWriter that ensures the "id" attribute is always written to a particular
element. There are two general use cases for this class: 1. Ensure that the id is always rendered for a specific
element. 2. Render a different id than the delegating renderer would normally render.
| Field Summary |
|---|
| Fields inherited from class java.io.Writer |
|---|
lock |
| Constructor Summary | |
|---|---|
IdDelegationResponseWriter(javax.faces.context.ResponseWriter responseWriter,
String idElement,
String idValue)
|
|
| Method Summary | |
|---|---|
void |
endElement(String name)
|
void |
startElement(String name,
javax.faces.component.UIComponent component)
|
void |
writeAttribute(String name,
Object value,
String property)
|
| Methods inherited from class com.liferay.faces.util.render.internal.DelegationResponseWriterBase |
|---|
getWrapped |
| Methods inherited from class javax.faces.context.ResponseWriterWrapper |
|---|
cloneWithWriter, close, endCDATA, endDocument, flush, getCharacterEncoding, getContentType, startCDATA, startDocument, write, writeComment, writeDoctype, writePreamble, writeText, writeText, writeText, writeURIAttribute |
| Methods inherited from class java.io.Writer |
|---|
append, append, append, write, write, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IdDelegationResponseWriter(javax.faces.context.ResponseWriter responseWriter,
String idElement,
String idValue)
| Method Detail |
|---|
public void endElement(String name)
throws IOException
endElement in class javax.faces.context.ResponseWriterWrapperIOException
public void startElement(String name,
javax.faces.component.UIComponent component)
throws IOException
startElement in class javax.faces.context.ResponseWriterWrapperIOException
public void writeAttribute(String name,
Object value,
String property)
throws IOException
writeAttribute in class javax.faces.context.ResponseWriterWrapperIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||