<?xml version="1.0" encoding="iso-8859-1"?>
<module name="Ft.Rdf.Serializers.Dom" file="/work/a/ports/textproc/py-4suite/work/4Suite-1.0b1/build/lib.freebsd-7.1-RELEASE-i386-2.4/Ft/Rdf/Serializers/Dom.py">
  <modification-date>2005-03-23 07:08:35</modification-date>
  <abstract>RDF model-to-DOM serialization, DOM-to-RDF model deserialization
where the serialized DOM conforms to RDF/XML syntax (1999 Recommendation)</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="Serializer" public="yes">
      <bases>
      </bases>
      <abstract>Serialize or deserialize a model based on the XML serialization in the RDF Model and Syntax recommendation.</abstract>
      <description/>
      <method-resolution-order>
        <base name="Serializer" module="Ft.Rdf.Serializers.Dom"/>
      </method-resolution-order>
      <methods documented="yes" class="Serializer" module="Ft.Rdf.Serializers.Dom" inherited="no">
        <method public="no" name="__init__" id="Serializer-__init__">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg default="1" name="reify"/>
          </arguments>
        </method>
        <method public="yes" name="deserialize" id="Serializer-deserialize">
          <abstract>Generate RDF statements from an XML serialization and insert these into a Model.</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="model"/>
            <arg name="node"/>
            <arg default="None" name="scope"/>
          </arguments>
        </method>
        <method public="yes" name="exportContainer" id="Serializer-exportContainer">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="doc"/>
            <arg name="parent"/>
            <arg name="nsMap"/>
            <arg name="type"/>
            <arg name="stmts"/>
            <arg name="id"/>
          </arguments>
        </method>
        <method public="yes" name="exportDescription" id="Serializer-exportDescription">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="doc"/>
            <arg name="nsMap"/>
            <arg name="stmts"/>
            <arg default="''" name="subject"/>
            <arg default="''" name="id"/>
          </arguments>
        </method>
        <method public="yes" name="exportInlineResource" id="Serializer-exportInlineResource">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="doc"/>
            <arg name="nsMap"/>
            <arg name="subject"/>
            <arg name="origStmts"/>
          </arguments>
        </method>
        <method public="yes" name="exportSimpleStatements" id="Serializer-exportSimpleStatements">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="doc"/>
            <arg name="parent"/>
            <arg name="nsMap"/>
            <arg name="stmts"/>
          </arguments>
        </method>
        <method public="yes" name="isResource" id="Serializer-isResource">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="res"/>
          </arguments>
        </method>
        <method public="yes" name="readBagIdAttr" id="Serializer-readBagIdAttr">
          <abstract>#6.9</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="node"/>
          </arguments>
        </method>
        <method public="yes" name="readCollection" id="Serializer-readCollection">
          <abstract>#2.16</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="model"/>
            <arg name="nodeList"/>
            <arg name="scope"/>
            <arg name="xmlBase"/>
            <arg default="None" name="forceType"/>
          </arguments>
        </method>
        <method public="yes" name="readContainer" id="Serializer-readContainer">
          <abstract>#6.4</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="model"/>
            <arg name="node"/>
            <arg name="scope"/>
          </arguments>
        </method>
        <method public="yes" name="readDamlCollection" id="Serializer-readDamlCollection">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="model"/>
            <arg name="nodeList"/>
            <arg name="scope"/>
            <arg name="xmlBase"/>
            <arg default="None" name="forceType"/>
          </arguments>
        </method>
        <method public="yes" name="readDescription" id="Serializer-readDescription">
          <abstract>#6.3</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="model"/>
            <arg name="node"/>
            <arg name="scope"/>
          </arguments>
        </method>
        <method public="yes" name="readIdAboutAttr" id="Serializer-readIdAboutAttr">
          <abstract>#6.5, 6.6</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="scope"/>
            <arg name="node"/>
          </arguments>
        </method>
        <method public="yes" name="readIdAttr" id="Serializer-readIdAttr">
          <abstract>#6.6</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="node"/>
          </arguments>
        </method>
        <method public="yes" name="readMemberAttrs" id="Serializer-readMemberAttrs">
          <abstract>#6.31</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="node"/>
          </arguments>
        </method>
        <method public="yes" name="readObject" id="Serializer-readObject">
          <abstract>#6.2</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="model"/>
            <arg name="node"/>
            <arg name="scope"/>
          </arguments>
        </method>
        <method public="yes" name="readParseType" id="Serializer-readParseType">
          <abstract># 6.32, 6.33</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="node"/>
          </arguments>
        </method>
        <method public="yes" name="readPropName" id="Serializer-readPropName">
          <abstract>#6.14</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="node"/>
          </arguments>
        </method>
        <method public="yes" name="readPropertyAttrs" id="Serializer-readPropertyAttrs">
          <abstract>#6.10</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="node"/>
          </arguments>
        </method>
        <method public="yes" name="readPropertyElt" id="Serializer-readPropertyElt">
          <abstract>#6.12</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="model"/>
            <arg name="node"/>
            <arg name="subjects"/>
            <arg name="scope"/>
          </arguments>
        </method>
        <method public="yes" name="readRdfKeyAttribute" id="Serializer-readRdfKeyAttribute">
          <abstract>Returns None if the attribute is not on the element in null or
RDF namespace, otherwise returns the attribute value
Note that RDF M&amp;S technically doesn't allow the qualified form,
But user/implementor consensu allows this under the
XML NS concept of global attrs</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="node"/>
            <arg name="local"/>
            <arg default="1" name="defaultNsAllowed"/>
          </arguments>
        </method>
        <method public="yes" name="readResource" id="Serializer-readResource">
          <abstract>#6.3</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="model"/>
            <arg name="nodeList"/>
            <arg name="scope"/>
            <arg default="None" name="subjects"/>
          </arguments>
        </method>
        <method public="yes" name="readResourceAttr" id="Serializer-readResourceAttr">
          <abstract>#6.18</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="scope"/>
            <arg name="node"/>
          </arguments>
        </method>
        <method public="yes" name="readString" id="Serializer-readString">
          <abstract>#6.24</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="st"/>
          </arguments>
        </method>
        <method public="yes" name="readTypeAttr" id="Serializer-readTypeAttr">
          <abstract>#6.11</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="scope"/>
            <arg name="node"/>
          </arguments>
        </method>
        <method public="yes" name="readValue" id="Serializer-readValue">
          <abstract>#6.17</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="model"/>
            <arg name="node"/>
            <arg name="scope"/>
            <arg name="parseType"/>
            <arg name="predicate"/>
            <arg default="None" name="forceType"/>
          </arguments>
        </method>
        <method public="yes" name="serialize" id="Serializer-serialize">
          <abstract>Construct a DOM representing statements in the model.</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="model"/>
            <arg default="None" name="nsMap"/>
            <arg default="None" name="selectUri"/>
            <arg default="[]" name="localResources"/>
            <arg default="None" name="implementation"/>
            <arg default="None" name="stmts"/>
          </arguments>
        </method>
        <method public="yes" name="splitUri" id="Serializer-splitUri">
          <abstract>If there's a fragment, returns (base+'#', fragment);
otherwise returns ('', uri)</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="uri"/>
          </arguments>
        </method>
        <method public="yes" name="uriFromParts" id="Serializer-uriFromParts">
          <abstract>From RDF-MS, part 6:</abstract>
          <description>'...the expansion of the namespace-qualified tag name
(Generic Identifier) of E. This expansion is generated by
concatenating the namespace name given in the namespace
declaration with the LocalPart of the qualified name.'
...
'URI-References are resolved to resource identifiers by first
resolving the URI-reference to absolute form as specified by
[RFC 2396] using the base URI of the document in which the RDF
statements appear.'</description>
          <arguments>
            <arg name="self"/>
            <arg name="baseUri"/>
            <arg name="part1"/>
            <arg name="part2"/>
          </arguments>
        </method>
        <method public="yes" name="validateIdSymbol" id="Serializer-validateIdSymbol">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="idSym"/>
          </arguments>
        </method>
        <method public="yes" name="validateString" id="Serializer-validateString">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="st"/>
          </arguments>
        </method>
        <method public="yes" name="validateUriReference" id="Serializer-validateUriReference">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="ref"/>
          </arguments>
        </method>
      </methods>
    </class>
  </classes>
  <fields>
    <field public="yes" name="CONTAINERS" id="CONTAINERS">
      <value>['Bag', 'Seq', 'Alt']</value>
    </field>
    <field public="yes" name="DAML_OIL_NS" id="DAML_OIL_NS">
      <value>'http://www.w3.org/2001/10/daml+oil#'</value>
    </field>
    <field public="yes" name="EMPTY_NAMESPACE" id="EMPTY_NAMESPACE">
      <value>None</value>
    </field>
    <field public="yes" name="EMPTY_PREFIX" id="EMPTY_PREFIX">
      <value>None</value>
    </field>
    <field public="yes" name="OBJECT_TYPE_LITERAL" id="OBJECT_TYPE_LITERAL">
      <value>'L'</value>
    </field>
    <field public="yes" name="OBJECT_TYPE_RESOURCE" id="OBJECT_TYPE_RESOURCE">
      <value>'R'</value>
    </field>
    <field public="yes" name="OLD_DAML_OIL_NS" id="OLD_DAML_OIL_NS">
      <value>'http://www.daml.org/2001/03/daml+oil#'</value>
    </field>
    <field public="yes" name="OWL_NS" id="OWL_NS">
      <value>'http://www.w3.org/2002/07/owl#'</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_OBJ_PREDICATE" id="RDF_OBJ_PREDICATE">
      <value>'http://www.w3.org/1999/02/22-rdf-syntax-ns#object'</value>
    </field>
    <field public="yes" name="RDF_PREDICATES" id="RDF_PREDICATES">
      <value>['http://www.w3.org/1999/02/22-rdf-syntax-ns#subject', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#object', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#value']</value>
    </field>
    <field public="yes" name="RDF_PRED_PREDICATE" id="RDF_PRED_PREDICATE">
      <value>'http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate'</value>
    </field>
    <field public="yes" name="RDF_SCHEMA_BASE" id="RDF_SCHEMA_BASE">
      <value>'http://www.w3.org/2000/01/rdf-schema#'</value>
    </field>
    <field public="yes" name="RDF_SUBJ_PREDICATE" id="RDF_SUBJ_PREDICATE">
      <value>'http://www.w3.org/1999/02/22-rdf-syntax-ns#subject'</value>
    </field>
    <field public="yes" name="RDF_TYPE_PREDICATE" id="RDF_TYPE_PREDICATE">
      <value>'http://www.w3.org/1999/02/22-rdf-syntax-ns#type'</value>
    </field>
    <field public="yes" name="RDF_VALUE_PREDICATE" id="RDF_VALUE_PREDICATE">
      <value>'http://www.w3.org/1999/02/22-rdf-syntax-ns#value'</value>
    </field>
    <field public="yes" name="VALID_PARSETYPES" id="VALID_PARSETYPES">
      <value>[(None, u'Literal'), (None, u'Resource'), ('http://www.w3.org/2001/10/daml+oil#', u'collection'), ('http://www.daml.org/2001/03/daml+oil#', u'collection'), (None, u'Collection')]</value>
    </field>
    <field public="yes" name="XMLNS_NAMESPACE" id="XMLNS_NAMESPACE">
      <value>u'http://www.w3.org/2000/xmlns/'</value>
    </field>
    <field public="yes" name="XML_NAMESPACE" id="XML_NAMESPACE">
      <value>u'http://www.w3.org/XML/1998/namespace'</value>
    </field>
  </fields>
</module>
