Class DatatypeFactory


  • public class DatatypeFactory
    extends java.lang.Object
    Builds Data from a XML Schema datatype.
    Author:
    Kohsuke Kawaguchi
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      JType getType​(java.lang.String datatypeLibrary, java.lang.String type)
      Decides the Java datatype from XML datatype.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DatatypeFactory

        public DatatypeFactory​(JCodeModel codeModel)
    • Method Detail

      • getType

        public JType getType​(java.lang.String datatypeLibrary,
                             java.lang.String type)
        Decides the Java datatype from XML datatype.
        Returns:
        null if none is found.