[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-libs-commits] CVS: dotgnu.rdf RDFParser_SystemXml.cs,NONE,1.1 Do
From: |
adam ballai <address@hidden> |
Subject: |
[Dotgnu-libs-commits] CVS: dotgnu.rdf RDFParser_SystemXml.cs,NONE,1.1 DotGNU.Rdf.build,1.1,1.2 RDFParser.cs,1.1.1.1,1.2 |
Date: |
Tue, 04 Feb 2003 18:33:20 -0500 |
Update of /cvsroot/dotgnu-libs/dotgnu.rdf
In directory subversions:/tmp/cvs-serv8837
Modified Files:
DotGNU.Rdf.build RDFParser.cs
Added Files:
RDFParser_SystemXml.cs
Log Message:
--- NEW FILE ---
/*
* RDFParser_SystemXml.cs - Implementation of the "DotGNU.Rdf.RdfNode" class.
*
* Copyright (C) 2003 Adam Ballai, Cannibutter Software.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* Thanks to Redland http://www.redland.opensource.ac.uk for the design
interface.
*
*/
namespace DotGNU.Rdf
{
using System;
public class RdfParser_SystemXml extends RdfParser
{
// *factory
public delegate void Factory(RdfParserFactory parser_factory)
{
// do stuff
}
// librdf_parser_register_factory
public void ParserRegisterFactory(RdfWorld world, String name,
String mime_type, String uri_string, Factory parser_factory)
{
// do stuff
}
// librdf_get_parser_factory
public RdfParserFactory GetParserFactory(RdfWorld world, String
name, String mime_type, String, RdfUri type_uri)
{
// TODO
}
// librdf_new_parser
public RdfParser(RdfWorld world, String name, String mime_type,
RdfUri type_uri)
{
// TODO
}
// librdf_new_parser_from_factory
public RdfParser(RdfWorld world, RdfParserFactory
parser_factory)
{
// TODO
}
// librdf_free_parser
public void ParserFree(RdfParser parser)
{
// TODO
}
// librdf_parser_parse_as_stream
public RdfStream ParserParseAsStream(RdfParser parser, RdfUri
uri, RdfUri base_uri)
{
// TODO
}
// librdf_parser_parse_into_model
// non-zero on failure
public int ParserParseIntoModel(RdfParser parser, RdfUri uri,
RdfUri base_uri, RdfModel mode)
{
// TODO
}
// librdf_init_parser
public void ParserInit(RdfWorld world)
{
// TODO
}
// librdf_finish_parser
public void ParserFinish(RdfWorld world)
{
// TODO
}
// *error_fn
public delegate void ErrorFn(IntPtr user_data, String msg,
Object[] params)
{
// TODO
}
// librdf_parser_set_error
public void ParserSetError(RdfParser parser, ErrorFn errorfn)
{
// TODO
}
// *warning_fn
public void WarningFn(IntPtr user_data, String msg, Object[]
params)
{
// TODO
}
// librdf_parser_set_warning
public void ParserSetWarning(RdfParser parser, IntPtr
user_data, WarningFn warningfn)
{
// TODO
}
// librdf_parser_get_feature
public String Feature(RdfParser parser, RdfUri feature)
{
get
{
// TODO
}
}
// librdf_parser_set_feature
// return non-zero on failure ... negative if no such feature
public int Feature(RdfParser parser, RdfUri feature, String
value);
{
set
{
// TODO
}
}
}
}
Index: DotGNU.Rdf.build
===================================================================
RCS file: /cvsroot/dotgnu-libs/dotgnu.rdf/DotGNU.Rdf.build,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** DotGNU.Rdf.build 2 Feb 2003 01:17:53 -0000 1.1
--- DotGNU.Rdf.build 4 Feb 2003 23:33:18 -0000 1.2
***************
*** 11,15 ****
<sources>
! <includes name="**/*.cs"/>
</sources>
--- 11,19 ----
<sources>
! <includes name="RDFNode.cs" />
! <includes name="RDFEdge.cs" />
! <includes name="RDFParser.cs" />
! <includes name="RDFParser_SystemXml.cs" />
! <includes name="RDFGraph.cs" />
</sources>
Index: RDFParser.cs
===================================================================
RCS file: /cvsroot/dotgnu-libs/dotgnu.rdf/RDFParser.cs,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** RDFParser.cs 1 Feb 2003 23:32:41 -0000 1.1.1.1
--- RDFParser.cs 4 Feb 2003 23:33:18 -0000 1.2
***************
*** 72,80 ****
// librdf_parser_get_feature
! abstract String ParserGetFeature(RdfParser parser, RdfUri
feature);
// librdf_parser_set_feature
// return non-zero on failure ... negative if no such feature
! abstract int ParserSetFeature(RdfParser parser, RdfUri feature,
String value);
}
--- 72,80 ----
// librdf_parser_get_feature
! abstract String Feature(RdfParser parser, RdfUri feature);
// librdf_parser_set_feature
// return non-zero on failure ... negative if no such feature
! abstract int Feature(RdfParser parser, RdfUri feature, String
value);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-libs-commits] CVS: dotgnu.rdf RDFParser_SystemXml.cs,NONE,1.1 DotGNU.Rdf.build,1.1,1.2 RDFParser.cs,1.1.1.1,1.2,
adam ballai <address@hidden> <=