org.apache.myfaces.custom.transform
Class XmlTransform

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.apache.myfaces.custom.transform.AbstractXmlTransform
              extended by org.apache.myfaces.custom.transform.XmlTransform
All Implemented Interfaces:
javax.faces.component.StateHolder

public class XmlTransform
extends AbstractXmlTransform


Field Summary
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Constructor Summary
XmlTransform()
           
 
Method Summary
 java.lang.String getContent()
          String containing the XML content to be transformed.
 java.lang.String getContentLocation()
          String containing the location of the XML content to be transformed.
 java.lang.String getFamily()
           
 java.lang.String getStylesheet()
          String containing the XSL information to use in the transformation.
 java.lang.String getStylesheetLocation()
          String containing the location of the XSL stylesheet to use in the transformation.
 void restoreState(javax.faces.context.FacesContext facesContext, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext facesContext)
           
 void setContent(java.lang.String content)
           
 void setContentLocation(java.lang.String contentLocation)
           
 void setStylesheet(java.lang.String stylesheet)
           
 void setStylesheetLocation(java.lang.String stylesheetLocation)
           
 
Methods inherited from class org.apache.myfaces.custom.transform.AbstractXmlTransform
encodeBegin, encodeChildren, encodeEnd, getContentStream, getStyleStream, setContentStream, setStyleStream
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId, getValueExpression, setValueExpression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_FAMILY

public static final java.lang.String COMPONENT_FAMILY
See Also:
Constant Field Values

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values
Constructor Detail

XmlTransform

public XmlTransform()
Method Detail

getFamily

public java.lang.String getFamily()
Overrides:
getFamily in class AbstractXmlTransform

getContent

public java.lang.String getContent()
Description copied from class: AbstractXmlTransform
String containing the XML content to be transformed.

Specified by:
getContent in class AbstractXmlTransform

setContent

public void setContent(java.lang.String content)

getContentLocation

public java.lang.String getContentLocation()
Description copied from class: AbstractXmlTransform
String containing the location of the XML content to be transformed.

Specified by:
getContentLocation in class AbstractXmlTransform

setContentLocation

public void setContentLocation(java.lang.String contentLocation)

getStylesheet

public java.lang.String getStylesheet()
Description copied from class: AbstractXmlTransform
String containing the XSL information to use in the transformation.

Specified by:
getStylesheet in class AbstractXmlTransform

setStylesheet

public void setStylesheet(java.lang.String stylesheet)

getStylesheetLocation

public java.lang.String getStylesheetLocation()
Description copied from class: AbstractXmlTransform
String containing the location of the XSL stylesheet to use in the transformation.

Specified by:
getStylesheetLocation in class AbstractXmlTransform

setStylesheetLocation

public void setStylesheetLocation(java.lang.String stylesheetLocation)

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext facesContext)
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 facesContext,
                         java.lang.Object state)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class javax.faces.component.UIComponentBase


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.