tim 2004/02/06 08:06:32
Modified: src/blocks/woody/java/org/apache/cocoon/woody/binding
JXPathBindingBase.java
JXPathBindingBuilderBase.java
src/blocks/woody/java/org/apache/cocoon/woody/formmodel
AbstractContainerDefinition.java
Log:
Fix some javadocs; now down to about 100 warnings.
Revision Changes Path
1.13 +7 -7
cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/binding/JXPathBindingBase.java
Index: JXPathBindingBase.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/binding/JXPathBindingBase.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- JXPathBindingBase.java 3 Feb 2004 12:26:21 -0000 1.12
+++ JXPathBindingBase.java 6 Feb 2004 16:06:32 -0000 1.13
@@ -143,7 +143,7 @@
}
/**
- * Performs the actual load binding regardless of the flag [EMAIL
PROTECTED] #loadEnabled}.
+ * Performs the actual load binding regardless of the configured value
of the "direction" attribute.
* Abstract method that subclasses need to implement for specific
activity.
*/
public abstract void doLoad(Widget frmModel, JXPathContext jxpc) throws
BindingException;
@@ -151,8 +151,8 @@
/**
* Redefines the Binding action as working on a JXPathContext Type rather
* then on generic objects.
- * Executes the actual loading [EMAIL PROTECTED] #doLoad(Widget,
JXPathContext)}
- * depending on the value of [EMAIL PROTECTED] #loadEnabled}
+ * Executes the actual loading via [EMAIL PROTECTED] #doLoad(Widget,
JXPathContext)}
+ * depending on the configured value of the "direction" attribute.
*/
public final void loadFormFromModel(Widget frmModel, JXPathContext jxpc)
throws BindingException {
boolean inheritedLeniency = jxpc.isLenient();
@@ -178,7 +178,7 @@
}
/**
- * Performs the actual save binding regardless of the flag [EMAIL
PROTECTED] #saveEnabled}.
+ * Performs the actual save binding regardless of the configured value
of the "direction" attribute.
* Abstract method that subclasses need to implement for specific
activity.
*/
public abstract void doSave(Widget frmModel, JXPathContext jxpc) throws
BindingException;
@@ -186,8 +186,8 @@
/**
* Redefines the Binding action as working on a JXPathContext Type rather
* then on generic objects.
- * Executes the actual saving [EMAIL PROTECTED] #doSave(Widget,
JXPathContext)}
- * depending on the value of [EMAIL PROTECTED] #saveEnabled}
+ * Executes the actual saving via [EMAIL PROTECTED] #doSave(Widget,
JXPathContext)}
+ * depending on the configured value of the "direction" attribute.
*/
public final void saveFormToModel(Widget frmModel, JXPathContext jxpc)
throws BindingException{
boolean inheritedLeniency = jxpc.isLenient();
1.2 +9 -3
cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/binding/JXPathBindingBuilderBase.java
Index: JXPathBindingBuilderBase.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/binding/JXPathBindingBuilderBase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- JXPathBindingBuilderBase.java 3 Feb 2004 12:26:21 -0000 1.1
+++ JXPathBindingBuilderBase.java 6 Feb 2004 16:06:32 -0000 1.2
@@ -58,11 +58,11 @@
/**
* Abstract base class enabling logging and supporting the intrepretation of
* common configuration settings on all specific implementations of
- * [EMAIL PROTECTED] org.apache.cocoon.woody.binding.JXPathBindingBase}.
+ * [EMAIL PROTECTED] org.apache.cocoon.woody.binding.JXPathBindingBase}.
*
* Common supported configurations:
* <ul>
- * <li>Attribute direction="load|save|both": [EMAIL PROTECTED]
#getDirectionAttributes(Element)}</li>
+ * <li>Attribute direction="load|save|both": [EMAIL PROTECTED]
#getDirectionAttributes(Element)}</li>
* </ul>
*
* @version CVS $Id$
@@ -154,7 +154,13 @@
* actions of a given binding.
*/
static class CommonAttributes{
+ /**
+ * Flag which controls whether a binding is active during loading.
+ */
final boolean loadEnabled;
+ /**
+ * Flag which controls whether a binding is active during saving.
+ */
final boolean saveEnabled;
final Boolean leniency;
1.2 +2 -2
cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/AbstractContainerDefinition.java
Index: AbstractContainerDefinition.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/AbstractContainerDefinition.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- AbstractContainerDefinition.java 29 Dec 2003 06:14:49 -0000 1.1
+++ AbstractContainerDefinition.java 6 Feb 2004 16:06:32 -0000 1.2
@@ -54,7 +54,7 @@
import java.util.List;
/**
- * The [EMAIL PROTECTED] AbstractContainerDefinition} corresponding to an
[EMAIL PROTECTED] AbstractContainer} widget.
+ * The [EMAIL PROTECTED] AbstractContainerDefinition} corresponding to an
[EMAIL PROTECTED] AbstractContainerWidget}.
*
* CVS $Id$
* @author Timothy Larson