|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.markup.transformer.XsltTransformer
public class XsltTransformer
A processor to XSLT transform the output generated by a Component.
XsltOutputTransformerContainer,
XsltTransformerBehavior| Constructor Summary | |
|---|---|
XsltTransformer()
Construct. |
|
XsltTransformer(String xslFile)
Instead of using the default mechanism to determine the associated XSL file, it is given by the user. |
|
| Method Summary | |
|---|---|
CharSequence |
transform(Component component,
CharSequence output)
Apply a XSL transformation to the markup generated by a component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XsltTransformer()
public XsltTransformer(String xslFile)
xslFile - XSL input file path relative to the component's package. If the path does not end
with .xsl, then it is considered as a basename and will be passed as-is
to
IResourceStreamLocator#locate(Class, String, String, java.util.Locale, String)
. All stylesheets must have the .xsl extension.| Method Detail |
|---|
public CharSequence transform(Component component,
CharSequence output)
throws Exception
transform in interface ITransformercomponent - The associated Wicket componentoutput - The markup generated by the child components
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||