| |
- CDATASectionMonad
-
- CommentMonad
- DocumentTypeMonad
- CDATASectionNode
-
- CommentNode
- DocumentTypeNode
- TextNode
- DocumentNode
- ElementEndMonad
-
- OpenChooseMonad
- OpenMonad
- ElementLocalNameMonad
- ElementNode
- ElementReadMonad
- KeyMonad
- TextMonad
- ValueMonad
class CDATASectionNode |
|
A CDATASection node. |
|
Methods defined here:
- __init__(self, parentNode, textContent='')
- Initialize.
- __repr__(self)
- Get the string representation of this CDATASection node.
- addToIdentifierDictionaries(self)
- Add the element to the owner document identifier dictionaries.
- addXML(self, depth, output)
- Add xml for this CDATASection node.
- appendSelfToParent(self)
- Append self to the parentNode.
- copyXMLChildNodes(self, idSuffix, parentNode)
- Copy the xml childNodes.
- getAttributes(self)
- Get the attributes.
- getChildNodes(self)
- Get the empty set.
- getCopy(self, idSuffix, parentNode)
- Copy the xml element, set its dictionary and add it to the parentNode.
- getCopyShallow(self, attributes=None)
- Copy the node and set its parentNode.
- getNodeName(self)
- Get the node name.
- getNodeType(self)
- Get the node type.
- getOwnerDocument(self)
- Get the owner document.
- getTextContent(self)
- Get the text content.
- removeChildNodesFromIDNameParent(self)
- Remove the childNodes from the id and name dictionaries and the childNodes.
- removeFromIDNameParent(self)
- Remove this from the id and name dictionaries and the childNodes of the parentNode.
- setParentAddToChildNodes(self, parentNode)
- Set the parentNode and add this to its childNodes.
Data descriptors defined here:
- attributes
- Get the attributes.
- childNodes
- Get the empty set.
- nodeName
- Get the node name.
- nodeType
- Get the node type.
- ownerDocument
- Get the owner document.
|
class CommentNode(CDATASectionNode) |
|
A comment node. |
|
Methods defined here:
- getCopyShallow(self, attributes=None)
- Copy the node and set its parentNode.
- getNodeName(self)
- Get the node name.
- getNodeType(self)
- Get the node type.
Data descriptors defined here:
- nodeName
- Get the node name.
- nodeType
- Get the node type.
Methods inherited from CDATASectionNode:
- __init__(self, parentNode, textContent='')
- Initialize.
- __repr__(self)
- Get the string representation of this CDATASection node.
- addToIdentifierDictionaries(self)
- Add the element to the owner document identifier dictionaries.
- addXML(self, depth, output)
- Add xml for this CDATASection node.
- appendSelfToParent(self)
- Append self to the parentNode.
- copyXMLChildNodes(self, idSuffix, parentNode)
- Copy the xml childNodes.
- getAttributes(self)
- Get the attributes.
- getChildNodes(self)
- Get the empty set.
- getCopy(self, idSuffix, parentNode)
- Copy the xml element, set its dictionary and add it to the parentNode.
- getOwnerDocument(self)
- Get the owner document.
- getTextContent(self)
- Get the text content.
- removeChildNodesFromIDNameParent(self)
- Remove the childNodes from the id and name dictionaries and the childNodes.
- removeFromIDNameParent(self)
- Remove this from the id and name dictionaries and the childNodes of the parentNode.
- setParentAddToChildNodes(self, parentNode)
- Set the parentNode and add this to its childNodes.
Data descriptors inherited from CDATASectionNode:
- attributes
- Get the attributes.
- childNodes
- Get the empty set.
- ownerDocument
- Get the owner document.
|
class DocumentNode |
|
A class to parse an xml text and store the elements. |
|
Methods defined here:
- __init__(self, fileName, xmlText)
- Initialize.
- __repr__(self)
- Get the string representation of this xml document.
- appendChild(self, elementNode)
- Append child elementNode to the child nodes.
- getAttributes(self)
- Get the attributes.
- getCascadeBoolean(self, defaultBoolean, key)
- Get the cascade boolean.
- getCascadeFloat(self, defaultFloat, key)
- Get the cascade float.
- getDocumentElement(self)
- Get the document element.
- getElementsByLocalName(self, localName)
- Get the descendents which have the given local name.
- getImportNameChain(self, suffix='')
- Get the import name chain with the suffix at the end.
- getNodeName(self)
- Get the node name.
- getNodeType(self)
- Get the node type.
- getOriginalRoot(self)
- Get the original reparsed document element.
- getOwnerDocument(self)
- Get the owner document.
Data descriptors defined here:
- attributes
- Get the attributes.
- documentElement
- Get the document element.
- nodeName
- Get the node name.
- nodeType
- Get the node type.
- ownerDocument
- Get the owner document.
|
class DocumentTypeNode(CDATASectionNode) |
|
A document type node. |
|
Methods defined here:
- getCopyShallow(self, attributes=None)
- Copy the node and set its parentNode.
- getNodeName(self)
- Get the node name.
- getNodeType(self)
- Get the node type.
Data descriptors defined here:
- nodeName
- Get the node name.
- nodeType
- Get the node type.
Methods inherited from CDATASectionNode:
- __init__(self, parentNode, textContent='')
- Initialize.
- __repr__(self)
- Get the string representation of this CDATASection node.
- addToIdentifierDictionaries(self)
- Add the element to the owner document identifier dictionaries.
- addXML(self, depth, output)
- Add xml for this CDATASection node.
- appendSelfToParent(self)
- Append self to the parentNode.
- copyXMLChildNodes(self, idSuffix, parentNode)
- Copy the xml childNodes.
- getAttributes(self)
- Get the attributes.
- getChildNodes(self)
- Get the empty set.
- getCopy(self, idSuffix, parentNode)
- Copy the xml element, set its dictionary and add it to the parentNode.
- getOwnerDocument(self)
- Get the owner document.
- getTextContent(self)
- Get the text content.
- removeChildNodesFromIDNameParent(self)
- Remove the childNodes from the id and name dictionaries and the childNodes.
- removeFromIDNameParent(self)
- Remove this from the id and name dictionaries and the childNodes of the parentNode.
- setParentAddToChildNodes(self, parentNode)
- Set the parentNode and add this to its childNodes.
Data descriptors inherited from CDATASectionNode:
- attributes
- Get the attributes.
- childNodes
- Get the empty set.
- ownerDocument
- Get the owner document.
|
class ElementNode |
|
An xml element. |
|
Methods defined here:
- __init__(self, parentNode=None)
- Initialize.
- __repr__(self)
- Get the string representation of this xml document.
- addSuffixToID(self, idSuffix)
- Add the suffix to the id.
- addToIdentifierDictionaries(self)
- Add the element to the owner document identifier dictionaries.
- addXML(self, depth, output)
- Add xml for this elementNode.
- appendChild(self, elementNode)
- Append child elementNode to the child nodes.
- appendSelfToParent(self)
- Append self to the parentNode.
- copyXMLChildNodes(self, idSuffix, parentNode)
- Copy the xml childNodes.
- getCascadeBoolean(self, defaultBoolean, key)
- Get the cascade boolean.
- getCascadeFloat(self, defaultFloat, key)
- Get the cascade float.
- getChildElementsByLocalName(self, localName)
- Get the childNodes which have the given local name.
- getCopy(self, idSuffix, parentNode)
- Copy the xml element, set its dictionary and add it to the parentNode.
- getCopyShallow(self, attributes=None)
- Copy the xml element and set its dictionary and parentNode.
- getDocumentElement(self)
- Get the document element.
- getElementNodeByID(self, idKey)
- Get the xml element by id.
- getElementNodesByName(self, nameKey)
- Get the xml elements by name.
- getElementNodesByTag(self, tagKey)
- Get the xml elements by tag.
- getElementsByLocalName(self, localName)
- Get the descendents which have the given local name.
- getFirstChildByLocalName(self, localName)
- Get the first childNode which has the given class name.
- getIDSuffix(self, elementIndex=None)
- Get the id suffix from the dictionary.
- getImportNameChain(self, suffix='')
- Get the import name chain with the suffix at the end.
- getNodeName(self)
- Get the node name.
- getNodeType(self)
- Get the node type.
- getOwnerDocument(self)
- Get the owner document.
- getParser(self)
- Get the parser.
- getPaths(self)
- Get all paths.
- getPreviousElementNode(self)
- Get previous ElementNode if it exists.
- getPreviousVertex(self, defaultVector3=None)
- Get previous vertex if it exists.
- getStrippedAttributesValue(self, keyString)
- Get the stripped attribute value if the length is at least one, otherwise return None.
- getSubChildWithID(self, idReference)
- Get the childNode which has the idReference.
- getTagKeys(self)
- Get stripped tag keys.
- getTextContent(self)
- Get the text from the child nodes.
- getValueByKey(self, key)
- Get value by the key.
- getVertexes(self)
- Get the vertexes.
- getXMLProcessor(self)
- Get the xmlProcessor.
- linkObject(self, xmlObject)
- Link self to xmlObject and add xmlObject to archivableObjects.
- printAllVariables(self)
- Print all variables.
- printAllVariablesRoot(self)
- Print all variables and the document element variables.
- removeChildNodesFromIDNameParent(self)
- Remove the childNodes from the id and name dictionaries and the childNodes.
- removeFromIDNameParent(self)
- Remove this from the id and name dictionaries and the childNodes of the parentNode.
- setParentAddToChildNodes(self, parentNode)
- Set the parentNode and add this to its childNodes.
- setTextContent(self, textContent='')
- Get the text from the child nodes.
Data descriptors defined here:
- nodeName
- Get the node name.
- nodeType
- Get the node type.
- ownerDocument
- Get the owner document.
- textContent
- Get the text from the child nodes.
|
class TextMonad |
|
A monad to handle the open tag character and set the text. |
|
Methods defined here:
- __init__(self, parentNode)
- Initialize.
- getNextMonad(self, character)
- Get the next monad.
|
class TextNode(CDATASectionNode) |
|
A text node. |
|
Methods defined here:
- addXML(self, depth, output)
- Add xml for this text node.
- getCopyShallow(self, attributes=None)
- Copy the node and set its parentNode.
- getNodeName(self)
- Get the node name.
- getNodeType(self)
- Get the node type.
Data descriptors defined here:
- nodeName
- Get the node name.
- nodeType
- Get the node type.
Methods inherited from CDATASectionNode:
- __init__(self, parentNode, textContent='')
- Initialize.
- __repr__(self)
- Get the string representation of this CDATASection node.
- addToIdentifierDictionaries(self)
- Add the element to the owner document identifier dictionaries.
- appendSelfToParent(self)
- Append self to the parentNode.
- copyXMLChildNodes(self, idSuffix, parentNode)
- Copy the xml childNodes.
- getAttributes(self)
- Get the attributes.
- getChildNodes(self)
- Get the empty set.
- getCopy(self, idSuffix, parentNode)
- Copy the xml element, set its dictionary and add it to the parentNode.
- getOwnerDocument(self)
- Get the owner document.
- getTextContent(self)
- Get the text content.
- removeChildNodesFromIDNameParent(self)
- Remove the childNodes from the id and name dictionaries and the childNodes.
- removeFromIDNameParent(self)
- Remove this from the id and name dictionaries and the childNodes of the parentNode.
- setParentAddToChildNodes(self, parentNode)
- Set the parentNode and add this to its childNodes.
Data descriptors inherited from CDATASectionNode:
- attributes
- Get the attributes.
- childNodes
- Get the empty set.
- ownerDocument
- Get the owner document.
|
|