Uses of Interface
org.apache.cayenne.resource.Resource
Packages that use Resource
Package
Description
-
Uses of Resource in org.apache.cayenne.map
Fields in org.apache.cayenne.map declared as ResourceMethods in org.apache.cayenne.map that return ResourceMethods in org.apache.cayenne.map with parameters of type ResourceModifier and TypeMethodDescriptionvoidDataMap.setConfigurationSource(Resource configurationSource) -
Uses of Resource in org.apache.cayenne.project
Fields in org.apache.cayenne.project declared as ResourceMethods in org.apache.cayenne.project that return ResourceMethods in org.apache.cayenne.project with parameters of type ResourceModifier and TypeMethodDescriptionLoads a Project from some resource, usually an XML file found on classpath.ConfigurationNameMapper.projectNodeName(Class<? extends ProjectNode> type, Resource resource) Returns a node name for a given configuration type and a configuration resource.DefaultConfigurationNameMapper.projectNodeName(Class<? extends ProjectNode> type, Resource resource) voidProject.setConfigurationSource(Resource configurationSource) -
Uses of Resource in org.apache.cayenne.project.upgrade
Methods in org.apache.cayenne.project.upgrade that return ResourceMethods in org.apache.cayenne.project.upgrade with parameters of type ResourceModifier and TypeMethodDescriptionProjectFileUpgrader.readVersion(Resource resource) Reads the version from the root tag of a project or DataMap XML, without reading the rest of the document.ProjectFileUpgrader.upgradeDataMapDOM(Resource resource, String fromVersion) Reads the DataMap XML and upgrades its DOM from the given version.ProjectFileUpgrader.upgradeProjectDOM(Resource resource, String fromVersion) Reads the project XML and upgrades its DOM from the given version.Constructors in org.apache.cayenne.project.upgrade with parameters of type Resource -
Uses of Resource in org.apache.cayenne.project.xml
Methods in org.apache.cayenne.project.xml with parameters of type ResourceModifier and TypeMethodDescriptionprotected DataMapXMLDataMapLoader.parse(Resource configurationResource, InputSource input) protected ProjectXMLProjectLoader.parse(Resource configurationResource, InputSource input) protected DataMapXMLDataMapLoader.upgradeAndLoad(Resource configurationResource, String version) Loads a DataMap created by an older version of Cayenne, upgrading its XML in memory.protected ProjectXMLProjectLoader.upgradeAndLoad(Resource configurationResource, String version) Loads a project created by an older version of Cayenne, upgrading its XML in memory.Constructors in org.apache.cayenne.project.xml with parameters of type ResourceModifierConstructorDescriptionDataMapHandler(NamespaceAwareNestedTagHandler parentHandler, Resource configurationSource) RootDataMapHandler(LoaderContext loaderContext, Resource configurationSource) -
Uses of Resource in org.apache.cayenne.resource
Classes in org.apache.cayenne.resource that implement ResourceMethods in org.apache.cayenne.resource that return ResourceModifier and TypeMethodDescriptionResource.getRelativeResource(String relativePath) Returns a resource resolved relatively to the current resource.URLResource.getRelativeResource(String relativePath) Methods in org.apache.cayenne.resource that return types with arguments of type ResourceModifier and TypeMethodDescriptionClassLoaderResourceLocator.findResources(String name) ResourceLocator.findResources(String name) Finds a collection of matching resources for a given name.