xerces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject cvs commit: xml-xerces/c/src/xercesc/validators/common GrammarResolver.cpp GrammarResolver.hpp
Date Tue, 02 Sep 2003 09:04:44 GMT
gareth      2003/09/02 02:04:44

  Modified:    c/src/xercesc/validators/common GrammarResolver.cpp
                        GrammarResolver.hpp
  Log:
  added API to get enumerator to referenced grammars.
  
  Revision  Changes    Path
  1.18      +10 -1     xml-xerces/c/src/xercesc/validators/common/GrammarResolver.cpp
  
  Index: GrammarResolver.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/common/GrammarResolver.cpp,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- GrammarResolver.cpp	1 Sep 2003 12:59:59 -0000	1.17
  +++ GrammarResolver.cpp	2 Sep 2003 09:04:44 -0000	1.18
  @@ -57,6 +57,9 @@
   
   /*
    * $Log$
  + * Revision 1.18  2003/09/02 09:04:44  gareth
  + * added API to get enumerator to referenced grammars.
  + *
    * Revision 1.17  2003/09/01 12:59:59  gareth
    * added API to get an enumerator for the cached grammars.
    *
  @@ -296,9 +299,15 @@
   }
   
   RefHashTableOfEnumerator<Grammar>
  -GrammarResolver::getCachedGrammarEnumerator() const
  +GrammarResolver::getReferencedGrammarEnumerator() const
   {
       return RefHashTableOfEnumerator<Grammar>(fGrammarFromPool);
  +}
  +
  +RefHashTableOfEnumerator<Grammar>
  +GrammarResolver::getCachedGrammarEnumerator() const
  +{
  +    return fGrammarPool->getGrammarEnumerator();
   }
   
   bool GrammarResolver::containsNameSpace( const XMLCh* const nameSpaceKey )
  
  
  
  1.15      +10 -4     xml-xerces/c/src/xercesc/validators/common/GrammarResolver.hpp
  
  Index: GrammarResolver.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/common/GrammarResolver.hpp,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- GrammarResolver.hpp	1 Sep 2003 12:59:59 -0000	1.14
  +++ GrammarResolver.hpp	2 Sep 2003 09:04:44 -0000	1.15
  @@ -136,12 +136,18 @@
       RefHashTableOfEnumerator<Grammar> getGrammarEnumerator() const;
   
       /**
  -     * Get an enumeration of the cached Grammar in the Grammar pool
  +     * Get an enumeration of the referenced Grammars 
        *
  -     * @return enumeration of cached Grammar in Grammar pool
  +     * @return enumeration of referenced Grammars
        */
  -    RefHashTableOfEnumerator<Grammar> getCachedGrammarEnumerator() const;
  +    RefHashTableOfEnumerator<Grammar> getReferencedGrammarEnumerator() const;
   
  +    /**
  +     * Get an enumeration of the cached Grammars in the Grammar pool
  +     *
  +     * @return enumeration of the cached Grammars in Grammar pool
  +     */
  +    RefHashTableOfEnumerator<Grammar> getCachedGrammarEnumerator() const;
   
       /**
        * Get a string pool of schema grammar element/attribute names/prefixes
  
  
  

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


Mime
View raw message