|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.bea.netuix.laf.genes.mutators.PathResolver
public class PathResolver
PathResolver
performs path resolution for Look and Feel resources. It provides functionality similar to HtmlPathResolver
for genes. Resource paths specified as gene values are resolved based on the search path of the specified (as "path-type") resource type. For example:
<gene name="icon"> <value>icon.gif</value> <mutator name="path_resolver"> <arg name="path_type">images</arg> </mutator> </gene>
The resulting gene value will be the resolved path of the icon.gif image based on the configured skin image search path.
HtmlPathResolver
, "Skin and Skeleton configuration element <render-dependencies>", Serialized FormConstructor Summary | |
---|---|
PathResolver() |
Method Summary | |
---|---|
String |
mutate(String mutatorName, String currentValue, Gene gene, Map<String,String> args, MutationContext context) Performs image path resolution for resource path specified as a gene value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PathResolver()
Method Detail |
---|
public String mutate(String mutatorName, String currentValue, Gene gene, Map<String,String> args, MutationContext context)
argument | required? | value | notes |
---|---|---|---|
path-type | yes | one of: "links", "scripts", "styles", "images" | "images" path-type is only applicable for skin-related genes |
mutate
in interface Mutator
mutatorName
- IgnoredcurrentValue
- Parital resource path to resolveargs
- See abovegene
- The gene being mutatedcontext
- The context for mutation
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.