org.apache.tiles.compat.preparer
public class: CompatibilityPreparerFactory [javadoc |
source]
java.lang.Object
org.apache.tiles.preparer.BasicPreparerFactory
org.apache.tiles.compat.preparer.CompatibilityPreparerFactory
All Implemented Interfaces:
PreparerFactory
Factory used to instantiate preparers in a Struts 1 / Tiles 2 environment.
- version:
$
- Rev: 709153 $ $Date: 2008-10-30 13:54:10 +0100 (gio, 30 ott 2008) $
- since:
2.1.0
-
Method from org.apache.tiles.compat.preparer.CompatibilityPreparerFactory Summary: |
---|
createPreparer |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from org.apache.tiles.compat.preparer.CompatibilityPreparerFactory Detail: |
protected ViewPreparer createPreparer(String name) {
ViewPreparer retValue;
if (name.startsWith("/")) {
retValue = new UrlPreparer(name);
} else {
retValue = super.createPreparer(name);
}
return retValue;
}
|