Home » xmlbeans-2.5.0-src » org.apache » xmlbeans » [javadoc | source]

    1   package org.apache.xmlbeans;
    2   
    3   import javax.xml.namespace.QName;
    4   
    5   /**
    6    * The UserType class represents a mapping between an XML Schema QName and
    7    * a custom Java class type. It is used during code generation to determine
    8    * how to convert user-defined simple types to user defined Java classes.
    9    */
   10   public interface UserType
   11   {
   12       /**
   13        * The QName of the simple value that will be converted to a Java class.
   14        */
   15       QName getName();
   16   
   17       /**
   18        * The class name the simple value will be converted to.
   19        */
   20       String getJavaName();
   21   
   22       /**
   23        * A class which provides public static methods to convert {@link SimpleValue}
   24        * objects to and from the Java type specified by {@link #getJavaName()}.
   25        */
   26       String getStaticHandler();
   27   }

Home » xmlbeans-2.5.0-src » org.apache » xmlbeans » [javadoc | source]