org.zkoss.zml
Class XmlNativeComponent

java.lang.Object
  extended by org.zkoss.zk.ui.AbstractComponent
      extended by org.zkoss.zk.ui.HtmlNativeComponent
          extended by org.zkoss.zml.XmlNativeComponent
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, Component, DynamicPropertied, DynamicTag, Native, NonFellow, Scope, ComponentCtrl

public class XmlNativeComponent
extends HtmlNativeComponent

A comonent used to represent XML elements that are associated with the inline namespace (http://www.zkoss.org/2005/zk/inline).

It contains the content that shall be sent directly to client. It has three parts: prolog, children and epilog. The prolog (HtmlNativeComponent.getPrologContent()) and epilog (HtmlNativeComponent.getEpilogContent()) are both String.

When this component is renderred (HtmlNativeComponent.redraw(java.io.Writer)), it generates the prolog first, the children and then the epilog.

Since:
3.0.0
Author:
tomyeh
See Also:
Serialized Form

Nested Class Summary
static class XmlNativeComponent.XmlHelper
          The HTML helper.
 
Nested classes/interfaces inherited from class org.zkoss.zk.ui.HtmlNativeComponent
HtmlNativeComponent.HtmlHelper
 
Nested classes/interfaces inherited from class org.zkoss.zk.ui.AbstractComponent
AbstractComponent.Children
 
Nested classes/interfaces inherited from interface org.zkoss.zk.ui.ext.Native
Native.Helper
 
Field Summary
 
Fields inherited from class org.zkoss.zk.ui.AbstractComponent
_visible
 
Fields inherited from interface org.zkoss.zk.ui.Component
APPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPE
 
Constructor Summary
XmlNativeComponent()
           
 
Method Summary
 Native.Helper getHelper()
          Returns the helper to generate the output of the native components.
 
Methods inherited from class org.zkoss.zk.ui.HtmlNativeComponent
addDeclaredNamespace, getDeclaredNamespaces, getDynamicProperty, getEpilogContent, getPrologContent, getTag, hasDynamicProperty, hasTag, redraw, setDynamicProperty, setEpilogContent, setId, setPrologContent, setTag, setVisible
 
Methods inherited from class org.zkoss.zk.ui.AbstractComponent
addAnnotation, addAnnotation, addEventHandler, addEventListener, addForward, addForward, addForward, addForward, addMoved, addSharedAnnotationMap, addSharedEventHandlerMap, appendAsapAttr, appendAsapAttr, appendChild, applyProperties, beforeChildAdded, beforeChildRemoved, beforeParentChanged, clone, containsVariable, detach, disableClientUpdate, equals, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttributes, getAttributes, getChildren, getCommand, getDefinition, getDesktop, getEventHandler, getEventHandlerNames, getExtraCtrl, getFellow, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getMoldURI, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, getSpaceOwner, getUuid, getVariable, hasFellow, insertBefore, invalidate, isAsapRequired, isChildable, isInvalidated, isListenerAvailable, isVisible, newChildren, newExtraCtrl, onChildAdded, onChildRemoved, onDrawNewChild, onPageAttached, onPageDetached, onWrongValue, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, response, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setComponentDefinition, setMold, setPage, setPageBefore, setParent, setVariable, smartUpdate, smartUpdate, smartUpdate, smartUpdateDeferred, smartUpdateValues, toString, unsetVariable
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XmlNativeComponent

public XmlNativeComponent()
Method Detail

getHelper

public Native.Helper getHelper()
Description copied from interface: Native
Returns the helper to generate the output of the native components.

Specified by:
getHelper in interface Native
Overrides:
getHelper in class HtmlNativeComponent


Copyright © 2005-2009 Potix Corporation. All Rights Reserved. SourceForge.net Logo