/[cashew-s-editor]/cashews/src/nongnu/cashews/xml/schema/TypeMapper.java
ViewVC logotype

Diff of /cashews/src/nongnu/cashews/xml/schema/TypeMapper.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by gnu_andrew, Wed May 4 22:14:05 2005 UTC revision 1.2 by gnu_andrew, Sat May 7 21:22:54 2005 UTC
# Line 26  import java.net.URI; Line 26  import java.net.URI;
26  import java.util.HashMap;  import java.util.HashMap;
27  import java.util.Map;  import java.util.Map;
28    
29    import javax.xml.namespace.QName;
30    
31  import nongnu.cashews.xml.schema.datatypes.AnyUri;  import nongnu.cashews.xml.schema.datatypes.AnyUri;
32    import nongnu.cashews.xml.schema.datatypes.Int;
33    import nongnu.cashews.xml.schema.datatypes.XsdQName;
34    
35  /**  /**
36   * Maps a Java data type to an XML schema data type.   * Maps a Java data type to an XML schema data type.
# Line 48  public class TypeMapper Line 52  public class TypeMapper
52    {    {
53      builtInTypes = new HashMap<Type,XsdType<?>>();      builtInTypes = new HashMap<Type,XsdType<?>>();
54      builtInTypes.put(URI.class, new AnyUri());      builtInTypes.put(URI.class, new AnyUri());
55        builtInTypes.put(QName.class, new XsdQName());
56        builtInTypes.put(Integer.class, new Int());
57    }    }
58    
59    /**    /**

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26