Package org.zkoss.zhtml
Class Html
- java.lang.Object
-
- org.zkoss.zk.ui.AbstractComponent
-
- org.zkoss.zhtml.impl.AbstractTag
-
- org.zkoss.zhtml.Html
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,org.zkoss.zk.ui.Component,org.zkoss.zk.ui.ext.DynamicPropertied,org.zkoss.zk.ui.ext.RawId,org.zkoss.zk.ui.ext.Scope,org.zkoss.zk.ui.sys.ComponentCtrl
public class Html extends AbstractTag
The HTML tag.- Author:
- tomyeh
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.zkoss.zhtml.impl.AbstractTag
AbstractTag.ExtraCtrl
-
-
Field Summary
-
Fields inherited from class org.zkoss.zhtml.impl.AbstractTag
_tagnm
-
-
Constructor Summary
Constructors Constructor Description Html()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeforeParentChanged(org.zkoss.zk.ui.Component parent)java.lang.StringgetXmlns()Returns the xmlns of this html tag.voidinvalidate()voidredraw(java.io.Writer out)voidsetXmlns(java.lang.String xmlns)Sets the xmlns of this html tag.protected booleanshallHideId()Don't generate the id attribute.-
Methods inherited from class org.zkoss.zhtml.impl.AbstractTag
clone, getAccesskey, getDir, getDynamicProperties, getDynamicProperty, getExtraCtrl, getLang, getPropertyAccess, getSclass, getStyle, getTabindex, getTag, getTitle, getWidgetClass, hasDynamicProperty, isChildable, isContenteditable, isDraggable, isHidden, isOrphanTag, isSpellcheck, redrawChildrenDirectly, renderProperties, setAccesskey, setContenteditable, setDir, setDraggable, setDynamicProperty, setHidden, setLang, setSclass, setSpellcheck, setStyle, setTabindex, setTitle, setVisible, toString
-
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, 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, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getForwards, getId, getIndexCacheMap, getLastChild, getMold, getNextSibling, getPage, getParent, getPreviousSibling, getRedrawCallback, getRoot, getShadowFellowIfAny, getShadowRoots, getShadowVariable, getShadowVariable, getShadowVariable0, getSpaceOwner, getSpecialRendererOutput, getStubonly, getSubBindingAnnotationCount, getTemplate, getTemplateNames, getUuid, getWidgetAttributeNames, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttribute, hasAttributeOrFellow, hasBindingAnnotation, hasFellow, hasFellow, hasSubBindingAnnotation, initIndexCacheMap, insertBefore, 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, 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, setVisibleDirectly, setWidgetClass, setWidgetListener, setWidgetOverride, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdateWidgetListener, smartUpdateWidgetOverride, updateByClient, updateSubBindingAnnotationCount, willPassivate, willPassivate, willSerialize, willSerialize
-
-
-
-
Method Detail
-
getXmlns
public java.lang.String getXmlns()
Returns the xmlns of this html tag.Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.
- Since:
- 8.0.3
-
setXmlns
public void setXmlns(java.lang.String xmlns) throws org.zkoss.zk.ui.WrongValueExceptionSets the xmlns of this html tag.Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.
- Throws:
org.zkoss.zk.ui.WrongValueException- Since:
- 8.0.3
-
invalidate
public void invalidate()
- Specified by:
invalidatein interfaceorg.zkoss.zk.ui.Component- Overrides:
invalidatein classorg.zkoss.zk.ui.AbstractComponent
-
redraw
public void redraw(java.io.Writer out) throws java.io.IOException- Specified by:
redrawin interfaceorg.zkoss.zk.ui.sys.ComponentCtrl- Overrides:
redrawin classAbstractTag- Throws:
java.io.IOException
-
shallHideId
protected boolean shallHideId()
Don't generate the id attribute.- Overrides:
shallHideIdin classAbstractTag
-
beforeParentChanged
public void beforeParentChanged(org.zkoss.zk.ui.Component parent)
- Specified by:
beforeParentChangedin interfaceorg.zkoss.zk.ui.sys.ComponentCtrl- Overrides:
beforeParentChangedin classorg.zkoss.zk.ui.AbstractComponent
-
-