You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by sa...@apache.org on 2003/12/02 16:38:27 UTC

cvs commit: xml-xerces/java/src/org/apache/xerces/xni/grammars XSGrammar.java

sandygao    2003/12/02 07:38:27

  Modified:    java/src/org/apache/xerces/xni/grammars XSGrammar.java
  Log:
  Add a new method in the XSGrammar interface, to convert an array of
  schema grammers to an XSModel.
  
  Revision  Changes    Path
  1.3       +10 -1     xml-xerces/java/src/org/apache/xerces/xni/grammars/XSGrammar.java
  
  Index: XSGrammar.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/xni/grammars/XSGrammar.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- XSGrammar.java	11 Nov 2003 20:15:01 -0000	1.2
  +++ XSGrammar.java	2 Dec 2003 15:38:27 -0000	1.3
  @@ -81,4 +81,13 @@
        */
       public XSModel toXSModel();
       
  +    /**
  +     * Return an <code>XSModel</code> that represents components in this schema
  +     * grammar and the grammars in the <code>grammars</code>parameter,
  +     * any schema grammars that are imported by them directly or indirectly.
  +     * 
  +     * @return  an <code>XSModel</code> representing these schema grammars
  +     */
  +    public XSModel toXSModel(XSGrammar[] grammars);
  +
   } // interface XSGrammar
  
  
  

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