Logo Search packages:      
Sourcecode: harpia version File versions  Download package

harpia::amara::binderytools::saxbind_chunker Class Reference

Inheritance diagram for harpia::amara::binderytools::saxbind_chunker:

harpia::amara::saxtools::sax2dom_chunker harpia::amara::pyxml_standins::LexicalHandler

List of all members.

Detailed Description

Note: Ignores nodes prior to the document element, such as PIs and
text nodes.  Collapses CDATA sections into plain text
Only designed to work if you set the feature
to 1 on the parser you use.

xpatterns - list of XSLT Patterns.  Only portions of the
    tree within these patterns will be instantiated as DOM (as
    chunks fed to chunk_consumer in sequence)
    If None (the default, a DOM node will be created representing
    the entire tree.

prefixes - a dictionary of prefix -> namespace name mappings used to
    interpret XPatterns

chunk_consumer - a callable object taking an XML root object.  It will be
    invoked as each chunk is prepared.

Definition at line 738 of file binderytools.py.

Public Member Functions

def __init__
def __init__
def __init__
def __init__
def __init__
def add_rule
def apply_rules
def characters
def comment
def comment
def endCDATA
def endDocument
def endDTD
def endElementNS
def endElementNS
def endElementNS
def endEntity
def endPrefixMapping
def endPrefixMapping
def get_root_node
def name_to_qname
def name_to_qname
def processingInstruction
def processingInstruction
def read_xml
def remove_rule
def set_binding_class
def startCDATA
def startDocument
def startDTD
def startElementNS
def startEntity
def startPrefixMapping
def startPrefixMapping

Public Attributes


Private Attributes


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index