|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.apache.myfaces.custom.transform.AbstractXmlTransform
public abstract class AbstractXmlTransform
Transforms XML using and XSL stylesheet. Used to transform XML (from either a String or URL) using either XSLT or Velocity.
Field Summary | |
---|---|
static String |
COMPONENT_FAMILY
|
static String |
COMPONENT_TYPE
|
Constructor Summary | |
---|---|
AbstractXmlTransform()
|
Method Summary | |
---|---|
void |
encodeBegin(javax.faces.context.FacesContext context)
|
void |
encodeChildren(javax.faces.context.FacesContext context)
|
void |
encodeEnd(javax.faces.context.FacesContext context)
|
abstract String |
getContent()
String containing the XML content to be transformed. |
abstract String |
getContentLocation()
String containing the location of the XML content to be transformed. |
Object |
getContentStream()
Value binding expression referencing an InputStream from which the XML content is to be read. |
String |
getFamily()
|
abstract String |
getStylesheet()
String containing the XSL information to use in the transformation. |
abstract String |
getStylesheetLocation()
String containing the location of the XSL stylesheet to use in the transformation. |
Object |
getStyleStream()
Value binding expression referencing an InputStream from which the XSL stylesheet is to be read. |
void |
setContentStream(Object contentStream)
|
void |
setStyleStream(Object styleStream)
|
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, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
Constructor Detail |
---|
public AbstractXmlTransform()
Method Detail |
---|
public String getFamily()
getFamily
in class javax.faces.component.UIComponent
public void encodeBegin(javax.faces.context.FacesContext context) throws IOException
encodeBegin
in class javax.faces.component.UIComponentBase
IOException
public void encodeChildren(javax.faces.context.FacesContext context) throws IOException
encodeChildren
in class javax.faces.component.UIComponentBase
IOException
public void encodeEnd(javax.faces.context.FacesContext context) throws IOException
encodeEnd
in class javax.faces.component.UIComponentBase
IOException
public abstract String getContent()
public abstract String getContentLocation()
public abstract String getStylesheet()
public void setContentStream(Object contentStream)
public Object getContentStream()
public abstract String getStylesheetLocation()
public void setStyleStream(Object styleStream)
public Object getStyleStream()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |