vgritsenko 2003/09/18 07:38:46
Modified: src/blocks/portal/java/org/apache/cocoon/portal/application
PortalApplicationConfig.java
PortalApplicationConfigFactory.java
Log:
Remove references to JDOM
Revision Changes Path
1.2 +6 -6
cocoon-2.1/src/blocks/portal/java/org/apache/cocoon/portal/application/PortalApplicationConfig.java
Index: PortalApplicationConfig.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/blocks/portal/java/org/apache/cocoon/portal/application/PortalApplicationConfig.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- PortalApplicationConfig.java 25 Aug 2003 07:41:18 -0000 1.1
+++ PortalApplicationConfig.java 18 Sep 2003 14:38:46 -0000 1.2
@@ -82,7 +82,7 @@
/**
* Creates the PortalApplicationConfig object.
- * @param doc a JDOM document that holds all portal application
configurations
+ * @param doc a DOM document that holds all portal application
configurations
* @param copletId the id of the coplet for which the portal
application configuration should
* be created
*/
@@ -109,7 +109,7 @@
/**
* Sets the configuration parameters in the PortalApplicationConfig
object.
- * @param application a JDOM element, that holds the
configuration of one portal application
+ * @param application a DOM element, that holds the configuration
of one portal application
* @param cfg the PortalApplicationConfiguration object, which
gets populated with the parameters
*/
private static void setConfiguration(
@@ -134,7 +134,7 @@
// value equals the given name
/**
* Returns true, if configuration element is the expected one.
- * @param elem a JDOM element, that holds the configuration of
one portal application
+ * @param elem a DOM element, that holds the configuration of one
portal application
* @param name the id of the coplet
*/
private static boolean isCoplet(Element elem, String id) {
@@ -153,8 +153,8 @@
private PortalApplicationConfig() {}
/**
- * Constructor, which builds a PortalApplicationConfig from a given JDOM
element.
- * @param app the JDOM element, that holds the configuration of
one portal application
+ * Constructor, which builds a PortalApplicationConfig from a given DOM
element.
+ * @param app the DOM element, that holds the configuration of
one portal application
*/
protected PortalApplicationConfig(Element app) {
name = app.getAttribute("name");
1.2 +2 -2
cocoon-2.1/src/blocks/portal/java/org/apache/cocoon/portal/application/PortalApplicationConfigFactory.java
Index: PortalApplicationConfigFactory.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/blocks/portal/java/org/apache/cocoon/portal/application/PortalApplicationConfigFactory.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- PortalApplicationConfigFactory.java 25 Aug 2003 07:41:18 -0000
1.1
+++ PortalApplicationConfigFactory.java 18 Sep 2003 14:38:46 -0000
1.2
@@ -130,7 +130,7 @@
/**
* Returns a list of all application configurations
- * @return List a list of JDOM elements, which hold the portal
application config
+ * @return List a list of DOM elements, which hold the portal
application config
*/
private static NodeList getApplicationList() throws Exception {
Source s =