commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject cvs commit: jakarta-commons-sandbox/betwixt/src/java/org/apache/commons/betwixt/digester XMLIntrospectorHelper.java
Date Sat, 01 Jun 2002 01:58:52 GMT
jvanzyl     2002/05/31 18:58:52

  Modified:    betwixt/src/java/org/apache/commons/betwixt/digester
                        XMLIntrospectorHelper.java
  Log:
  Use the name mapper strategy when setting the local name of a descriptor.
  
  Revision  Changes    Path
  1.9       +6 -6      jakarta-commons-sandbox/betwixt/src/java/org/apache/commons/betwixt/digester/XMLIntrospectorHelper.java
  
  Index: XMLIntrospectorHelper.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/betwixt/src/java/org/apache/commons/betwixt/digester/XMLIntrospectorHelper.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- XMLIntrospectorHelper.java	29 May 2002 11:54:56 -0000	1.8
  +++ XMLIntrospectorHelper.java	1 Jun 2002 01:58:52 -0000	1.9
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-commons-sandbox/betwixt/src/java/org/apache/commons/betwixt/digester/XMLIntrospectorHelper.java,v
1.8 2002/05/29 11:54:56 jvanzyl Exp $
  - * $Revision: 1.8 $
  - * $Date: 2002/05/29 11:54:56 $
  + * $Header: /home/cvs/jakarta-commons-sandbox/betwixt/src/java/org/apache/commons/betwixt/digester/XMLIntrospectorHelper.java,v
1.9 2002/06/01 01:58:52 jvanzyl Exp $
  + * $Revision: 1.9 $
  + * $Date: 2002/06/01 01:58:52 $
    *
    * ====================================================================
    *
  @@ -57,7 +57,7 @@
    * information on the Apache Software Foundation, please see
    * <http://www.apache.org/>.
    * 
  - * $Id: XMLIntrospectorHelper.java,v 1.8 2002/05/29 11:54:56 jvanzyl Exp $
  + * $Id: XMLIntrospectorHelper.java,v 1.9 2002/06/01 01:58:52 jvanzyl Exp $
    */
   package org.apache.commons.betwixt.digester;
   
  @@ -99,7 +99,7 @@
     * common code shared between the digestor and introspector.</p>
     *
     * @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
  -  * @version $Revision: 1.8 $
  +  * @version $Revision: 1.9 $
     */
   public class XMLIntrospectorHelper {
   
  @@ -343,7 +343,7 @@
                                   ElementDescriptor child = children[0];
                                   String localName = child.getLocalName();
                                   if ( localName == null || localName.length() == 0 ) {
  -                                    child.setLocalName( propertyName );
  +                                    child.setLocalName( introspector.getNameMapper().mapTypeToElementName(
propertyName ) );
                                   }
                               }
                           }
  
  
  

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


Mime
View raw message