Base class for shared behavior between Script and Stylesheet renderers. Maybe composition would be better, but inheritance is easier
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| protected static final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final void | decode(FacesContext
FacesContext for the request we are processingUIComponent to be decoded.Overrides javax. Decode any new state of the specified |
| public void | encodeBegin(FacesContext
FacesContext for the request we are processingUIComponent to be renderedOverrides javax. Render the beginning specified |
| public final void | encodeChildren(FacesContext
FacesContext for the response we are creatingUIComponent whose children are to be renderedOverrides javax. Render the child components of this |
| public void | encodeEnd(FacesContext
FacesContext for the response we are creatingUIComponent to be renderedOverrides javax. Render the ending of the current state of the specified
|
| protected abstract void | endExternalElement(ResponseWriter writer, UIComponent component, String resourceUrl)
Allow the subclass to customize the end external element content. |
| protected abstract void | endInlineElement(ResponseWriter writer, UIComponent component)
Allow the subclass to customize the end inline element content. |
| private static UIComponent | |
| public final boolean | getRendersChildren()
Overrides javax. Return a flag indicating whether this |
| public void | processEvent(ComponentSystemEvent
the event)ComponentSystemEvent instance that
is being processed.Implements javax. When called, the listener can assume that any guarantees given
in the javadoc for the specific |
| protected abstract void | startExternalElement(ResponseWriter writer, UIComponent component)
Allow the subclass to customize the start external element content. |
| protected abstract void | startInlineElement(ResponseWriter writer, UIComponent component)
Allow the subclass to customize the start inline element content. |
| protected String |
| COMP_KEY | back to summary |
|---|---|
| private static final String COMP_KEY | |
| logger | back to summary |
|---|---|
| protected static final Logger logger | |
| ScriptStyleBaseRenderer | back to summary |
|---|---|
| public ScriptStyleBaseRenderer() | |
| decode | back to summary |
|---|---|
| public final void decode(FacesContext context, UIComponent component) Overrides javax. Doc from javax. Decode any new state of the specified During decoding, events may be enqueued for later processing
(by event listeners that have registered an interest), by calling
| |
| encodeBegin | back to summary |
|---|---|
| public void encodeBegin(FacesContext context, UIComponent component) throws IOException Overrides javax. Doc from javax. Render the beginning specified
| |
| encodeChildren | back to summary |
|---|---|
| public final void encodeChildren(FacesContext context, UIComponent component) throws IOException Overrides javax. Doc from javax. Render the child components of this
| |
| encodeEnd | back to summary |
|---|---|
| public void encodeEnd(FacesContext context, UIComponent component) throws IOException Overrides javax. Doc from javax. Render the ending of the current state of the specified
| |
| endExternalElement | back to summary |
|---|---|
| protected abstract void endExternalElement(ResponseWriter writer, UIComponent component, String resourceUrl) throws IOException Allow the subclass to customize the end external element content. | |
| endInlineElement | back to summary |
|---|---|
| protected abstract void endInlineElement(ResponseWriter writer, UIComponent component) throws IOException Allow the subclass to customize the end inline element content. | |
| findComponentIgnoringNamingContainers | back to summary |
|---|---|
| private static UIComponent findComponentIgnoringNamingContainers(UIComponent base, String id, boolean checkId) | |
| getRendersChildren | back to summary |
|---|---|
| public final boolean getRendersChildren() Overrides javax. Doc from javax. Return a flag indicating whether this
| |
| processEvent | back to summary |
|---|---|
| public void processEvent(ComponentSystemEvent event) throws AbortProcessingException Implements javax. Doc from javax. When called, the listener can assume that any guarantees given
in the javadoc for the specific
| |
| startExternalElement | back to summary |
|---|---|
| protected abstract void startExternalElement(ResponseWriter writer, UIComponent component) throws IOException Allow the subclass to customize the start external element content. | |
| startInlineElement | back to summary |
|---|---|
| protected abstract void startInlineElement(ResponseWriter writer, UIComponent component) throws IOException Allow the subclass to customize the start inline element content. | |
| verifyTarget | back to summary |
|---|---|
| protected String verifyTarget(String toVerify) Allow a subclass to control what's a valid value for "target". | |