You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by rd...@apache.org on 2004/04/18 19:34:38 UTC

cvs commit: jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy ActionMappingStrategy.java

rdonkin     2004/04/18 10:34:38

  Modified:    betwixt/src/java/org/apache/commons/betwixt/strategy Tag:
                        REFACTORING-BRANCH_2004-01-13
                        ActionMappingStrategy.java
  Log:
  Added java docs
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.2   +23 -5     jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy/Attic/ActionMappingStrategy.java
  
  Index: ActionMappingStrategy.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy/Attic/ActionMappingStrategy.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- ActionMappingStrategy.java	21 Feb 2004 17:20:19 -0000	1.1.2.1
  +++ ActionMappingStrategy.java	18 Apr 2004 17:34:38 -0000	1.1.2.2
  @@ -69,13 +69,31 @@
   import org.xml.sax.Attributes;
   
   /**
  + * <p>
  + * Pluggable strategy interface used for free mappings.
  + * </p>
  + * <p>
  + * Free mappings (ones where the current mapping ) 
  + * are executed by calling a <code>ActionMappingStrategy</code> 
  + * implementation.
  + * So, using a custom strategy is an easy way to 
  + * customize the mapping. 
  + * </p>
    * @author <a href='http://jakarta.apache.org/'>Jakarta Commons Team</a>
    * @version $Revision$
    */
   public class ActionMappingStrategy {
       
   
  -    
  +    /**
  +     * Gets the mapping action to map the given element.
  +     * @param namespace not null
  +     * @param name not null
  +     * @param attributes <code>Attributes</code>, not null
  +     * @param context <code>ReadContext</code>, not null
  +     * @return <code>MappingAction</code>, not null
  +     * @throws Exception
  +     */
       public MappingAction getMappingAction(    
                               String namespace,
                               String name,
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org