Package org.qdl_lang.expressions.module
Class MITable<K extends XKey,V extends MIWrapper>
- java.lang.Object
- 
- java.util.AbstractMap<K,V>
- 
- java.util.HashMap<K,V>
- 
- org.qdl_lang.state.XTable<K,V>
- 
- org.qdl_lang.expressions.module.MITable<K,V>
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable,- Cloneable,- Map<K,V>,- Documentable
 
 public class MITable<K extends XKey,V extends MIWrapper> extends XTable<K,V> implements Documentable Table of modules keyed by alias.Created by Jeff Gaynor 
 on 12/1/21 at 1:03 PM- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class java.util.AbstractMapAbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
 
- 
 - 
Field Summary- 
Fields inherited from class org.qdl_lang.state.XTableFDOC_CONVERT
 
- 
 - 
Constructor SummaryConstructors Constructor Description MITable()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description VdeserializeElement(XMLEventReader xer, SerializationState serializationState, QDLInterpreter qi)VdeserializeElement(XMLUtils.ModuleAttributes moduleAttributes, SerializationState serializationState)voiddeserializeFromJSON(net.sf.json.JSONObject json, QDLInterpreter qi, SerializationState serializationState)StringfromJSONEntry(String x, SerializationState serializationState)voidfromXML(XMLEventReader xer, QDLInterpreter qi)List<String>getDocumentation(String fName, int argCount)Get the complete documentation for a specific function.List<String>getDocumentation(FKey key)UUIDgetID()StringgetXMLElementTag()StringgetXMLTableTag()List<String>listAllDocs()Return the first lines of all the function documentation this module knows.List<String>listAllDocs(String functionName)Return the first line of all documentation for the given function name.TreeSet<String>listFunctions(String regex)List first lines of function documentation given a regular expression.Vput(XKey xKey, XThing xThing)net.sf.json.JSONObjectserializeToJSON(V wrapper, SerializationState serializationState)StringtoJSONEntry(V wrapper, SerializationState serializationState)voidtoXML(XMLStreamWriter xsw, SerializationState serializationState)- 
Methods inherited from class org.qdl_lang.state.XTableconvertFDOC, fromXML, getModuleUtils, put, serializeToJSON, toString
 - 
Methods inherited from class java.util.HashMapclear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
 - 
Methods inherited from class java.util.AbstractMapequals, hashCode
 
- 
 
- 
- 
- 
Method Detail- 
toXMLpublic void toXML(XMLStreamWriter xsw, SerializationState serializationState) throws XMLStreamException 
 - 
getXMLTableTagpublic String getXMLTableTag() 
 - 
getXMLElementTagpublic String getXMLElementTag() 
 - 
deserializeElementpublic V deserializeElement(XMLUtils.ModuleAttributes moduleAttributes, SerializationState serializationState) 
 - 
deserializeElementpublic V deserializeElement(XMLEventReader xer, SerializationState serializationState, QDLInterpreter qi) throws XMLStreamException - Specified by:
- deserializeElementin class- XTable<K extends XKey,V extends MIWrapper>
- Returns:
- Throws:
- XMLStreamException
 
 - 
fromXMLpublic void fromXML(XMLEventReader xer, QDLInterpreter qi) throws XMLStreamException 
 - 
listFunctionspublic TreeSet<String> listFunctions(String regex) Description copied from interface:DocumentableList first lines of function documentation given a regular expression. If the regular expression is null, then no filtering is done.- Specified by:
- listFunctionsin interface- Documentable
- Returns:
 
 - 
listAllDocspublic List<String> listAllDocs() Description copied from interface:DocumentableReturn the first lines of all the function documentation this module knows.- Specified by:
- listAllDocsin interface- Documentable
- Returns:
 
 - 
listAllDocspublic List<String> listAllDocs(String functionName) Description copied from interface:DocumentableReturn the first line of all documentation for the given function name.- Specified by:
- listAllDocsin interface- Documentable
- Returns:
 
 - 
getDocumentationpublic List<String> getDocumentation(String fName, int argCount) Description copied from interface:DocumentableGet the complete documentation for a specific function.- Specified by:
- getDocumentationin interface- Documentable
- Returns:
 
 - 
getDocumentationpublic List<String> getDocumentation(FKey key) - Specified by:
- getDocumentationin interface- Documentable
 
 - 
toJSONEntrypublic String toJSONEntry(V wrapper, SerializationState serializationState) throws Throwable 
 - 
serializeToJSONpublic net.sf.json.JSONObject serializeToJSON(V wrapper, SerializationState serializationState) throws Throwable 
 - 
fromJSONEntrypublic String fromJSONEntry(String x, SerializationState serializationState) 
 - 
deserializeFromJSONpublic void deserializeFromJSON(net.sf.json.JSONObject json, QDLInterpreter qi, SerializationState serializationState) throws Throwable
 
- 
 
-