[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-libs-commits] CVS: dotgnu.rdf RdfSerializerN3.cs,NONE,1.1 Chang
From: |
Adam Ballai <address@hidden> |
Subject: |
[Dotgnu-libs-commits] CVS: dotgnu.rdf RdfSerializerN3.cs,NONE,1.1 ChangeLog,1.9,1.10 DotGNU.Rdf.build,1.4,1.5 RdfSerializer.cs,1.2,1.3 |
Date: |
Sat, 15 Feb 2003 11:56:54 -0500 |
Update of /cvsroot/dotgnu-libs/dotgnu.rdf
In directory subversions:/tmp/cvs-serv8630
Modified Files:
ChangeLog DotGNU.Rdf.build RdfSerializer.cs
Added Files:
RdfSerializerN3.cs
Log Message:
--- NEW FILE ---
/*
* RdfSerializerN3.cs - Implementation of the "DotGNU.Rdf.RdfSerializerN3"
class.
*
* A triples writer based of euler.
*
* 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
*
*/
namespace DotGNU.Rdf
{
using System;
public abstract class RdfSerializerN3 : RdfSerializer
{
public RdfSerializerN3(RdfWorld world, String name, String
mimetype, RdfUri uri) :
base(world, name, mimetype, uri)
{
// donothing
}
public override void SetError(IntPtr user_data, ErrorFn
error_fn)
{
}
public override bool SetFeature(RdfUri name, String value)
{
return false;
}
public override bool GetFeature(RdfUri name)
{
return false;
}
public override void SerializeModel(String filename, RdfModel
model, RdfUri baseuri)
{
}
}
}
Index: ChangeLog
===================================================================
RCS file: /cvsroot/dotgnu-libs/dotgnu.rdf/ChangeLog,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** ChangeLog 15 Feb 2003 12:59:53 -0000 1.9
--- ChangeLog 15 Feb 2003 16:56:51 -0000 1.10
***************
*** 1,4 ****
--- 1,8 ----
2003-02-15 06:01 Adam Ballai <address@hidden>
+ * RdfSerializerN3.cs,
+ DotGNU.Rdf.build,
+ RdfSerializer.cs: Add stub for N3 writer. Altered Buildfiles to
+ reflect new code.
* FeatureTable.cs, RdfSerializer.cs: Add Serializer interface and
utility for serializer implementations.
Index: DotGNU.Rdf.build
===================================================================
RCS file: /cvsroot/dotgnu-libs/dotgnu.rdf/DotGNU.Rdf.build,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** DotGNU.Rdf.build 15 Feb 2003 13:35:42 -0000 1.4
--- DotGNU.Rdf.build 15 Feb 2003 16:56:51 -0000 1.5
***************
*** 22,25 ****
--- 22,26 ----
<includes name="RdfParser_SystemXml.cs" />
<includes name="RdfSerializer.cs" />
+ <includes name="RdfSerializerN3.cs" />
<includes name="FeatureTable.cs" />
</sources>
Index: RdfSerializer.cs
===================================================================
RCS file: /cvsroot/dotgnu-libs/dotgnu.rdf/RdfSerializer.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** RdfSerializer.cs 15 Feb 2003 13:35:42 -0000 1.2
--- RdfSerializer.cs 15 Feb 2003 16:56:51 -0000 1.3
***************
*** 29,40 ****
protected String name;
protected String mimetype;
! protected String uri;
protected FeatureTable featureTable;
! public extern RdfSerializer(RdfWorld world, String name, String
mimetype, RdfUri uri);
public abstract void SetError(IntPtr user_data, ErrorFn
error_fn);
! public String Uri
{
get
--- 29,46 ----
protected String name;
protected String mimetype;
! protected RdfUri uri;
protected FeatureTable featureTable;
! public RdfSerializer(RdfWorld world, String name, String
mimetype, RdfUri uri)
! {
! world = world;
! name = name;
! mimetype = mimetype;
! uri = uri;
! }
public abstract void SetError(IntPtr user_data, ErrorFn
error_fn);
! public RdfUri Uri
{
get
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-libs-commits] CVS: dotgnu.rdf RdfSerializerN3.cs,NONE,1.1 ChangeLog,1.9,1.10 DotGNU.Rdf.build,1.4,1.5 RdfSerializer.cs,1.2,1.3,
Adam Ballai <address@hidden> <=
- Prev by Date:
[Dotgnu-libs-commits] CVS: dotgnu.rdf DotGNU.Rdf.build,1.3,1.4 FeatureTable.cs,1.1,1.2 RdfParser.cs,1.3,1.4 RdfSerializer.cs,1.1,1.2
- Next by Date:
[Dotgnu-libs-commits] CVS: dotgnu.rdf RdfTriple.cs,NONE,1.1 DotGNU.Rdf.build,1.5,1.6
- Previous by thread:
[Dotgnu-libs-commits] CVS: dotgnu.rdf DotGNU.Rdf.build,1.3,1.4 FeatureTable.cs,1.1,1.2 RdfParser.cs,1.3,1.4 RdfSerializer.cs,1.1,1.2
- Next by thread:
[Dotgnu-libs-commits] CVS: dotgnu.rdf RdfTriple.cs,NONE,1.1 DotGNU.Rdf.build,1.5,1.6
- Index(es):