hivemind-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject cvs commit: jakarta-hivemind/framework/src/java/org/apache/hivemind/impl SchemaProcessorImpl.java SchemaElement.java
Date Wed, 09 Jun 2004 14:52:14 GMT
hlship      2004/06/09 07:52:14

  Modified:    framework/src/java/org/apache/hivemind/impl
                        SchemaProcessorImpl.java SchemaElement.java
  Log:
  All the read-attribute rule to override the attribute's translator.
  
  Revision  Changes    Path
  1.5       +5 -0      jakarta-hivemind/framework/src/java/org/apache/hivemind/impl/SchemaProcessorImpl.java
  
  Index: SchemaProcessorImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-hivemind/framework/src/java/org/apache/hivemind/impl/SchemaProcessorImpl.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- SchemaProcessorImpl.java	5 Jun 2004 19:09:12 -0000	1.4
  +++ SchemaProcessorImpl.java	9 Jun 2004 14:52:14 -0000	1.5
  @@ -231,4 +231,9 @@
       {
           return _activeElement.getAttributeTranslator(attributeName);
       }
  +
  +    public Translator getTranslator(String translator)
  +    {
  +        return getContributingModule().getTranslator(translator);
  +    }
   }
  
  
  
  1.4       +1 -1      jakarta-hivemind/framework/src/java/org/apache/hivemind/impl/SchemaElement.java
  
  Index: SchemaElement.java
  ===================================================================
  RCS file: /home/cvs/jakarta-hivemind/framework/src/java/org/apache/hivemind/impl/SchemaElement.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SchemaElement.java	5 Jun 2004 19:09:12 -0000	1.3
  +++ SchemaElement.java	9 Jun 2004 14:52:14 -0000	1.4
  @@ -203,7 +203,7 @@
           if (translator == null)
               return _nullTranslator;
   
  -        return _processor.getContributingModule().getTranslator(translator);
  +        return _processor.getTranslator(translator);
       }
   
       public Translator getAttributeTranslator(String attributeName)
  
  
  

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


Mime
View raw message