schrodinger.application.jaguar.keywordDB module¶
- class schrodinger.application.jaguar.keywordDB.Keyword(name, type, default, description=None, comment=None, index=0, boolean=None, qsite_allowed=None)[source]¶
Bases:
object
A class to hold keyword info.
- class schrodinger.application.jaguar.keywordDB.Setting(name, code, value, description=None, comment=None)[source]¶
Bases:
object
A class to hold keyword setting info.
- class schrodinger.application.jaguar.keywordDB.DTDTreeBuilder(element_factory=None, *, comment_factory=None, pi_factory=None, insert_comments=False, insert_pis=False)[source]¶
Bases:
xml.etree.ElementTree.TreeBuilder
- We create this subclass and redefine doctype() to avoid:
- “DeprecationWarning: This method of XMLParser is deprecated.
Define doctype() method on the TreeBuilder target”
- __init__(element_factory=None, *, comment_factory=None, pi_factory=None, insert_comments=False, insert_pis=False)¶
- close()¶
Flush builder buffers and return toplevel document Element.
- comment(text)¶
Create a comment using the comment_factory.
text is the text of the comment.
- data(data)¶
Add text to current element.
- end(tag)¶
Close and return current Element.
tag is the element name.
- pi(target, text=None)¶
Create a processing instruction using the pi_factory.
target is the target name of the processing instruction. text is the data of the processing instruction, or ‘’.
- start(tag, attrs)¶
Open new element and return it.
tag is the element name, attrs is a dict containing element attributes.