org.apache.tiles.definition.pattern
Class PatternUtil
java.lang.Object
org.apache.tiles.definition.pattern.PatternUtil
public final class PatternUtil
- extends Object
Utilities for pattern matching and substitution.
- Since:
- 2.2.0
- Version:
- $Rev: 799232 $ $Date: 2009-07-30 12:48:11 +0200 (gio, 30 lug 2009) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
replacePlaceholders
public static Definition replacePlaceholders(Definition d,
String name,
Object... vars)
- Creates a definition given its representation with wildcards and
attribute values with placeholders, replacing real values into
placeholders.
- Parameters:
d - The definition to replace.name - The name of the definition to be created.vars - The variables to be substituted.
- Returns:
- The definition that can be rendered.
- Since:
- 2.2.0
Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.