Package org.javarosa.core.reference
Class ResourceReferenceFactory
java.lang.Object
org.javarosa.core.reference.PrefixedRootFactory
org.javarosa.core.reference.ResourceReferenceFactory
- All Implemented Interfaces:
ReferenceFactory
public class ResourceReferenceFactory extends PrefixedRootFactory
A ResourceReferenceFactory is a Raw Reference Accessor
which provides a factory for references of the form
jr://resource/.
TODO: Configure this factory to also work for raw resource accessors like "/something".
- Author:
- ctsims
-
Constructor Summary
Constructors Constructor Description ResourceReferenceFactory() -
Method Summary
Methods inherited from class org.javarosa.core.reference.PrefixedRootFactory
derive, derive, derives, toString
-
Constructor Details
-
ResourceReferenceFactory
public ResourceReferenceFactory()
-
-
Method Details
-
factory
Description copied from class:PrefixedRootFactoryCreates a Reference using the most locally available part of a URI.- Specified by:
factoryin classPrefixedRootFactory- Parameters:
terminal- The local part of the URI for this prefixed root (excluding the root itself)URI- The full URI- Returns:
- A reference which describes the URI
-