01: /*
02: * JFolder, Copyright 2001-2006 Gary Steinmetz
03: *
04: * Distributable under LGPL license.
05: * See terms of license at gnu.org.
06: */
07:
08: package org.jfolder.services.config;
09:
10: //base classes
11:
12: //project specific classes
13: import org.jfolder.common.utils.xml.LinearXPath;
14:
15: //other classes
16:
17: public final class ConfigServicePaths {
18:
19: /*
20: private final static LinearXPath ROOT = LinearXPath.r("project-properties");
21:
22: public final static LinearXPath XPATH_BASE_SCRIPT = ROOT.b("script");
23: public final static LinearXPath XPATH_BASE_SCRIPT_TAGS =
24: XPATH_BASE_SCRIPT.b("tags");
25: public final static LinearXPath XPATH_BASE_WEB = ROOT.b("web");
26: public final static LinearXPath XPATH_BASE_WEB_TAGS =
27: XPATH_BASE_WEB.b("tags");
28: public final static LinearXPath XPATH_BASE_STUDIO = ROOT.b("studio");
29: public final static LinearXPath XPATH_BASE_SECURITY = ROOT.b("security");
30: public final static LinearXPath XPATH_BASE_SECURITY_CONSOLE =
31: XPATH_BASE_SECURITY.b("console");
32: public final static LinearXPath XPATH_BASE_SECURITY_CONSOLE_DEFAULT =
33: XPATH_BASE_SECURITY_CONSOLE.b("default");
34: public final static LinearXPath XPATH_BASE_LOCATIONS = ROOT.b("locations");
35: public final static LinearXPath XPATH_BASE_APPLICATIONS =
36: ROOT.b("applications");
37: public final static LinearXPath XPATH_BASE_SECURITY_GENERIC =
38: XPATH_BASE_SECURITY.b("generic");
39: public final static LinearXPath XPATH_BASE_SECURITY_MANAGER =
40: XPATH_BASE_SECURITY.b("manager");
41: //
42: public final static LinearXPath XPATH_SCRIPT_MENU =
43: XPATH_BASE_STUDIO.b("script").b("tags").b("menu");
44: public final static LinearXPath XPATH_SCRIPT_RETURNABLES =
45: XPATH_BASE_STUDIO.b("script").b("tags").b("returnables");
46: //
47: public final static LinearXPath XPATH_WEB_MENU =
48: XPATH_BASE_STUDIO.b("web").b("tags").b("menu");
49: public final static LinearXPath XPATH_WEB_RETURNABLES =
50: XPATH_BASE_STUDIO.b("web").b("tags").b("returnables");
51: //
52: public final static LinearXPath XPATH_APPS_ENTITIES_LIFECYCLE =
53: XPATH_BASE_APPLICATIONS.b("entities").b("lifecycle");
54: */
55:
56: /*
57: private final static String NAME = "name";
58: private final static String NAMESPACE = "namespace";
59: private final static String TAG = "tag";
60: private final static String TAG_SET_PATH =
61: "/project-properties[1]/script[1]/tags[1]";
62:
63: private final static String NAME = "name";
64: private final static String NAMESPACE = "namespace";
65: private final static String TAG = "tag";
66: private final static String PF_WEB_TAG_SET_PATH =
67: "/project-properties[1]/web[1]/tags[1]";
68:
69: private final static String RETURNABLES_PATH =
70: "/project-properties[1]/studio[1]/script[1]/tags[1]/returnables[1]";
71:
72: public final static String LIFECYCLE_LOCATION =
73: "/project-properties[1]/applications[1]/entities[1]/lifecycle[1]";
74: private final static String SCRIPT_TAG_MENU_PATH =
75: "/project-properties[1]/studio[1]/script[1]/tags[1]/menu[1]";
76:
77: private final static String SECURITY_BASE =
78: "/project-properties[1]/security[1]/generic[1]";
79: private final static String MANAGER_LOCATION =
80: "/project-properties[1]/security[1]/manager[1]";
81: */
82:
83: private ConfigServicePaths() {
84: }
85:
86: }
|