1 16 17 package org.apache.axis.schema; 18 19 import org.apache.axis.Constants; 20 import org.apache.axis.encoding.TypeMappingImpl; 21 import org.apache.axis.encoding.ser.CalendarDeserializerFactory; 22 import org.apache.axis.encoding.ser.CalendarSerializerFactory; 23 24 import javax.xml.namespace.QName ; 25 26 31 public class SchemaVersion1999 implements SchemaVersion { 32 public static QName QNAME_NIL = new QName (Constants.URI_1999_SCHEMA_XSI, 33 "null"); 34 35 39 SchemaVersion1999() { 40 } 41 42 47 public QName getNilQName() { 48 return QNAME_NIL; 49 } 50 51 55 public String getXsiURI() { 56 return Constants.URI_1999_SCHEMA_XSI; 57 } 58 59 63 public String getXsdURI() { 64 return Constants.URI_1999_SCHEMA_XSD; 65 } 66 67 70 public void registerSchemaSpecificTypes(TypeMappingImpl tm) { 71 72 tm.register(java.util.Calendar .class, 74 Constants.XSD_TIMEINSTANT1999, 75 new CalendarSerializerFactory(java.util.Calendar .class, 76 Constants.XSD_TIMEINSTANT1999), 77 new CalendarDeserializerFactory(java.util.Calendar .class, 78 Constants.XSD_TIMEINSTANT1999)); 79 } 80 } 81 | Popular Tags |