Class RootTranslator

java.lang.Object
org.javarosa.core.reference.RootTranslator
All Implemented Interfaces:
ReferenceFactory, Externalizable

public class RootTranslator
extends Object
implements ReferenceFactory, Externalizable
A Root Translator is a simple reference factory which doesn't actually derive any specific references, but rather translates references from one prefix to another. This is useful for roots which don't describe any real raw accessor like "jr://media/", which could access a file reference (jr://file/) on one platform, but a resource reference (jr://resource/) on another. Root Translators can be externalized and used as a dynamically configured object.
Author:
ctsims