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:
java.util.EventListener, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder

public class XmlTransform
extends AbstractXmlTransform


Nested Class Summary
protected static class XmlTransform.PropertyKeys
           
 
Field Summary
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
 
Fields inherited from class javax.faces.component.UIComponent
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY
 
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 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
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTree
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
 
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)


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