Author: mrglavas
Date: Sat Feb 20 21:40:23 2010
New Revision: 912230
URL: http://svn.apache.org/viewvc?rev=912230&view=rev
Log:
Adding a method for copying schema information fields from one ElementPSVImpl
to another. Useful to avoid materializing the XSModel if it's never read by the
application.
Modified:
xerces/java/trunk/src/org/apache/xerces/impl/xs/ElementPSVImpl.java
Modified: xerces/java/trunk/src/org/apache/xerces/impl/xs/ElementPSVImpl.java
URL:
http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/impl/xs/ElementPSVImpl.java?rev=912230&r1=912229&r2=912230&view=diff
==============================================================================
--- xerces/java/trunk/src/org/apache/xerces/impl/xs/ElementPSVImpl.java
(original)
+++ xerces/java/trunk/src/org/apache/xerces/impl/xs/ElementPSVImpl.java Sat Feb
20 21:40:23 2010
@@ -285,5 +285,9 @@
fActualValueType = XSConstants.UNAVAILABLE_DT;
fItemValueTypes = null;
}
-
+
+ public void copySchemaInformationTo(ElementPSVImpl target) {
+ target.fGrammars = fGrammars;
+ target.fSchemaInformation = fSchemaInformation;
+ }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]