Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_search_highlight_GradientFormatter_H
#define org_apache_lucene_search_highlight_GradientFormatter_H
#include "java/lang/Object.h"
namespace java {
namespace lang {
class String;
class Class;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace search {
namespace highlight {
class TokenGroup;
class Formatter;
}
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace search {
namespace highlight {
class GradientFormatter : public ::java::lang::Object {
public:
enum {
mid_init$_8dcbd3be18a4c6d7,
mid_hexToInt_8a3ef3a507fbe37b,
mid_highlightTerm_4a48f401f6529985,
mid_getForegroundColorString_a2f822fd8a700b0e,
mid_getBackgroundColorString_a2f822fd8a700b0e,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit GradientFormatter(jobject obj) : ::java::lang::Object(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
GradientFormatter(const GradientFormatter& obj) : ::java::lang::Object(obj) {}
GradientFormatter(jfloat, const ::java::lang::String &, const ::java::lang::String &, const ::java::lang::String &, const ::java::lang::String &);
static jint hexToInt(const ::java::lang::String &);
::java::lang::String highlightTerm(const ::java::lang::String &, const ::org::apache::lucene::search::highlight::TokenGroup &) const;
};
}
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace search {
namespace highlight {
extern PyType_Def PY_TYPE_DEF(GradientFormatter);
extern PyTypeObject *PY_TYPE(GradientFormatter);
class t_GradientFormatter {
public:
PyObject_HEAD
GradientFormatter object;
static PyObject *wrap_Object(const GradientFormatter&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
}
#endif