org.apache.myfaces.custom.template
Class XmlTemplate
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.apache.myfaces.custom.template.XmlTemplate
- All Implemented Interfaces:
- javax.faces.component.StateHolder
public class XmlTemplate
- extends javax.faces.component.UIComponentBase
Used to transform XML (from either a String or URL) using either XSLT or
Velocity.
- Author:
- Sean Schofield
Methods inherited from class javax.faces.component.UIComponentBase |
addFacesListener, broadcast, decode, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPONENT_TYPE
public static final java.lang.String COMPONENT_TYPE
- See Also:
- Constant Field Values
COMPONENT_FAMILY
public static final java.lang.String COMPONENT_FAMILY
- See Also:
- Constant Field Values
XmlTemplate
public XmlTemplate()
getFamily
public java.lang.String getFamily()
- Specified by:
getFamily
in class javax.faces.component.UIComponent
encodeBegin
public void encodeBegin(javax.faces.context.FacesContext context)
throws java.io.IOException
- Overrides:
encodeBegin
in class javax.faces.component.UIComponentBase
- Throws:
java.io.IOException
encodeChildren
public void encodeChildren(javax.faces.context.FacesContext context)
throws java.io.IOException
- Overrides:
encodeChildren
in class javax.faces.component.UIComponentBase
- Throws:
java.io.IOException
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext context)
throws java.io.IOException
- Overrides:
encodeEnd
in class javax.faces.component.UIComponentBase
- Throws:
java.io.IOException
saveState
public java.lang.Object saveState(javax.faces.context.FacesContext context)
- Specified by:
saveState
in interface javax.faces.component.StateHolder
- Overrides:
saveState
in class javax.faces.component.UIComponentBase
restoreState
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
- Specified by:
restoreState
in interface javax.faces.component.StateHolder
- Overrides:
restoreState
in class javax.faces.component.UIComponentBase
setContent
public void setContent(java.lang.String content)
getContent
public java.lang.String getContent()
setContentLocation
public void setContentLocation(java.lang.String contentLocation)
getContentLocation
public java.lang.String getContentLocation()
setStylesheet
public void setStylesheet(java.lang.String stylesheet)
getStylesheet
public java.lang.String getStylesheet()
setContentStream
public void setContentStream(java.lang.Object contentStream)
getContentStream
public java.lang.Object getContentStream()
setStylesheetLocation
public void setStylesheetLocation(java.lang.String stylesheetLocation)
getStylesheetLocation
public java.lang.String getStylesheetLocation()
setStyleStream
public void setStyleStream(java.lang.Object styleStream)
getStyleStream
public java.lang.Object getStyleStream()
Copyright © 2009. All Rights Reserved.