<?xml version="1.0" encoding="iso-8859-1"?>
<module name="Ft.Rdf.Parsers.Versa.ResourceExpressions" file="/work/a/ports/textproc/py-4suite/work/4Suite-1.0b1/build/lib.freebsd-8.0-RELEASE-p2-i386-2.4/Ft/Rdf/Parsers/Versa/ResourceExpressions.py">
  <modification-date>2004-09-07 14:17:12</modification-date>
  <abstract>Implementation and utilities for resource processing Versa</abstract>
  <description>Copyright 2003 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/</description>
  <classes>
    <class name="CurrentExpression" public="yes">
      <bases>
        <base documented="yes" class="ResourceExpression" module="Ft.Rdf.Parsers.Versa.ResourceExpressions"/>
      </bases>
      <abstract>Return the current resource if there is one</abstract>
      <description/>
      <method-resolution-order>
        <base name="CurrentExpression" module="Ft.Rdf.Parsers.Versa.ResourceExpressions"/>
        <base name="ResourceExpression" module="Ft.Rdf.Parsers.Versa.ResourceExpressions"/>
      </method-resolution-order>
      <methods documented="yes" class="CurrentExpression" module="Ft.Rdf.Parsers.Versa.ResourceExpressions" inherited="no">
        <method public="yes" name="evaluate" id="CurrentExpression-evaluate">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="con"/>
          </arguments>
        </method>
      </methods>
    </class>
    <class name="LiteralExpression" public="yes">
      <bases>
        <base documented="yes" class="ResourceExpression" module="Ft.Rdf.Parsers.Versa.ResourceExpressions"/>
      </bases>
      <abstract>Use the resource as is</abstract>
      <description/>
      <method-resolution-order>
        <base name="LiteralExpression" module="Ft.Rdf.Parsers.Versa.ResourceExpressions"/>
        <base name="ResourceExpression" module="Ft.Rdf.Parsers.Versa.ResourceExpressions"/>
      </method-resolution-order>
      <methods documented="yes" class="LiteralExpression" module="Ft.Rdf.Parsers.Versa.ResourceExpressions" inherited="no">
        <method public="no" name="__init__" id="LiteralExpression-__init__">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="value"/>
          </arguments>
        </method>
        <method public="yes" name="evaluate" id="LiteralExpression-evaluate">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="con"/>
          </arguments>
        </method>
      </methods>
    </class>
    <class name="PureQNameExpression" public="yes">
      <bases>
        <base documented="yes" class="ResourceExpression" module="Ft.Rdf.Parsers.Versa.ResourceExpressions"/>
      </bases>
      <abstract>Expand a QName into a string.  Uses the NsMapping on the context</abstract>
      <description/>
      <method-resolution-order>
        <base name="PureQNameExpression" module="Ft.Rdf.Parsers.Versa.ResourceExpressions"/>
        <base name="ResourceExpression" module="Ft.Rdf.Parsers.Versa.ResourceExpressions"/>
      </method-resolution-order>
      <methods documented="yes" class="PureQNameExpression" module="Ft.Rdf.Parsers.Versa.ResourceExpressions" inherited="no">
        <method public="no" name="__init__" id="PureQNameExpression-__init__">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="expr"/>
          </arguments>
        </method>
        <method public="yes" name="evaluate" id="PureQNameExpression-evaluate">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="con"/>
          </arguments>
        </method>
      </methods>
    </class>
    <class name="ResourceExpression" public="yes">
      <bases>
      </bases>
      <abstract>Base class for all resource expressions</abstract>
      <description/>
      <method-resolution-order>
        <base name="ResourceExpression" module="Ft.Rdf.Parsers.Versa.ResourceExpressions"/>
      </method-resolution-order>
    </class>
  </classes>
  <functions>
    <function public="yes" name="GetRelations" id="GetRelations">
      <abstract>Returns a dictionary of dictionaries.  The outer dict maps properties
to relations.  The relation dicts match subjects to objects for each
property.</abstract>
      <description/>
      <arguments>
        <arg name="start"/>
        <arg name="property"/>
        <arg name="con"/>
        <arg name="inverse"/>
        <arg default="1" name="useSubProps"/>
        <arg default="0" name="forceTransitive"/>
      </arguments>
    </function>
    <function public="yes" name="TCTest" id="TCTest">
      <abstract/>
      <description/>
      <arguments>
      </arguments>
    </function>
    <function public="yes" name="TransitiveClosure" id="TransitiveClosure">
      <abstract>edge_dict expresses connectedness in the form:
{ a: [b, f, g], c: [a], d: [f], e: [d], f: [e], g: [c, j],
  h: [g, i], i: [h], j: [k, l, m], l: [g, m], m: [l] }
Return value is new dict f the same form, but transitivly closed</abstract>
      <description/>
      <arguments>
        <arg name="edge_dict"/>
      </arguments>
    </function>
  </functions>
  <fields>
    <field public="yes" name="OBJECT_TYPE_RESOURCE" id="OBJECT_TYPE_RESOURCE">
      <value>'R'</value>
    </field>
    <field public="yes" name="OBJECT_TYPE_UNKNOWN" id="OBJECT_TYPE_UNKNOWN">
      <value>'?'</value>
    </field>
    <field public="yes" name="RDF_MS_BASE" id="RDF_MS_BASE">
      <value>'http://www.w3.org/1999/02/22-rdf-syntax-ns#'</value>
    </field>
    <field public="yes" name="RDF_SCHEMA_BASE" id="RDF_SCHEMA_BASE">
      <value>'http://www.w3.org/2000/01/rdf-schema#'</value>
    </field>
  </fields>
</module>
