Package | Description |
---|---|
org.apache.wicket |
The core Wicket package.
|
org.apache.wicket.markup |
Base package for markup.
|
org.apache.wicket.markup.html |
Base package of HTML markup.
|
org.apache.wicket.markup.html.border |
Border components.
|
org.apache.wicket.markup.html.internal | |
org.apache.wicket.markup.html.panel |
Panel components.
|
org.apache.wicket.markup.repeater | |
org.apache.wicket.util.tester |
A package with utility classes to ease unit testing of Wicket applications without the need for
a servlet container.
|
Modifier and Type | Method and Description |
---|---|
IMarkupFragment |
Component.getMarkup()
Get the Markup associated with the Component.
|
IMarkupFragment |
MarkupContainer.getMarkup(Component child)
Get the markup of the child.
|
IMarkupFragment |
IQueueRegion.getRegionMarkup()
Returns the markup to use for queuing.
|
IMarkupFragment |
MarkupContainer.getRegionMarkup() |
Modifier and Type | Method and Description |
---|---|
Component |
Component.setMarkup(IMarkupFragment markup)
Set the markup for the component.
|
Constructor and Description |
---|
DequeueContext(IMarkupFragment markup,
MarkupContainer root,
boolean skipFirst) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractMarkupFragment
A base implementation of
IMarkupFragment . |
class |
Markup
The content of a markup file, consisting of a list of markup elements.
|
class |
MarkupFragment
Represents a portion of a markup file, but always spans a complete tag.
|
class |
MergedMarkup
A Markup class which represents merged markup, as it is required for markup inheritance.
|
Modifier and Type | Method and Description |
---|---|
IMarkupFragment |
IMarkupFragment.find(String wicketId)
Finds a markup fragment that spans a tag
|
IMarkupFragment |
Markup.find(String id) |
IMarkupFragment |
MarkupFragment.find(String id) |
protected IMarkupFragment |
AbstractMarkupFragment.find(String id,
int streamOffset) |
static IMarkupFragment |
TagUtils.findTagMarkup(IMarkupFragment fragment,
String id,
String tagName,
int streamOffset)
Find the markup fragment of a tag with wicket:id equal to
id starting at offset streamOffset . |
IMarkupFragment |
MarkupStream.getMarkupFragment() |
IMarkupFragment |
MarkupCache.removeMarkup(String cacheKey)
Note that this method will be called from a "cleanup" thread which might not have a thread
local application.
|
IMarkupFragment |
IMarkupCache.removeMarkup(String cacheKey)
Remove the markup associated with the cache key from the cache including all dependent
markups (markup inheritance)
|
Modifier and Type | Method and Description |
---|---|
static IMarkupFragment |
TagUtils.findTagMarkup(IMarkupFragment fragment,
String id,
String tagName,
int streamOffset)
Find the markup fragment of a tag with wicket:id equal to
id starting at offset streamOffset . |
static boolean |
TagUtils.isExtendTag(IMarkupFragment markup,
int i) |
static boolean |
TagUtils.isWicketTag(IMarkupFragment markup,
int i) |
Constructor and Description |
---|
MarkupFragment(IMarkupFragment markup,
int startIndex)
Construct.
|
MarkupIterator(IMarkupFragment markup)
Construct.
|
MarkupStream(IMarkupFragment markup)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static IMarkupFragment |
MarkupUtil.findStartTag(IMarkupFragment markup,
String tagName)
Searches for
tagName in the given markup . |
Modifier and Type | Method and Description |
---|---|
static IMarkupFragment |
MarkupUtil.findStartTag(IMarkupFragment markup,
String tagName)
Searches for
tagName in the given markup . |
Constructor and Description |
---|
HeaderPartContainer(String id,
MarkupContainer container,
IMarkupFragment markup) |
Modifier and Type | Method and Description |
---|---|
IMarkupFragment |
Body.getMarkup() |
IMarkupFragment |
Border.BorderBodyContainer.getMarkup()
Get the <wicket:body> markup from the body's parent container
|
IMarkupFragment |
Border.getMarkup(Component child)
Search for the child markup in the file associated with the Border.
|
IMarkupFragment |
Border.BorderBodyContainer.getMarkup(Component child)
Get the child markup which must be in between the <span wicktet:id="myBorder"> tags
|
IMarkupFragment |
Border.getRegionMarkup()
Returns the markup inside <wicket:border> tag.
|
Modifier and Type | Method and Description |
---|---|
IMarkupFragment |
HtmlHeaderContainer.getMarkup() |
Modifier and Type | Method and Description |
---|---|
IMarkupFragment |
FragmentMarkupSourcingStrategy.chooseMarkup(Component component)
Get the markup stream which shall be used to search for the fragment
|
protected IMarkupFragment |
Fragment.chooseMarkup(MarkupContainer provider)
Get the markup stream which shall be used to search for the fragment
|
IMarkupFragment |
AssociatedMarkupSourcingStrategy.findMarkupInAssociatedFileHeader(MarkupContainer container,
Component child)
Search the child's markup in the header section of the markup
|
IMarkupFragment |
AssociatedMarkupSourcingStrategy.getMarkup(MarkupContainer parent,
Component child)
Search for the child's markup in the associated markup file.
|
IMarkupFragment |
IMarkupSourcingStrategy.getMarkup(MarkupContainer container,
Component child)
Will replace the respective component's method.
|
IMarkupFragment |
FragmentMarkupSourcingStrategy.getMarkup(MarkupContainer container,
Component child)
Search for the child's markup in the fragment markup.
|
IMarkupFragment |
DefaultMarkupSourcingStrategy.getMarkup(MarkupContainer container,
Component child)
Get the markup for the child component, which is assumed to be a child of 'container'.
|
abstract IMarkupFragment |
AbstractMarkupSourcingStrategy.getMarkup(MarkupContainer container,
Component child) |
IMarkupFragment |
BorderMarkupSourcingStrategy.getMarkup(MarkupContainer container,
Component child)
Return null and thus use
Border.getMarkup(child) to provide the Markup |
IMarkupFragment |
Panel.getRegionMarkup()
Returns the markup inside <wicket:panel> tag.
|
protected IMarkupFragment |
AbstractMarkupSourcingStrategy.searchInNestedTransparentResolvers(IMarkupFragment containerMarkup,
Component child,
List<MarkupContainer> componentResolvers)
Search for the markup of a child that might be nested inside
transparent siblings.
|
protected IMarkupFragment |
AbstractMarkupSourcingStrategy.searchMarkupInTransparentResolvers(MarkupContainer container,
IMarkupFragment containerMarkup,
Component child)
If the child has not been directly added to the container, but via a
TransparentWebMarkupContainer, then we are in trouble.
|
Modifier and Type | Method and Description |
---|---|
protected IMarkupFragment |
AbstractMarkupSourcingStrategy.searchInNestedTransparentResolvers(IMarkupFragment containerMarkup,
Component child,
List<MarkupContainer> componentResolvers)
Search for the markup of a child that might be nested inside
transparent siblings.
|
protected IMarkupFragment |
AbstractMarkupSourcingStrategy.searchMarkupInTransparentResolvers(MarkupContainer container,
IMarkupFragment containerMarkup,
Component child)
If the child has not been directly added to the container, but via a
TransparentWebMarkupContainer, then we are in trouble.
|
Modifier and Type | Method and Description |
---|---|
IMarkupFragment |
AbstractRepeater.getMarkup(Component child) |
Modifier and Type | Method and Description |
---|---|
IMarkupFragment |
BaseWicketTester.StartComponentInPage.getMarkup() |
Modifier and Type | Method and Description |
---|---|
void |
WicketTestCase.compareMarkupWithFile(IMarkupFragment markup,
String filename,
Class<?> scopeClass)
Compare the markup provided with the file content
|
void |
WicketTestCase.compareMarkupWithString(IMarkupFragment markup,
String testMarkup)
Compare the markup provided with the String
|
void |
BaseWicketTester.StartComponentInPage.setPageMarkup(IMarkupFragment markup) |
<C extends Component> |
BaseWicketTester.startComponentInPage(C component,
IMarkupFragment pageMarkup)
Process a component.
|
<C extends Component> |
BaseWicketTester.startComponentInPage(Class<C> componentClass,
IMarkupFragment pageMarkup)
Process a component.
|
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.