java.lang.Object
org.apache.wicket.markup.MarkupElement
org.apache.wicket.markup.ComponentTag
org.apache.wicket.markup.WicketTag
WicketTag extends ComponentTag and will be created by a MarkupParser whenever it parses a tag in
the wicket namespace. By default, this namespace is "wicket", so wicket tags are then of the form
<wicket:*>
<p>
Note 1: you need to add an XHTML doctype to your markup and use <html xmlns:wicket> to
create a XHTML conform namespace for such tags.
<p>
Note 2: The namespace name is configurable. E.g. <html xmlns:wcn="http://wicket">
- Author:
- Juergen Donnerstag
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.wicket.markup.ComponentTag
ComponentTag.IAutoComponentFactory
-
Field Summary
Fields inherited from class org.apache.wicket.markup.ComponentTag
CONTAINS_WICKET_ID, RENDER_RAW, xmlTag
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
final boolean
final boolean
final boolean
final boolean
final boolean
final boolean
final boolean
final boolean
final boolean
final boolean
final boolean
final boolean
final boolean
mutable()
Gets this tag if it is already mutable, or a mutable copy of this tag if it is immutable.Methods inherited from class org.apache.wicket.markup.ComponentTag
addBehavior, append, closes, containsWicketId, enableAutolink, equalTo, getAttribute, getAttributes, getAutoComponentFactory, getBehaviors, getFlag, getId, getLength, getMarkupClass, getName, getNamespace, getOpenTag, getPos, getType, getUserData, getXmlTag, hasBehaviors, hasNoCloseTag, isAutoComponentTag, isAutolinkEnabled, isClose, isIgnore, isOpen, isOpen, isOpenClose, isOpenClose, makeImmutable, onBeforeRender, put, put, put, put, putAll, putInternal, remove, requiresCloseTag, setAutoComponentFactory, setAutoComponentTag, setContainsWicketId, setFlag, setHasNoCloseTag, setId, setIgnore, setMarkupClass, setModified, setName, setNamespace, setOpenTag, setType, setUserData, toCharSequence, toString, toUserDebugString, writeOutput, writeSyntheticCloseTag
-
Constructor Details
-
WicketTag
Constructor- Parameters:
tag
- The XML tag which this wicket tag is based upon.
-
WicketTag
Constructor- Parameters:
tag
- The ComponentTag tag which this wicket tag is based upon.
-
-
Method Details
-
isContainerTag
- Returns:
- True, if tag name equals 'wicket:container'
-
isLinkTag
- Returns:
- True, if tag name equals 'wicket:link'
-
isRemoveTag
- Returns:
- True, if tag name equals 'wicket:remove'
-
isBodyTag
- Returns:
- True, if tag name equals 'wicket:body'
-
isChildTag
- Returns:
- True, if tag name equals 'wicket:child'
-
isExtendTag
- Returns:
- True, if tag name equals 'wicket:extend'
-
isHeadTag
- Returns:
- True, if tag name equals 'wicket:head'
-
isHeaderItemsTag
- Returns:
- True, if tag name equals 'wicket:header-items'
-
isMessageTag
- Returns:
- True, if tag name equals 'wicket:message'
-
isPanelTag
- Returns:
- True, if tag name equals 'wicket:panel'
-
isBorderTag
- Returns:
- True, if tag name equals 'wicket:border'
-
isFragmentTag
- Returns:
- True if <wicket:fragment>
-
isEnclosureTag
- Returns:
- true if <wicket:enclosure>
-
isMajorWicketComponentTag
- Returns:
- True if <wicket:panel>, <wicket:border>, <wicket:extend>
-
mutable
Gets this tag if it is already mutable, or a mutable copy of this tag if it is immutable.- Overrides:
mutable
in classComponentTag
- Returns:
- This tag if it is already mutable, or a mutable copy of this tag if it is immutable.
-