weaver 2004/07/09 11:19:40
Modified: components/registry/src/java/org/apache/jetspeed/om/preference/impl
PrefsPreference.java
Log:
added some docs
Revision Changes Path
1.2 +25 -18
jakarta-jetspeed-2/components/registry/src/java/org/apache/jetspeed/om/preference/impl/PrefsPreference.java
Index: PrefsPreference.java
===================================================================
RCS file:
/home/cvs/jakarta-jetspeed-2/components/registry/src/java/org/apache/jetspeed/om/preference/impl/PrefsPreference.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- PrefsPreference.java 18 Jun 2004 20:46:00 -0000 1.1
+++ PrefsPreference.java 9 Jul 2004 18:19:40 -0000 1.2
@@ -1,8 +1,17 @@
/*
- * Created on Jun 11, 2004
+ * Copyright 2000-2001,2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
*
- * TODO To change the template for this generated file go to Window -
- * Preferences - Java - Code Generation - Code and Comments
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package org.apache.jetspeed.om.preference.impl;
@@ -22,21 +31,7 @@
import org.apache.jetspeed.om.impl.PreferenceDescriptionImpl;
import org.apache.pluto.om.common.Description;
-/*
- * Copyright 2000-2001,2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+
public class PrefsPreference implements PreferenceComposite
{
protected static final String VALUES_PATH = "values";
@@ -525,6 +520,18 @@
throw ise;
}
}
+
+ /**
+ *
+ * <p>
+ * createPrefenceNode
+ * </p>
+ *
+ * Creates a Preferences object for this portlet
+ *
+ * @param portlet
+ * @return
+ */
public static Preferences createPrefenceNode(PortletDefinitionComposite portlet)
{
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]