You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Neeraj Bajaj <Ne...@Sun.COM> on 2001/12/22 02:55:45 UTC

'SimpleTypeUsage' class

Hi,

	Please find attatched 'SimpleTypeUsage' class to be put in 'samples' 
package.

It demonstrates how to use the new simple type interfaces defined in 
'org.apache.xerces.impl.dv' package for the purpose of,

   1. how to query property information of Simple Type Definition Schema Component 
as defined,
  http://www.w3.org/TR/xmlschema-1/#Simple_Type_Definition_details
  
  2. how to get instance of particular SchemaDVFactory implementation.
  3. how to get built-in type/s and create new types as derived by restriction, 
list or union, using factory methods of SchemaDVFactory.
  4. how to use those simple type (built-in/created) to validate the values.
  
     This class will be useful for any application which wants to use the simple 
type implementation directly as separate module.
 	
 	this example will also be chagned as more PSVI support (information about 
fundamental facets) is added in simple type implementation.
 	 
thanks,
Neeraj Bajaj
Sun Microsystems, inc.

Phone: 080-2298989 x87425.