org.zkoss.zml
Class Transformer

java.lang.Object
  extended by org.zkoss.zk.ui.AbstractComponent
      extended by org.zkoss.zml.Transformer
All Implemented Interfaces:
Serializable, 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.AbstractComponent

XML transformer.

Author:
tomyeh
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.zkoss.zk.ui.AbstractComponent
org.zkoss.zk.ui.AbstractComponent.Children
 
Field Summary
 
Fields inherited from interface org.zkoss.zk.ui.Component
APPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPE
 
Fields inherited from interface org.zkoss.zk.ui.sys.ComponentCtrl
CE_BUSY_IGNORE, CE_DUPLICATE_IGNORE, CE_IMPORTANT, CE_NON_DEFERRABLE, CE_REPEAT_IGNORE
 
Constructor Summary
Transformer()
           
 
Method Summary
 Object getXsl()
          Returns the XSL (Extensible Stylesheet Language), or null if not available.
 void redraw(Writer out)
           
 void setXsl(Document xsl)
          Sets the XSL with a document.
 void setXsl(org.zkoss.idom.Document xsl)
          Sets the XSL with a iDOM document.
 void setXsl(File xsl)
          Sets the XSL with a file.
 void setXsl(InputStream xsl)
          Sets the XSL with an input stream.
 void setXsl(Reader xsl)
          Sets the XSL with a reader.
 void setXsl(Source xsl)
          Sets the XSL with a XML source.
 void setXsl(String xsl)
          Sets the XSL with the resource path.
 void setXsl(URL xsl)
          Sets the XSL with an URL.
 
Methods inherited from class org.zkoss.zk.ui.AbstractComponent
addAnnotation, addAnnotation, addClientEvent, addEventHandler, addEventListener, addEventListener, addForward, addForward, addForward, addForward, addMoved, addScopeListener, addSharedEventHandlerMap, appendChild, applyProperties, beforeChildAdded, beforeChildRemoved, beforeParentChanged, clone, detach, didActivate, didActivate, didDeserialize, didDeserialize, disableClientUpdate, equals, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getAutag, getChildren, getClientEvents, getDefaultMold, getDefinition, getDesktop, getEventHandler, getEventHandlerNames, getEventListenerMap, getEventListeners, getExtraCtrl, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, getSpaceOwner, getStubonly, getTemplate, getTemplateNames, getUuid, getWidgetAttribute, getWidgetAttributeNames, getWidgetClass, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttribute, hasAttributeOrFellow, hasFellow, hasFellow, insertBefore, invalidate, isChildable, isInvalidated, isListenerAvailable, isVisible, onChildAdded, onChildRemoved, onPageAttached, onPageDetached, onWrongValue, query, queryAll, redrawChildren, removeAttribute, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, removeScopeListener, render, render, render, renderProperties, replace, response, response, response, service, service, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setAttribute, setAuService, setAutag, setDefinition, setDefinition, setId, setMold, setPage, setPageBefore, setParent, setStubonly, setStubonly, setTemplate, setVisible, setVisibleDirectly, setWidgetAttribute, setWidgetClass, setWidgetListener, setWidgetOverride, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdateWidgetListener, smartUpdateWidgetOverride, toString, updateByClient, willPassivate, willPassivate, willSerialize, willSerialize
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Transformer

public Transformer()
Method Detail

getXsl

public 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(String xsl)
Sets the XSL with the resource path. The resource must be retrievable by use of WebApp.getResource(java.lang.String).


setXsl

public void setXsl(File xsl)
Sets the XSL with a file.


setXsl

public void setXsl(URL xsl)
Sets the XSL with an URL.


setXsl

public void setXsl(InputStream xsl)
Sets the XSL with an input stream.


setXsl

public void setXsl(Reader xsl)
Sets the XSL with a reader.


setXsl

public void setXsl(Source xsl)
Sets the XSL with a XML source.


setXsl

public void setXsl(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(Writer out)
            throws IOException
Specified by:
redraw in interface org.zkoss.zk.ui.sys.ComponentCtrl
Overrides:
redraw in class org.zkoss.zk.ui.AbstractComponent
Throws:
IOException


Copyright © 2014. All rights reserved.