<?xml version="1.0" encoding="iso-8859-1"?>
<module name="Ft.Xml.cDomlette" file="/work/a/ports/textproc/py-4suite/work/4Suite-1.0b1/build/lib.freebsd-8.0-RELEASE-p2-i386-2.4/Ft/Xml/cDomlette.py">
  <modification-date>2005-04-12 06:28:23</modification-date>
  <abstract>cDomlette implementation: a very fast DOM-like library tailored for use in XPath/XSLT</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="FragmentSpec" public="no">
      <bases>
      </bases>
      <abstract/>
      <description/>
      <method-resolution-order>
        <base name="FragmentSpec" module="Ft.Xml.cDomlette"/>
      </method-resolution-order>
      <methods documented="yes" class="FragmentSpec" module="Ft.Xml.cDomlette" inherited="no">
        <method public="no" name="__init__" id="FragmentSpec-__init__">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
          </arguments>
        </method>
      </methods>
    </class>
    <class name="_ValReader" public="no">
      <bases>
      </bases>
      <abstract/>
      <description/>
      <method-resolution-order>
        <base name="_ValReader" module="Ft.Xml.cDomlette"/>
      </method-resolution-order>
      <methods documented="yes" class="_ValReader" module="Ft.Xml.cDomlette" inherited="no">
        <method public="no" name="create_input_source" id="_ValReader-create_input_source">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="systemId"/>
          </arguments>
        </method>
        <method public="no" name="doc_end" id="_ValReader-doc_end">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
          </arguments>
        </method>
        <method public="no" name="doc_start" id="_ValReader-doc_start">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
          </arguments>
        </method>
        <method public="no" name="dtd_end" id="_ValReader-dtd_end">
          <abstract>Called when the DTD is completely parsed.</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
          </arguments>
        </method>
        <method public="no" name="dtd_start" id="_ValReader-dtd_start">
          <abstract>Called when DTD parsing starts.</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
          </arguments>
        </method>
        <method public="no" realid="_ValReader-fatal" name="error" realname="fatal" id="_ValReader-error">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="message"/>
          </arguments>
        </method>
        <method public="no" name="fatal" id="_ValReader-fatal">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="message"/>
          </arguments>
        </method>
        <method public="no" name="fromSrc" id="_ValReader-fromSrc">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="source"/>
            <arg default="1" name="parseParamEntities"/>
          </arguments>
        </method>
        <method public="no" name="getRootNode" id="_ValReader-getRootNode">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
          </arguments>
        </method>
        <method public="no" name="get_locator" id="_ValReader-get_locator">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
          </arguments>
        </method>
        <method public="no" name="handle_comment" id="_ValReader-handle_comment">
          <abstract>Reports a comment anywhere in the document (including the
DTD and outside the document element).</abstract>
          <description>content is a string that holds the contents of the comment.</description>
          <arguments>
            <arg name="self"/>
            <arg name="data"/>
          </arguments>
        </method>
        <method public="no" name="handle_data" id="_ValReader-handle_data">
          <abstract>Receive notification of character data.</abstract>
          <description>The Parser will call this method to report each chunk of
character data. SAX parsers may return all contiguous
character data in a single chunk, or they may split it into
several chunks; however, all of the characters in any single
event must come from the same external entity so that the
Locator provides useful information.</description>
          <arguments>
            <arg name="self"/>
            <arg name="data"/>
            <arg name="start"/>
            <arg name="end"/>
          </arguments>
        </method>
        <method public="no" name="handle_doctype" id="_ValReader-handle_doctype">
          <abstract>Report the start of the DTD declarations, if the document
has an associated DTD.</abstract>
          <description>A startEntity event will be reported before declaration events
from the external DTD subset are reported, and this can be
used to infer from which subset DTD declarations derive.

name is the name of the document element type, publicId the
public identifier of the DTD (or None if none were supplied)
and systemId the system identfier of the external subset (or
None if none were supplied).</description>
          <arguments>
            <arg name="self"/>
            <arg name="name"/>
            <arg name="publicId"/>
            <arg name="systemId"/>
          </arguments>
        </method>
        <method public="no" name="handle_end_tag" id="_ValReader-handle_end_tag">
          <abstract>Signals the end of an element in non-namespace mode.</abstract>
          <description>The name parameter contains the name of the element type, just
as with the startElement event.</description>
          <arguments>
            <arg name="self"/>
            <arg name="name"/>
          </arguments>
        </method>
        <method public="no" realid="_ValReader-handle_data" name="handle_ignorable_data" realname="handle_data" id="_ValReader-handle_ignorable_data">
          <abstract>Receive notification of character data.</abstract>
          <description>The Parser will call this method to report each chunk of
character data. SAX parsers may return all contiguous
character data in a single chunk, or they may split it into
several chunks; however, all of the characters in any single
event must come from the same external entity so that the
Locator provides useful information.</description>
          <arguments>
            <arg name="self"/>
            <arg name="data"/>
            <arg name="start"/>
            <arg name="end"/>
          </arguments>
        </method>
        <method public="no" name="handle_pi" id="_ValReader-handle_pi">
          <abstract>Receive notification of a processing instruction.</abstract>
          <description>The Parser will invoke this method once for each processing
instruction found: note that processing instructions may occur
before or after the main document element.

A SAX parser should never report an XML declaration (XML 1.0,
section 2.8) or a text declaration (XML 1.0, section 4.3.1)
using this method.</description>
          <arguments>
            <arg name="self"/>
            <arg name="target"/>
            <arg name="data"/>
          </arguments>
        </method>
        <method public="no" name="handle_start_tag" id="_ValReader-handle_start_tag">
          <abstract>Signals the start of an element in non-namespace mode.</abstract>
          <description>The name parameter contains the raw XML 1.0 name of the
element type as a string and the attrs parameter holds an
instance of the Attributes class containing the attributes of
the element.</description>
          <arguments>
            <arg name="self"/>
            <arg name="name"/>
            <arg name="attribs"/>
          </arguments>
        </method>
        <method public="no" name="initHandler" id="_ValReader-initHandler">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="inputSource"/>
            <arg name="parseParamEntities"/>
          </arguments>
        </method>
        <method public="no" name="new_attribute" id="_ValReader-new_attribute">
          <abstract>Receives the declaration of a new attribute.</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="elem"/>
            <arg name="attr"/>
            <arg name="a_type"/>
            <arg name="a_decl"/>
            <arg name="a_def"/>
          </arguments>
        </method>
        <method public="no" name="new_element_type" id="_ValReader-new_element_type">
          <abstract>Receives the declaration of an element type.</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="elem_name"/>
            <arg name="elem_cont"/>
          </arguments>
        </method>
        <method public="no" name="new_external_entity" id="_ValReader-new_external_entity">
          <abstract>Receives external general entity declarations. 'ndata' is the
empty string if the entity is parsed.</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="ent_name"/>
            <arg name="pub_id"/>
            <arg name="sys_id"/>
            <arg name="ndata"/>
          </arguments>
        </method>
        <method public="no" name="new_external_pe" id="_ValReader-new_external_pe">
          <abstract>Receives external parameter entity declarations.</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="name"/>
            <arg name="pubid"/>
            <arg name="sysid"/>
          </arguments>
        </method>
        <method public="no" name="new_general_entity" id="_ValReader-new_general_entity">
          <abstract>Receives internal general entity declarations.</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="name"/>
            <arg name="val"/>
          </arguments>
        </method>
        <method public="no" name="new_notation" id="_ValReader-new_notation">
          <abstract>Receives notation declarations.</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="name"/>
            <arg name="pubid"/>
            <arg name="sysid"/>
          </arguments>
        </method>
        <method public="no" name="new_parameter_entity" id="_ValReader-new_parameter_entity">
          <abstract>Receives internal parameter entity declarations.</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="name"/>
            <arg name="val"/>
          </arguments>
        </method>
        <method public="no" name="parse" id="_ValReader-parse">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="source"/>
          </arguments>
        </method>
        <method public="no" name="prepareParser" id="_ValReader-prepareParser">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
          </arguments>
        </method>
        <method public="no" name="reset" id="_ValReader-reset">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
          </arguments>
        </method>
        <method public="no" name="resolve_doctype_pubid" id="_ValReader-resolve_doctype_pubid">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="publicId"/>
            <arg name="systemId"/>
          </arguments>
        </method>
        <method public="no" name="resolve_entity_pubid" id="_ValReader-resolve_entity_pubid">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="publicId"/>
            <arg name="systemId"/>
          </arguments>
        </method>
        <method public="no" name="resolve_pe_pubid" id="_ValReader-resolve_pe_pubid">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="publicId"/>
            <arg name="systemId"/>
          </arguments>
        </method>
        <method public="no" name="set_entity_info" id="_ValReader-set_entity_info">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="xmlver"/>
            <arg name="enc"/>
            <arg name="sddecl"/>
          </arguments>
        </method>
        <method public="no" name="set_locator" id="_ValReader-set_locator">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="locator"/>
          </arguments>
        </method>
        <method public="no" name="warning" id="_ValReader-warning">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="message"/>
          </arguments>
        </method>
      </methods>
    </class>
  </classes>
  <functions>
    <function public="yes" name="CreateParser" id="CreateParser">
      <abstract>CreateParser([readExtDtd]) -&gt; Parser</abstract>
      <description>Return a new XML parser object.</description>
      <arguments>
        <unknown>[readExtDtd]</unknown>
      </arguments>
    </function>
    <function public="yes" name="GetAllNs" id="GetAllNs">
      <abstract>GetAllNs(node) -&gt; dict</abstract>
      <description>Get all of the namespaces defined in scope of this node.</description>
      <arguments>
        <unknown>node</unknown>
      </arguments>
    </function>
    <function public="no" name="HandleStep" id="HandleStep">
      <abstract/>
      <description/>
      <arguments>
        <arg name="expr"/>
        <arg name="spec"/>
        <arg name="nss"/>
      </arguments>
    </function>
    <function public="yes" name="NonvalParse" id="NonvalParse">
      <abstract>nonvalParse(isrc[, readExtDtd[, parseAsEntity]]) -&gt; Document</abstract>
      <description/>
      <arguments>
        <unknown>isrc[, readExtDtd[, parseAsEntity]]</unknown>
      </arguments>
    </function>
    <function public="yes" name="Parse" id="Parse">
      <abstract>parse(isrc[, readExtDtd[, parseAsEntity]]) -&gt; Document</abstract>
      <description/>
      <arguments>
        <unknown>isrc[, readExtDtd[, parseAsEntity]]</unknown>
      </arguments>
    </function>
    <function public="no" name="ProcessFragment" id="ProcessFragment">
      <abstract>Take an XPointer fragment and return a structure suitable for the
cDomlette parser to update state tables
Xptr e.g. xmlns(x=http://uche.ogbuji.net/eg) xpointer(/x:spam/x:eggs)</abstract>
      <description/>
      <arguments>
        <arg name="frag"/>
      </arguments>
    </function>
    <function public="yes" name="SeekNss" id="SeekNss">
      <abstract>SeekNss(node) -&gt; dict</abstract>
      <description>Traverses the tree to seek an approximate set of defined namespaces.</description>
      <arguments>
        <unknown>node</unknown>
      </arguments>
    </function>
    <function public="yes" name="ValParse" id="ValParse">
      <abstract/>
      <description/>
      <arguments>
        <arg name="isrc"/>
        <arg default="True" name="readExtDtd"/>
      </arguments>
    </function>
  </functions>
  <fields>
    <field public="no" name="ATTRIBUTE_MATCH" id="ATTRIBUTE_MATCH">
      <value>3</value>
    </field>
    <field public="no" name="ELEMENT_COUNT" id="ELEMENT_COUNT">
      <value>2</value>
    </field>
    <field public="no" name="ELEMENT_MATCH" id="ELEMENT_MATCH">
      <value>1</value>
    </field>
    <field public="no" name="EMPTY_NAMESPACE" id="EMPTY_NAMESPACE">
      <value>None</value>
    </field>
    <field public="no" name="INITIAL_STATE" id="INITIAL_STATE">
      <value>10</value>
    </field>
    <field public="no" name="XINCLUDE_NAMESPACE" id="XINCLUDE_NAMESPACE">
      <value>u'http://www.w3.org/2001/XInclude'</value>
    </field>
    <field public="no" name="XMLNS_NAMESPACE" id="XMLNS_NAMESPACE">
      <value>u'http://www.w3.org/2000/xmlns/'</value>
    </field>
    <field public="no" name="XML_NAMESPACE" id="XML_NAMESPACE">
      <value>u'http://www.w3.org/XML/1998/namespace'</value>
    </field>
    <field public="no" name="XPTR_START_STATE" id="XPTR_START_STATE">
      <value>20</value>
    </field>
    <field public="no" name="__all__" id="__all__">
      <value>['implementation', 'NonvalParse', 'Parse', 'CreateParser', 'GetAllNs', 'SeekNss', 'ValParse']</value>
    </field>
    <field public="yes" name="implementation" id="implementation">
      <abstract>The DOMImplementation interface provides a number of methods for performing
operations that are independent of any particular instance of the document
object model.</abstract>
      <description/>
      <value>&lt;DOMImplementation&gt;</value>
    </field>
  </fields>
</module>
