Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_search_highlight_SimpleFragmenter_H
#define org_apache_lucene_search_highlight_SimpleFragmenter_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 Fragmenter;
}
}
namespace analysis {
class TokenStream;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace search {
namespace highlight {
class SimpleFragmenter : public ::java::lang::Object {
public:
enum {
mid_init$_d7775b228e076e62,
mid_init$_54889bef30791899,
mid_getFragmentSize_9135e6328d9d7dfd,
mid_isNewFragment_c20c2fcd6b89d9a9,
mid_setFragmentSize_54889bef30791899,
mid_start_25c043daf4040fb7,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit SimpleFragmenter(jobject obj) : ::java::lang::Object(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
SimpleFragmenter(const SimpleFragmenter& obj) : ::java::lang::Object(obj) {}
SimpleFragmenter();
SimpleFragmenter(jint);
jint getFragmentSize() const;
jboolean isNewFragment() const;
void setFragmentSize(jint) const;
void start(const ::java::lang::String &, const ::org::apache::lucene::analysis::TokenStream &) const;
};
}
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace search {
namespace highlight {
extern PyType_Def PY_TYPE_DEF(SimpleFragmenter);
extern PyTypeObject *PY_TYPE(SimpleFragmenter);
class t_SimpleFragmenter {
public:
PyObject_HEAD
SimpleFragmenter object;
static PyObject *wrap_Object(const SimpleFragmenter&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
}
#endif