|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectubiware.core.ConditionalResourcePrefixer
public class ConditionalResourcePrefixer
resourcePrefixer with memory about the namespaces it has been using. furthermore, it only prefixes in case it is initialized to do that. 23.6.2010
| Constructor Summary | |
|---|---|
ConditionalResourcePrefixer(ResourcePrefixer prefixer,
boolean prefix)
Construct a conditional resourcePrefixer. |
|
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
getUsedNameSpaces()
returns a HashMap containing all namespaces used by this prefixer in prefix-url form |
java.lang.String |
prefixResource(java.lang.String resource)
Prefixes the given resource and if a previously not used namespace is used, it will be remembered by this prefixer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConditionalResourcePrefixer(ResourcePrefixer prefixer,
boolean prefix)
prefixer - the actual prefixer able to do prefixing.prefix - only if true, prefixing will be done| Method Detail |
|---|
public java.lang.String prefixResource(java.lang.String resource)
resource - the resource which should be prefixed
public java.util.Map<java.lang.String,java.lang.String> getUsedNameSpaces()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||