Package fabmetheus_utilities :: Module xml_simple_reader :: Class XMLElement
[hide private]
[frames] | no frames]

Class XMLElement

source code

An xml element.

Instance Methods [hide private]
 
__init__(self)
Add empty lists.
source code
 
__repr__(self)
Get the string representation of this XML element.
source code
 
_getAccessibleAttribute(self, attributeName)
Get the accessible attribute.
source code
 
addAttribute(self, beforeQuote, withinQuote)
Add the attribute to the dictionary.
source code
 
addSuffixToID(self, idSuffix)
Add the suffix to the id.
source code
 
addToIdentifierDictionaryIFIdentifierExists(self)
Add to the id dictionary if the id key exists in the attribute dictionary.
source code
 
addXML(self, depth, output)
Add xml for this xmlElement.
source code
 
copyXMLChildNodes(self, idSuffix, parentNode)
Copy the xml childNodes.
source code
 
getCascadeFloat(self, defaultFloat, key)
Get the cascade float.
source code
 
getChildNodesByLocalName(self, localName)
Get the childNodes which have the given class name.
source code
 
getChildNodesByLocalNameRecursively(self, localName)
Get the childNodes which have the given class name recursively.
source code
 
getCopy(self, idSuffix, parentNode)
Copy the xml element, set its dictionary and add it to the parentNode.
source code
 
getCopyShallow(self, attributeDictionary=None)
Copy the xml element and set its dictionary and parentNode.
source code
 
getFirstChildByLocalName(self, localName)
Get the first childNode which has the given class name.
source code
 
getIDSuffix(self, elementIndex=None)
Get the id suffix from the dictionary.
source code
 
getImportNameWithDot(self)
Get import name with dot.
source code
 
getParentParseReplacedLine(self, line, lineStripped, parentNode)
Parse replaced line and return the parentNode.
source code
 
getParser(self)
Get the parser.
source code
 
getPaths(self)
Get all paths.
source code
 
getPreviousVertex(self, defaultVector3=None)
Get previous vertex if it exists.
source code
 
getPreviousXMLElement(self)
Get previous XMLElement if it exists.
source code
 
getRoot(self)
Get the root element.
source code
 
getSubChildWithID(self, idReference)
Get the childNode which has the idReference.
source code
 
getTagKeys(self)
Get stripped tag keys.
source code
 
getValueByKey(self, key)
Get value by the key.
source code
 
getVertexes(self)
Get the vertexes.
source code
 
getXMLElementByID(self, idKey)
Get the xml element by id.
source code
 
getXMLElementByImportID(self, idKey)
Get the xml element by import file name and id.
source code
 
getXMLElementsByImportName(self, name)
Get the xml element by import file name and name.
source code
 
getXMLElementsByName(self, name)
Get the xml elements by name.
source code
 
getXMLElementsByTag(self, tag)
Get the xml elements by tag.
source code
 
getXMLProcessor(self)
Get the xmlProcessor.
source code
 
linkObject(self, xmlObject)
Link self to xmlObject and add xmlObject to archivableObjects.
source code
 
printAllVariables(self)
Print all variables.
source code
 
printAllVariablesRoot(self)
Print all variables and the root variables.
source code
 
removeChildNodesFromIDNameParent(self)
Remove the childNodes from the id and name dictionaries and the childNodes.
source code
 
removeFromIDNameParent(self)
Remove this from the id and name dictionaries and the childNodes of the parentNode.
source code
 
setParentAddToChildNodes(self, parentNode)
Set the parentNode and add this to its childNodes.
source code