Package org.zkoss.zml
Class Transformer
- java.lang.Object
-
- org.zkoss.zk.ui.AbstractComponent
-
- org.zkoss.zml.Transformer
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,org.zkoss.zk.ui.Component,org.zkoss.zk.ui.ext.Scope,org.zkoss.zk.ui.sys.ComponentCtrl
public class Transformer extends org.zkoss.zk.ui.AbstractComponentXML transformer.- Author:
- tomyeh
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Transformer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetXsl()Returns the XSL (Extensible Stylesheet Language), or null if not available.voidredraw(java.io.Writer out)voidsetXsl(java.io.File xsl)Sets the XSL with a file.voidsetXsl(java.io.InputStream xsl)Sets the XSL with an input stream.voidsetXsl(java.io.Reader xsl)Sets the XSL with a reader.voidsetXsl(java.lang.String xsl)Sets the XSL with the resource path.voidsetXsl(java.net.URL xsl)Sets the XSL with an URL.voidsetXsl(javax.xml.transform.Source xsl)Sets the XSL with a XML source.voidsetXsl(org.w3c.dom.Document xsl)Sets the XSL with a document.voidsetXsl(org.zkoss.idom.Document xsl)Sets the XSL with a iDOM document.-
Methods inherited from class org.zkoss.zk.ui.AbstractComponent
addAnnotation, addCallback, addClientEvent, addEventHandler, addEventListener, addEventListener, addForward, addForward, addForward, addForward, addMoved, addRedrawCallback, addScopeListener, addShadowRoot, addShadowRootBefore, addSharedEventHandlerMap, appendChild, applyProperties, beforeChildAdded, beforeChildRemoved, beforeParentChanged, clone, destroyIndexCacheMap, detach, didActivate, didActivate, didDeserialize, didDeserialize, disableBindingAnnotation, disableClientUpdate, disableHostChanged, enableBindingAnnotation, enableHostChanged, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getAutag, getCallback, getChildren, getClientAttribute, getClientDataAttribute, getClientEvents, getDefaultMold, getDefinition, getDesktop, getEventHandler, getEventHandlerNames, getEventListenerMap, getEventListeners, getExtraCtrl, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getForwards, getId, getIndexCacheMap, getLastChild, getMold, getNextSibling, getPage, getParent, getPreviousSibling, getPropertyAccess, getRedrawCallback, getRoot, getShadowFellowIfAny, getShadowRoots, getShadowVariable, getShadowVariable, getShadowVariable0, getSpaceOwner, getSpecialRendererOutput, getStubonly, getSubBindingAnnotationCount, getTemplate, getTemplateNames, getUuid, getWidgetAttributeNames, getWidgetClass, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttribute, hasAttributeOrFellow, hasBindingAnnotation, hasFellow, hasFellow, hasSubBindingAnnotation, initIndexCacheMap, insertBefore, invalidate, isChildable, isDisabledHostChanged, isInitialized, isInvalidated, isListenerAvailable, isVisible, onChildAdded, onChildRemoved, onPageAttached, onPageDetached, onParentChanged, onWrongValue, query, queryAll, redrawChildren, removeAttribute, removeAttribute, removeAttribute, removeCallback, removeChild, removeEventListener, removeForward, removeForward, removeRedrawCallback, removeScopeListener, removeShadowRoot, render, render, render, renderProperties, renderPropertiesOnly, replace, response, response, response, service, service, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setAttribute, setAuService, setAutag, setClientAttribute, setClientDataAttribute, setDefinition, setDefinition, setId, setMold, setPage, setPageBefore, setParent, setStubonly, setStubonly, setSubBindingAnnotationCount, setTemplate, setVisible, setVisibleDirectly, setWidgetClass, setWidgetListener, setWidgetOverride, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdateWidgetListener, smartUpdateWidgetOverride, toString, updateByClient, updateSubBindingAnnotationCount, willPassivate, willPassivate, willSerialize, willSerialize
-
-
-
-
Method Detail
-
getXsl
public java.lang.Object getXsl()
Returns the XSL (Extensible Stylesheet Language), or null if not available.- See Also:
setXsl(String),setXsl(URL),setXsl(File),setXsl(Source)
-
setXsl
public void setXsl(java.lang.String xsl)
Sets the XSL with the resource path. The resource must be retrievable by use ofWebApp.getResource(java.lang.String).
-
setXsl
public void setXsl(java.io.File xsl)
Sets the XSL with a file.
-
setXsl
public void setXsl(java.net.URL xsl)
Sets the XSL with an URL.
-
setXsl
public void setXsl(java.io.InputStream xsl)
Sets the XSL with an input stream.
-
setXsl
public void setXsl(java.io.Reader xsl)
Sets the XSL with a reader.
-
setXsl
public void setXsl(javax.xml.transform.Source xsl)
Sets the XSL with a XML source.
-
setXsl
public void setXsl(org.w3c.dom.Document xsl)
Sets the XSL with a document.
-
setXsl
public void setXsl(org.zkoss.idom.Document xsl)
Sets the XSL with a iDOM document.
-
redraw
public void redraw(java.io.Writer out) throws java.io.IOException- Specified by:
redrawin interfaceorg.zkoss.zk.ui.sys.ComponentCtrl- Overrides:
redrawin classorg.zkoss.zk.ui.AbstractComponent- Throws:
java.io.IOException
-
-