/[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.2 by gnu_andrew, Sat May 7 21:22:54 2005 UTC revision 1.3 by gnu_andrew, Fri May 13 01:46:47 2005 UTC
# Line 31  import javax.xml.namespace.QName; Line 31  import javax.xml.namespace.QName;
31  import nongnu.cashews.xml.schema.datatypes.AnyUri;  import nongnu.cashews.xml.schema.datatypes.AnyUri;
32  import nongnu.cashews.xml.schema.datatypes.Int;  import nongnu.cashews.xml.schema.datatypes.Int;
33  import nongnu.cashews.xml.schema.datatypes.XsdQName;  import nongnu.cashews.xml.schema.datatypes.XsdQName;
34    import nongnu.cashews.xml.schema.datatypes.XsdString;
35    
36  /**  /**
37   * Maps a Java data type to an XML schema data type.   * Maps a Java data type to an XML schema data type.
# Line 54  public class TypeMapper Line 55  public class TypeMapper
55      builtInTypes.put(URI.class, new AnyUri());      builtInTypes.put(URI.class, new AnyUri());
56      builtInTypes.put(QName.class, new XsdQName());      builtInTypes.put(QName.class, new XsdQName());
57      builtInTypes.put(Integer.class, new Int());      builtInTypes.put(Integer.class, new Int());
58        builtInTypes.put(String.class, new XsdString());
59    }    }
60    
61    /**    /**

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

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