<?xml version="1.0" encoding="iso-8859-1"?>
<module name="Ft.Rdf.RdfsHandler" file="/work/a/ports/textproc/py-4suite/work/4Suite-1.0b1/build/lib.freebsd-7.1-RELEASE-i386-2.4/Ft/Rdf/RdfsHandler.py">
  <modification-date>2005-03-04 15:03:04</modification-date>
  <abstract>An RDF schema validator for statements in a Model</abstract>
  <description>Copyright 2005 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/</description>
  <classes>
    <class name="RdfsConstraintViolation" public="yes">
      <bases>
        <base documented="yes" class="FtException" module="Ft"/>
      </bases>
      <abstract/>
      <description/>
      <method-resolution-order>
        <base name="RdfsConstraintViolation" module="Ft.Rdf.RdfsHandler"/>
        <base name="FtException" module="Ft"/>
        <base name="Exception" module="exceptions"/>
      </method-resolution-order>
      <methods documented="yes" class="RdfsConstraintViolation" module="Ft.Rdf.RdfsHandler" inherited="no">
        <method public="no" name="__init__" id="RdfsConstraintViolation-__init__">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="errorCode"/>
            <var-args name="args"/>
          </arguments>
          <overrides name="FtException" module="Ft"/>
        </method>
      </methods>
      <fields documented="yes" class="RdfsConstraintViolation" module="Ft.Rdf.RdfsHandler" inherited="no">
        <field public="yes" name="INVALID_DOMAIN_FOR_PROPERTY" id="RdfsConstraintViolation-INVALID_DOMAIN_FOR_PROPERTY">
          <value>2</value>
        </field>
        <field public="yes" name="INVALID_RANGE_FOR_PROPERTY" id="RdfsConstraintViolation-INVALID_RANGE_FOR_PROPERTY">
          <value>3</value>
        </field>
        <field public="yes" name="PROPERTY_HAS_MULTIPLE_RANGES" id="RdfsConstraintViolation-PROPERTY_HAS_MULTIPLE_RANGES">
          <value>1</value>
        </field>
      </fields>
      <methods documented="yes" class="FtException" module="Ft" inherited="yes">
        <member-reference name="__getattr__" public="no"/>
        <member-reference name="__repr__" public="no"/>
        <member-reference name="__str__" public="no"/>
      </methods>
      <methods documented="no" class="Exception" module="exceptions" inherited="yes">
        <member-reference name="__getitem__" public="no"/>
      </methods>
    </class>
    <class name="RdfsHandler" public="yes">
      <bases>
        <base documented="yes" class="SchemaHandler" module="Ft.Rdf"/>
      </bases>
      <abstract>Processing of RDF schema information on behalf of a model instance.
Note that a RdfsHandler is designed to be associated with
a single model in its lifecycle, which is basically:
init -&gt; initModel -&gt; &lt;user's schema operations&gt; -&gt; reclaim
Do not attempt to reuse a RdfsHandler with multiple models
unless you really know what you're doing</abstract>
      <description/>
      <method-resolution-order>
        <base name="RdfsHandler" module="Ft.Rdf.RdfsHandler"/>
        <base name="SchemaHandler" module="Ft.Rdf"/>
      </method-resolution-order>
      <methods documented="yes" class="RdfsHandler" module="Ft.Rdf.RdfsHandler" inherited="no">
        <method public="no" name="__init__" id="RdfsHandler-__init__">
          <abstract>Initializer for a RdfsHandler.  There are no parameters.</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
          </arguments>
        </method>
        <method public="yes" name="checkConstraints" id="RdfsHandler-checkConstraints">
          <abstract>Raises exception if constraint violation found, else returns normally
Does not yet check Extended Constraints (provide hooks?)</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="newStmts"/>
          </arguments>
        </method>
        <method public="yes" name="initModel" id="RdfsHandler-initModel">
          <abstract>Make sure that the core schema statements are in the model</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="model"/>
          </arguments>
          <overrides name="SchemaHandler" module="Ft.Rdf"/>
        </method>
        <method public="yes" name="isCoreRdfs" id="RdfsHandler-isCoreRdfs">
          <abstract>Checks whether a statement comes from the core RDF meta-model.</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="stmt"/>
          </arguments>
        </method>
        <method public="yes" name="isInstance" id="RdfsHandler-isInstance">
          <abstract>Checks whether a resource is an instance of a class.  Note that this is also true if the resource is an instance of any subclass of the given class.</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="obj"/>
            <arg name="class_"/>
          </arguments>
        </method>
        <method public="yes" name="isSubClass" id="RdfsHandler-isSubClass">
          <abstract>Checks whether a class is an instance of another class.</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="class1"/>
            <arg name="class2"/>
          </arguments>
        </method>
        <method public="yes" name="processNewStatements" id="RdfsHandler-processNewStatements">
          <abstract>Called by the Mode when a new statement is about to be added.</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="newStmts"/>
          </arguments>
        </method>
      </methods>
      <methods documented="yes" class="SchemaHandler" module="Ft.Rdf" inherited="yes">
        <member-reference name="add" public="yes"/>
        <member-reference name="contains" public="yes"/>
        <member-reference name="remove" public="yes"/>
        <member-reference name="resume" public="yes"/>
        <member-reference name="setActivity" public="yes"/>
        <member-reference name="suspend" public="yes"/>
      </methods>
    </class>
  </classes>
  <fields>
    <field public="yes" name="RDFS_XML" id="RDFS_XML">
      <value>'&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;\n&lt;rdf:RDF\n...f-schema-more&quot;/&gt;\n  &lt;/rdf:Description&gt;\n\n&lt;/rdf:RDF&gt;'</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>
