class documentation

class Text(CharacterData): (source)

Known subclasses: twisted.web.domhelpers.RawText

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method __repr__ Undocumented
Method clone​Node Undocumented
Method is​Equal​To​Node Compare this text to text. If the underlying values and the raw flag are the same, return True, otherwise return False.
Method writexml Undocumented
Instance Variable raw Undocumented

Inherited from CharacterData:

Method is​Equal​To​Character​Data Undocumented
Instance Variable data Undocumented
Instance Variable node​Value Undocumented
Instance Variable value Undocumented

Inherited from Node (via CharacterData):

Method append​Child Make the given Node the last child of this node.
Method first​Child Undocumented
Method has​Child​Nodes Undocumented
Method insert​Before Make the given Node new a child of this node which comes before the Node ref.
Method last​Child Undocumented
Method remove​Child Remove the given Node from this node's children.
Method replace​Child Replace a Node which is already a child of this node with a different node.
Method toprettyxml Undocumented
Method toxml Undocumented
Method writeprettyxml Undocumented
Class Variable node​Name Undocumented
Instance Variable child​Nodes Undocumented
Instance Variable parent​Node Undocumented
def __init__(self, data, parentNode=None, raw=0): (source)
def __repr__(self): (source)

Undocumented

Returns
strUndocumented
def cloneNode(self, deep=0, parent=None): (source)

Undocumented

def isEqualToNode(self, other): (source)
Compare this text to text. If the underlying values and the raw flag are the same, return True, otherwise return False.
def writexml(self, stream, indent='', addindent='', newl='', strip=0, nsprefixes={}, namespace=''): (source)

Undocumented