/** * Get the resource stream containing the base markup (markup inheritance) * * @return baseMarkupResource Null, if not base markup */ public MarkupResourceData getBaseMarkupResourceData() { if (baseMarkup == null) { return null; } return baseMarkup.getMarkupResourceData(); }
/** * Get the wicket namespace valid for this specific markup * * @return wicket namespace */ public final String getWicketNamespace() { return markup.getMarkupResourceData().getWicketNamespace(); }
/** * Return the XML declaration string, in case if found in the markup. * * @return Null, if not found. */ public String getXmlDeclaration() { return markup.getMarkupResourceData().getXmlDeclaration(); }
/** * Applications which subclass initFilterChain() might also wish to access the markup resource * stream. * * @return The markup resource stream */ protected MarkupResourceStream getMarkupResourceStream() { return markup.getMarkupResourceData().getResource(); }
/** * Return the XML declaration string, in case if found in the markup. * * @return Null, if not found. */ public String getXmlDeclaration() { return markup.getMarkupResourceData().getXmlDeclaration(); }
/** * @return The resource where this markup stream came from */ public IResourceStream getResource() { return markup.getMarkupResourceData().getResource(); }
/** * Applications which subclass initFilterChain() might also wish to access the markup resource * stream. * * @return The markup resource stream */ protected MarkupResourceStream getMarkupResourceStream() { return markup.getMarkupResourceData().getResource(); }
/** * Gets the markup encoding. A markup encoding may be specified in a markup file with an XML * encoding specifier of the form <?xml ... encoding="..." ?>. * * @return The encoding, or null if not found */ public final String getEncoding() { return markup.getMarkupResourceData().getEncoding(); }
/** * @return The resource where this markup stream came from */ public IResourceStream getResource() { return markup.getMarkupResourceData().getResource(); }
/** * Get the wicket namespace valid for this specific markup * * @return wicket namespace */ public final String getWicketNamespace() { return markup.getMarkupResourceData().getWicketNamespace(); }
/** * In case you want to analyze markup which BY DEFAULT does not use "wicket" to find relevant * tags. * * @param namespace */ public final void setWicketNamespace(final String namespace) { markup.getMarkupResourceData().setWicketNamespace(namespace); }
/** * Gets the markup encoding. A markup encoding may be specified in a markup file with an XML * encoding specifier of the form <?xml ... encoding="..." ?>. * * @return The encoding, or null if not found */ public final String getEncoding() { return markup.getMarkupResourceData().getEncoding(); }
/** * In case you want to analyze markup which BY DEFAULT does not use "wicket" to find relevant * tags. * * @param namespace */ public final void setWicketNamespace(final String namespace) { markup.getMarkupResourceData().setWicketNamespace(namespace); }
/** * Get the component/container's Class which is directly associated with the stream. * * @return The component's class */ public final Class getContainerClass() { return markup.getMarkupResourceData().getResource().getMarkupClass(); }
/** * Get the component/container's Class which is directly associated with the stream. * * @return The component's class */ public final Class<? extends Component> getContainerClass() { return markup.getMarkupResourceData().getResource().getMarkupClass(); }
/** * @param container * @param markup * @param enforceReload * @return the base markup */ private Markup getBaseMarkup(final MarkupContainer container, final Markup markup, final boolean enforceReload) { // get the base markup Markup baseMarkup = Application.get() .getMarkupSettings() .getMarkupCache() .getMarkup(container, markup.getMarkupResourceData().getResource().getMarkupClass().getSuperclass(), enforceReload); return baseMarkup; }
tag.getAttributes().containsKey(getMarkupResourceData().getWicketId()))
MarkupResourceData markupResourceData = markup.getMarkupResourceData();
MarkupResourceData markupResourceData = markup.getMarkupResourceData();
MarkupResourceData markupResourceData = markup.getMarkupResourceData();