Package org.apache.abdera.i18n.templates
Class Route
- java.lang.Object
-
- org.apache.abdera.i18n.templates.Route
-
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<String>
@Deprecated public class Route extends Object implements Iterable<String>, Cloneable, Serializable
Deprecated.Legacy AEM 6.x API.A type of URI Template loosely based on Ruby on Rails style Routes. Example: Route feed_route = new Route("feed",":feed/:entry");- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Routeclone()Deprecated.booleanequals(Object obj)Deprecated.Stringexpand(Object object)Deprecated.Expand the route pattern given the specified context objectStringexpand(Object object, boolean isiri)Deprecated.Expand the route pattern using IRI escaping rulesstatic Stringexpand(String pattern, Object object)Deprecated.static Stringexpand(String pattern, Object object, boolean isiri)Deprecated.static Stringexpand(String pattern, Context context)Deprecated.Stringexpand(Context context)Deprecated.Expand the route pattern given the specified contextstatic StringexpandAnnotated(Object object)Deprecated.StringgetDefaultValue(String var)Deprecated.Map<String,String>getDefaultValues()Deprecated.StringgetName()Deprecated.StringgetPattern()Deprecated.StringgetRequirement(String var)Deprecated.Map<String,String>getRequirements()Deprecated.String[]getVariables()Deprecated.inthashCode()Deprecated.Iterator<String>iterator()Deprecated.booleanmatch(String uri)Deprecated.Returns true if the given uri matches the route patternMap<String,String>parse(String uri)Deprecated.Parses the given uri using the route patternStringtoString()Deprecated.-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
match
public boolean match(String uri)
Deprecated.Returns true if the given uri matches the route pattern
-
parse
public Map<String,String> parse(String uri)
Deprecated.Parses the given uri using the route pattern
-
expand
public String expand(Context context)
Deprecated.Expand the route pattern given the specified context
-
expand
public String expand(Object object)
Deprecated.Expand the route pattern given the specified context object
-
expand
public String expand(Object object, boolean isiri)
Deprecated.Expand the route pattern using IRI escaping rules
-
getName
public String getName()
Deprecated.
-
getPattern
public String getPattern()
Deprecated.
-
getVariables
public String[] getVariables()
Deprecated.
-
clone
public Route clone()
Deprecated.
-
-