
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_xml_datatype_DatatypeFactory__
#define __javax_xml_datatype_DatatypeFactory__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace java
  {
    namespace math
    {
        class BigDecimal;
        class BigInteger;
    }
  }
  namespace javax
  {
    namespace xml
    {
      namespace datatype
      {
          class DatatypeFactory;
          class Duration;
          class XMLGregorianCalendar;
      }
    }
  }
}

class javax::xml::datatype::DatatypeFactory : public ::java::lang::Object
{

public: // actually protected
  DatatypeFactory();
public:
  static ::javax::xml::datatype::DatatypeFactory * newInstance();
  virtual ::javax::xml::datatype::Duration * newDuration(::java::lang::String *) = 0;
  virtual ::javax::xml::datatype::Duration * newDuration(jlong) = 0;
  virtual ::javax::xml::datatype::Duration * newDuration(jboolean, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigDecimal *) = 0;
  virtual ::javax::xml::datatype::Duration * newDuration(jboolean, jint, jint, jint, jint, jint, jint);
  virtual ::javax::xml::datatype::Duration * newDurationDayTime(::java::lang::String *);
  virtual ::javax::xml::datatype::Duration * newDurationDayTime(jlong);
  virtual ::javax::xml::datatype::Duration * newDurationDayTime(jboolean, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *, ::java::math::BigInteger *);
  virtual ::javax::xml::datatype::Duration * newDurationDayTime(jboolean, jint, jint, jint, jint);
  virtual ::javax::xml::datatype::Duration * newDurationYearMonth(::java::lang::String *);
  virtual ::javax::xml::datatype::Duration * newDurationYearMonth(jlong);
  virtual ::javax::xml::datatype::Duration * newDurationYearMonth(jboolean, ::java::math::BigInteger *, ::java::math::BigInteger *);
  virtual ::javax::xml::datatype::Duration * newDurationYearMonth(jboolean, jint, jint);
  virtual ::javax::xml::datatype::XMLGregorianCalendar * newXMLGregorianCalendar() = 0;
  virtual ::javax::xml::datatype::XMLGregorianCalendar * newXMLGregorianCalendar(::java::lang::String *) = 0;
  virtual ::javax::xml::datatype::XMLGregorianCalendar * newXMLGregorianCalendar(::java::util::GregorianCalendar *) = 0;
  virtual ::javax::xml::datatype::XMLGregorianCalendar * newXMLGregorianCalendar(::java::math::BigInteger *, jint, jint, jint, jint, jint, ::java::math::BigDecimal *, jint) = 0;
  virtual ::javax::xml::datatype::XMLGregorianCalendar * newXMLGregorianCalendar(jint, jint, jint, jint, jint, jint, jint, jint);
  virtual ::javax::xml::datatype::XMLGregorianCalendar * newXMLGregorianCalendarDate(jint, jint, jint, jint);
  virtual ::javax::xml::datatype::XMLGregorianCalendar * newXMLGregorianCalendarTime(jint, jint, jint, jint);
  virtual ::javax::xml::datatype::XMLGregorianCalendar * newXMLGregorianCalendarTime(jint, jint, jint, ::java::math::BigDecimal *, jint);
  virtual ::javax::xml::datatype::XMLGregorianCalendar * newXMLGregorianCalendarTime(jint, jint, jint, jint, jint);
  static ::java::lang::String * DATATYPEFACTORY_PROPERTY;
  static ::java::lang::String * DATATYPEFACTORY_IMPLEMENTATION_CLASS;
  static ::java::lang::Class class$;
};

#endif // __javax_xml_datatype_DatatypeFactory__
