public class TagUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static IValueMap |
ATTRIBUTES_SEPARATORS
A map that keeps the separators which should be used for the different HTML
element attributes.
|
| Constructor and Description |
|---|
TagUtils()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static void |
copyAttributes(MarkupContainer component,
ComponentTag tag)
Copy attributes from e.g.
|
static boolean |
isBodyTag(ComponentTag tag) |
static boolean |
isExtendTag(IMarkupFragment markup,
int i) |
static boolean |
isHeadTag(MarkupElement elem) |
static boolean |
isWicketBodyTag(MarkupElement elem) |
static boolean |
isWicketBorderTag(MarkupElement elem) |
static boolean |
isWicketHeaderItemsTag(MarkupElement elem) |
static boolean |
isWicketHeadTag(MarkupElement elem) |
static boolean |
isWicketTag(IMarkupFragment markup,
int i) |
public static final IValueMap ATTRIBUTES_SEPARATORS
public static boolean isBodyTag(ComponentTag tag)
tag - public static boolean isHeadTag(MarkupElement elem)
elem - public static boolean isWicketTag(IMarkupFragment markup, int i)
markup - i - public static boolean isExtendTag(IMarkupFragment markup, int i)
markup - i - public static boolean isWicketHeadTag(MarkupElement elem)
elem - public static boolean isWicketHeaderItemsTag(MarkupElement elem)
elem - public static boolean isWicketBodyTag(MarkupElement elem)
elem - public static boolean isWicketBorderTag(MarkupElement elem)
elem - public static void copyAttributes(MarkupContainer component, ComponentTag tag)
component - the markup container which attributes will be copiedtag - the component tag where the attributes will be appliedCopyright © 2006–2014 Apache Software Foundation. All rights reserved.