[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jibx-cvs
Subject:    [Jibx-cvs] core/build/src/org/jibx/schema SchemaVisitor.java, 1.8,
From:       Dennis Sosnoski <dsosnoski () users ! sourceforge ! net>
Date:       2010-01-26 10:37:24
Message-ID: E1NZinU-0000Sl-Kp () sfp-cvsdas-3 ! v30 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Update of /cvsroot/jibx/core/build/src/org/jibx/schema
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv1772/build/src/org/jibx/schema


Modified Files:
	SchemaVisitor.java 
Log Message:
Extend call hierarchy to include SchemaLocationRequiredBase.

Index: SchemaVisitor.java
===================================================================
RCS file: /cvsroot/jibx/core/build/src/org/jibx/schema/SchemaVisitor.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** SchemaVisitor.java	30 Sep 2009 12:08:26 -0000	1.8
--- SchemaVisitor.java	26 Jan 2010 10:37:22 -0000	1.9
***************
*** 1,4 ****
  /*
!  * Copyright (c) 2004-2009, Dennis M. Sosnoski. All rights reserved.
   * 
   * Redistribution and use in source and binary forms, with or without modification, \
                are permitted provided that the
--- 1,4 ----
  /*
!  * Copyright (c) 2004-2010, Dennis M. Sosnoski. All rights reserved.
   * 
   * Redistribution and use in source and binary forms, with or without modification, \
                are permitted provided that the
***************
*** 57,60 ****
--- 57,61 ----
  import org.jibx.schema.elements.SchemaElement;
  import org.jibx.schema.elements.SchemaLocationBase;
+ import org.jibx.schema.elements.SchemaLocationRequiredBase;
  import org.jibx.schema.elements.SelectionBase;
  import org.jibx.schema.elements.SequenceElement;
***************
*** 213,216 ****
--- 214,227 ----
      
      /**
+      * Visit schema location required element.
+      * 
+      * @param node element being visited
+      * @return <code>true</code> if children to be processed, <code>false</code> if \
not +      */
+     public boolean visit(SchemaLocationRequiredBase node) {
+         return visit((SchemaLocationBase)node);
+     }
+     
+     /**
       * Visit selection element.
       *
***************
*** 422,426 ****
       */
      public boolean visit(IncludeElement node) {
!         return visit((SchemaLocationBase)node);
      }
      
--- 433,437 ----
       */
      public boolean visit(IncludeElement node) {
!         return visit((SchemaLocationRequiredBase)node);
      }
      
***************
*** 462,466 ****
       */
      public boolean visit(RedefineElement node) {
!         return visit((SchemaLocationBase)node);
      }
      
--- 473,477 ----
       */
      public boolean visit(RedefineElement node) {
!         return visit((SchemaLocationRequiredBase)node);
      }
      
***************
*** 677,680 ****
--- 688,700 ----
      
      /**
+      * Exit schema location element.
+      * 
+      * @param node element being exited
+      */
+     public void exit(SchemaLocationRequiredBase node) {
+         exit((SchemaLocationBase)node);
+     }
+     
+     /**
       * Exit selection element.
       *
***************
*** 865,869 ****
       */
      public void exit(IncludeElement node) {
!         exit((SchemaLocationBase)node);
      }
      
--- 885,889 ----
       */
      public void exit(IncludeElement node) {
!         exit((SchemaLocationRequiredBase)node);
      }
      
***************
*** 901,905 ****
       */
      public void exit(RedefineElement node) {
!         exit((SchemaLocationBase)node);
      }
      
--- 921,925 ----
       */
      public void exit(RedefineElement node) {
!         exit((SchemaLocationRequiredBase)node);
      }
      


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Jibx-cvs mailing list
Jibx-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-cvs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic