package org.librdf.redland;

/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version: 1.3.19
 *
 * Do not make changes to this file unless you know what you are doing--modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */


public class core {
  public final static native long librdf_new_world();
  public final static native void librdf_free_world(long jarg1);
  public final static native void librdf_world_open(long jarg1);
  public final static native void librdf_init_world(String jarg1, long jarg2);
  public final static native void librdf_destroy_world();
  public final static native void librdf_free_iterator(long jarg1);
  public final static native int librdf_iterator_have_elements(long jarg1);
  public final static native int librdf_iterator_end(long jarg1);
  public final static native long librdf_iterator_get_object(long jarg1);
  public final static native long librdf_iterator_get_context(long jarg1);
  public final static native int librdf_iterator_next(long jarg1);
  public final static native long librdf_new_uri(long jarg1, String jarg2);
  public final static native long librdf_new_uri_from_uri(long jarg1);
  public final static native long librdf_new_uri_from_filename(long jarg1, String jarg2);
  public final static native void librdf_free_uri(long jarg1);
  public final static native String librdf_uri_to_string(long jarg1);
  public final static native int librdf_uri_equals(long jarg1, long jarg2);
  public final static native long librdf_new_node(long jarg1);
  public final static native long librdf_new_node_from_uri_string(long jarg1, String jarg2);
  public final static native long librdf_new_node_from_uri(long jarg1, long jarg2);
  public final static native long librdf_new_node_from_literal(long jarg1, String jarg2, String jarg3, int jarg4);
  public final static native long librdf_new_node_from_typed_literal(long jarg1, String jarg2, String jarg3, long jarg4);
  public final static native long librdf_new_node_from_node(long jarg1);
  public final static native long librdf_new_node_from_blank_identifier(long jarg1, String jarg2);
  public final static native void librdf_free_node(long jarg1);
  public final static native long librdf_node_get_uri(long jarg1);
  public final static native int librdf_node_get_type(long jarg1);
  public final static native String librdf_node_get_literal_value(long jarg1);
  public final static native String librdf_node_get_literal_value_as_latin1(long jarg1);
  public final static native String librdf_node_get_literal_value_language(long jarg1);
  public final static native long librdf_node_get_literal_value_datatype_uri(long jarg1);
  public final static native int librdf_node_get_literal_value_is_wf_xml(long jarg1);
  public final static native String librdf_node_to_string(long jarg1);
  public final static native String librdf_node_get_blank_identifier(long jarg1);
  public final static native int librdf_node_is_resource(long jarg1);
  public final static native int librdf_node_is_literal(long jarg1);
  public final static native int librdf_node_is_blank(long jarg1);
  public final static native int librdf_node_equals(long jarg1, long jarg2);
  public final static native long librdf_new_statement(long jarg1);
  public final static native long librdf_new_statement_from_statement(long jarg1);
  public final static native long librdf_new_statement_from_nodes(long jarg1, long jarg2, long jarg3, long jarg4);
  public final static native void librdf_free_statement(long jarg1);
  public final static native long librdf_statement_get_subject(long jarg1);
  public final static native void librdf_statement_set_subject(long jarg1, long jarg2);
  public final static native long librdf_statement_get_predicate(long jarg1);
  public final static native void librdf_statement_set_predicate(long jarg1, long jarg2);
  public final static native long librdf_statement_get_object(long jarg1);
  public final static native void librdf_statement_set_object(long jarg1, long jarg2);
  public final static native String librdf_statement_to_string(long jarg1);
  public final static native long librdf_new_model(long jarg1, long jarg2, String jarg3);
  public final static native long librdf_new_model_with_options(long jarg1, long jarg2, long jarg3);
  public final static native long librdf_new_model_from_model(long jarg1);
  public final static native void librdf_free_model(long jarg1);
  public final static native int librdf_model_size(long jarg1);
  public final static native int librdf_model_add(long jarg1, long jarg2, long jarg3, long jarg4);
  public final static native int librdf_model_add_typed_literal_statement(long jarg1, long jarg2, long jarg3, String jarg4, String jarg5, long jarg6);
  public final static native int librdf_model_add_statement(long jarg1, long jarg2);
  public final static native int librdf_model_add_statements(long jarg1, long jarg2);
  public final static native int librdf_model_remove_statement(long jarg1, long jarg2);
  public final static native int librdf_model_contains_statement(long jarg1, long jarg2);
  public final static native long librdf_model_as_stream(long jarg1);
  public final static native long librdf_model_serialise(long jarg1);
  public final static native long librdf_model_find_statements(long jarg1, long jarg2);
  public final static native long librdf_model_get_sources(long jarg1, long jarg2, long jarg3);
  public final static native long librdf_model_get_arcs(long jarg1, long jarg2, long jarg3);
  public final static native long librdf_model_get_targets(long jarg1, long jarg2, long jarg3);
  public final static native long librdf_model_get_source(long jarg1, long jarg2, long jarg3);
  public final static native long librdf_model_get_arc(long jarg1, long jarg2, long jarg3);
  public final static native long librdf_model_get_target(long jarg1, long jarg2, long jarg3);
  public final static native int librdf_model_context_add_statement(long jarg1, long jarg2, long jarg3);
  public final static native int librdf_model_context_add_statements(long jarg1, long jarg2, long jarg3);
  public final static native int librdf_model_context_remove_statement(long jarg1, long jarg2, long jarg3);
  public final static native int librdf_model_context_remove_statements(long jarg1, long jarg2);
  public final static native long librdf_model_context_as_stream(long jarg1, long jarg2);
  public final static native long librdf_model_context_serialize(long jarg1, long jarg2);
  public final static native void librdf_model_sync(long jarg1);
  public final static native long librdf_new_storage(long jarg1, String jarg2, String jarg3, String jarg4);
  public final static native long librdf_new_storage_from_storage(long jarg1);
  public final static native void librdf_free_storage(long jarg1);
  public final static native long librdf_new_parser(long jarg1, String jarg2, String jarg3, long jarg4);
  public final static native void librdf_free_parser(long jarg1);
  public final static native long librdf_parser_parse_as_stream(long jarg1, long jarg2, long jarg3);
  public final static native int librdf_parser_parse_into_model(long jarg1, long jarg2, long jarg3, long jarg4);
  public final static native long librdf_parser_parse_string_as_stream(long jarg1, String jarg2, long jarg3);
  public final static native int librdf_parser_parse_string_into_model(long jarg1, String jarg2, long jarg3, long jarg4);
  public final static native String librdf_parser_get_feature(long jarg1, long jarg2);
  public final static native int librdf_parser_set_feature(long jarg1, long jarg2, String jarg3);
  public final static native long librdf_new_serializer(long jarg1, String jarg2, String jarg3, long jarg4);
  public final static native void librdf_free_serializer(long jarg1);
  public final static native int librdf_serializer_serialize_model_to_file(long jarg1, String jarg2, long jarg3, long jarg4);
  public final static native String librdf_serializer_get_feature(long jarg1, long jarg2);
  public final static native int librdf_serializer_set_feature(long jarg1, long jarg2, String jarg3);
  public final static native void librdf_free_stream(long jarg1);
  public final static native int librdf_stream_end(long jarg1);
  public final static native int librdf_stream_next(long jarg1);
  public final static native long librdf_stream_get_object(long jarg1);
  public final static native long librdf_stream_get_context(long jarg1);
  public final static native void librdf_internal_test_error(long jarg1);
  public final static native void librdf_internal_test_warning(long jarg1);
  public final static native String get_redland_copyright_string();
  public final static native String get_redland_version_string();
  public final static native int get_redland_version_major();
  public final static native int get_redland_version_minor();
  public final static native int get_redland_version_release();

  // START redland-fragment.java

  //
  // -*- Mode: java; c-basic-offset: 2 -*-
  //
  // redland-fragment.java - Inserted Java fragment for generated SWIG code
  //
  // $Id: redland-fragment.java,v 1.3 2003/08/24 15:27:51 cmdjb Exp $
  //
  // Copyright (C) 2001 David Beckett - http://purl.org/net/dajobe/
  // Institute for Learning and Research Technology - http://www.ilrt.org/
  // University of Bristol - http://www.bristol.ac.uk/
  // 
  // This package is Free Software or Open Source available under the
  // following licenses (these are alternatives):
  //   1. GNU Lesser General Public License (LGPL)
  //   2. GNU General Public License (GPL)
  //   3. Mozilla Public License (MPL)
  // 
  // See LICENSE.html or LICENSE.txt at the top of this package for the
  // full license terms.
  // 
  // 
  //

  static
    {
      // Load a library whose "core" name is 'rdf-java'
      // Operating system specific stuff will be added to make from this an
      // actual filename: Under Unix this will become librdf-java.so
      // while under Windows it will likely become something like
      // rdf-java.dll
      System.loadLibrary("rdf-java");
    }


  // END redland-fragment.java
}
