FileDocCategorySizeDatePackage
SchemaVersion2000.javaAPI DocApache Axis 1.42467Sat Apr 22 18:57:28 BST 2006org.apache.axis.schema

SchemaVersion2000

public class SchemaVersion2000 extends Object implements SchemaVersion
2000 Schema characteristics.
author
Glen Daniels (gdaniels@apache.org)

Fields Summary
public static QName
QNAME_NIL
Constructors Summary
SchemaVersion2000()
Package-access constructor - access this through SchemaVersion constants.

                 
     
    
Methods Summary
public javax.xml.namespace.QNamegetNilQName()
Get the appropriate QName for the "null"/"nil" attribute for this Schema version.

return
{http://www.w3.org/2000/10/XMLSchema-instance}null

        return QNAME_NIL;
    
public java.lang.StringgetXsdURI()
The XSD URI

return
the XSD URI

        return Constants.URI_2000_SCHEMA_XSD;
    
public java.lang.StringgetXsiURI()
The XSI URI

return
the XSI URI

        return Constants.URI_2000_SCHEMA_XSI;
    
public voidregisterSchemaSpecificTypes(org.apache.axis.encoding.TypeMappingImpl tm)
Register the schema specific type mappings

        
        // Register the timeInstant type
        tm.register(java.util.Calendar.class, 
                    Constants.XSD_TIMEINSTANT2000,
                    new CalendarSerializerFactory(java.util.Calendar.class,
                                                  Constants.XSD_TIMEINSTANT2000),
                    new CalendarDeserializerFactory(java.util.Calendar.class,
                                                    Constants.XSD_TIMEINSTANT2000));