summaryrefslogtreecommitdiff
path: root/libjava/javax/imageio/spi/ServiceRegistry.h
blob: 79a48fe3fd5c78b37e2bc5218f3f1170db3bb368 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_imageio_spi_ServiceRegistry__
#define __javax_imageio_spi_ServiceRegistry__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace javax
  {
    namespace imageio
    {
      namespace spi
      {
          class ServiceRegistry;
          class ServiceRegistry$Filter;
      }
    }
  }
}

class javax::imageio::spi::ServiceRegistry : public ::java::lang::Object
{

public:
  ServiceRegistry(::java::util::Iterator *);
  static ::java::util::Iterator * lookupProviders(::java::lang::Class *, ::java::lang::ClassLoader *);
  static ::java::util::Iterator * lookupProviders(::java::lang::Class *);
  virtual ::java::util::Iterator * getCategories();
private:
  jboolean registerServiceProvider(::java::lang::Object *, jint);
public:
  virtual jboolean registerServiceProvider(::java::lang::Object *, ::java::lang::Class *);
  virtual void registerServiceProvider(::java::lang::Object *);
  virtual void registerServiceProviders(::java::util::Iterator *);
private:
  jboolean deregisterServiceProvider(::java::lang::Object *, jint);
public:
  virtual jboolean deregisterServiceProvider(::java::lang::Object *, ::java::lang::Class *);
  virtual void deregisterServiceProvider(::java::lang::Object *);
  virtual void deregisterAll(::java::lang::Class *);
  virtual void deregisterAll();
  virtual void finalize();
  virtual jboolean contains(::java::lang::Object *);
private:
  jint getCategoryID(::java::lang::Class *);
public:
  virtual ::java::util::Iterator * getServiceProviders(::java::lang::Class *, jboolean);
  virtual ::java::util::Iterator * getServiceProviders(::java::lang::Class *, ::javax::imageio::spi::ServiceRegistry$Filter *, jboolean);
  virtual ::java::lang::Object * getServiceProviderByClass(::java::lang::Class *);
  virtual jboolean setOrdering(::java::lang::Class *, ::java::lang::Object *, ::java::lang::Object *);
  virtual jboolean unsetOrdering(::java::lang::Class *, ::java::lang::Object *, ::java::lang::Object *);
private:
  jboolean addConstraint(jint, ::java::lang::Object *, ::java::lang::Object *);
  jboolean removeConstraint(jint, ::java::lang::Object *, ::java::lang::Object *);
public: // actually package-private
  JArray< ::java::lang::Class * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) categories;
private:
  JArray< ::java::util::LinkedList * > * providers;
  JArray< ::java::util::IdentityHashMap * > * constraints;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_imageio_spi_ServiceRegistry__