Uses of Class
org.qdl_lang.xml.SerializationState
-
Packages that use SerializationState Package Description org.qdl_lang.extensions This contains the classes for extending the QDL language with Java.org.qdl_lang.functions Function handling and processing.org.qdl_lang.module Classes that model and manage modules in QDL.org.qdl_lang.state Classes that manage the state of an interpreter session.org.qdl_lang.util Utilities for QDL.org.qdl_lang.variables Variables in QDL and classes that support them.org.qdl_lang.xml Everything relating to serialization of QDL workspaces to/from XML. -
-
Uses of SerializationState in org.qdl_lang.extensions
Methods in org.qdl_lang.extensions with parameters of type SerializationState Modifier and Type Method Description void
JavaModule. deserializeFromJSON(net.sf.json.JSONObject json, SerializationState serializationState)
void
JavaModule. deserializeStates(net.sf.json.JSONObject jsonObject, SerializationState serializationState)
This should centralize deserializing the state for a Java module.net.sf.json.JSONObject
JavaModule. serializeToJSON(SerializationState serializationState)
-
Uses of SerializationState in org.qdl_lang.functions
Methods in org.qdl_lang.functions with parameters of type SerializationState Modifier and Type Method Description V
FTable. deserializeElement(XMLEventReader xer, SerializationState SerializationState, QDLInterpreter qi)
void
FTable. deserializeFromJSON(net.sf.json.JSONObject json, QDLInterpreter qi, SerializationState serializationState)
String
FTable. fromJSONEntry(String x, SerializationState serializationState)
net.sf.json.JSONObject
FTable. serializeToJSON(V xThing, SerializationState serializationState)
String
FTable. toJSONEntry(V xThing, SerializationState serializationState)
void
FTable. toXML(XMLStreamWriter xsw, SerializationState SerializationState)
Writes every function in no particular order by its source code. -
Uses of SerializationState in org.qdl_lang.module
Methods in org.qdl_lang.module with parameters of type SerializationState Modifier and Type Method Description V
MITable. deserializeElement(XMLEventReader xer, SerializationState serializationState, QDLInterpreter qi)
V
MITable. deserializeElement(XMLUtils.ModuleAttributes moduleAttributes, SerializationState serializationState)
V
MTTable. deserializeElement(XMLEventReader xer, SerializationState SerializationState, QDLInterpreter qi)
V
MTTable. deserializeElement(XMLUtils.ModuleAttributes moduleAttributes, SerializationState SerializationState)
void
MITable. deserializeFromJSON(net.sf.json.JSONObject json, QDLInterpreter qi, SerializationState serializationState)
void
Module. deserializeFromJSON(net.sf.json.JSONObject json, SerializationState serializationState)
Deserializes a JSON object into the current module.void
MTTable. deserializeFromJSON(net.sf.json.JSONObject json, QDLInterpreter qi, SerializationState serializationState)
void
QDLModule. deserializeFromJSON(net.sf.json.JSONObject json, SerializationState serializationState)
String
MITable. fromJSONEntry(String x, SerializationState serializationState)
String
MTTable. fromJSONEntry(String x, SerializationState serializationState)
void
Module. fromXML(XMLEventReader xer, SerializationState SerializationState, boolean isTemplate)
Used in version 2,0 serializationnet.sf.json.JSONObject
MITable. serializeToJSON(V wrapper, SerializationState serializationState)
net.sf.json.JSONObject
Module. serializeToJSON(SerializationState serializationState)
The result of this is a json objectnet.sf.json.JSONObject
MTTable. serializeToJSON(V xThing, SerializationState serializationState)
net.sf.json.JSONObject
QDLModule. serializeToJSON(SerializationState serializationState)
String
MITable. toJSONEntry(V wrapper, SerializationState serializationState)
String
MTTable. toJSONEntry(V xThing, SerializationState serializationState)
void
MITable. toXML(XMLStreamWriter xsw, SerializationState serializationState)
void
Module. toXML(XMLStreamWriter xsw, String alias, boolean fullSerialization, SerializationState SerializationState)
void
MTTable. toXML(XMLStreamWriter xsw, SerializationState SerializationState)
void
Module. toXML2(XMLStreamWriter xsw, String alias, boolean fullSerialization, SerializationState SerializationState)
-
Uses of SerializationState in org.qdl_lang.state
Methods in org.qdl_lang.state with parameters of type SerializationState Modifier and Type Method Description protected void
State. addJSONtoState(net.sf.json.JSONObject jsonObject, String tag, XStack xStack, SerializationState serializationState)
void
State. buildSO(SerializationState SerializationState)
Recurse through the modules and collects templates and state objects from instances.abstract V
XTable. deserializeElement(XMLEventReader xer, SerializationState SerializationState, QDLInterpreter qi)
Deprecated.void
State. deserializeFromJSON(net.sf.json.JSONObject jsonObject, SerializationState s)
void
XStack. deserializeFromJSON(net.sf.json.JSONObject jsonObject, SerializationState serializationState, State state)
abstract void
XTable. deserializeFromJSON(net.sf.json.JSONObject json, QDLInterpreter qi, SerializationState serializationState)
void
XStack. deserializeFromJSONNEW(net.sf.json.JSONObject jsonObject, SerializationState serializationState, State state)
void
XStack. deserializeFromJSONOLD(net.sf.json.JSONObject jsonObject, SerializationState serializationState, State state)
protected void
State. doLocalSerialization(XStack oldStack, String tag, net.sf.json.JSONObject jsonObject, SerializationState serializationState)
void
XStack. fromJSON(net.sf.json.JSONArray array, SerializationState serializationState)
Processes the array of arrays.abstract String
XTable. fromJSONEntry(String x, SerializationState serializationState)
void
State. fromXML(XMLEventReader xer, edu.uiuc.ncsa.security.core.configuration.XProperties xp, SerializationState serializationState)
void
XStack. fromXML(XMLEventReader xer, SerializationState SerializationState)
void
XTable. fromXML(XMLEventReader xer, SerializationState SerializationState)
Version 2.0 serializationprotected void
XStack. fromXMLNEW(XMLEventReader xer, SerializationState serializationState)
static State
StateUtils. load(State state, SerializationState SerializationState, XMLEventReader xer)
protected void
XStack. serializeContent(XMLStreamWriter xsw, SerializationState serializationState)
Very simple (and simple-minded) way to do it.net.sf.json.JSONObject
State. serializeLocalStateToJSON(SerializationState serializationState)
Only serialize the local part of the state.net.sf.json.JSONObject
State. serializeToJSON(SerializationState s)
net.sf.json.JSONObject
XStack. serializeToJSON(SerializationState serializationState)
net.sf.json.JSONArray
XTable. serializeToJSON(SerializationState serializationState)
abstract net.sf.json.JSONObject
XTable. serializeToJSON(V xThing, SerializationState serializationState)
net.sf.json.JSONArray
XStack. toJSON(SerializationState serializationState)
abstract String
XTable. toJSONEntry(V xThing, SerializationState serializationState)
void
State. toXML(XMLStreamWriter xsw, SerializationState serializationState)
void
XStack. toXML(XMLStreamWriter xsw, SerializationState serializationState)
Does the grunt work of writing the stack in the right order.abstract void
XTable. toXML(XMLStreamWriter xsw, SerializationState SerializationState)
Deprecated.protected void
XStack. toXMLNEW(XMLStreamWriter xsw, SerializationState serializationState)
-
Uses of SerializationState in org.qdl_lang.util
Methods in org.qdl_lang.util with parameters of type SerializationState Modifier and Type Method Description Module
ModuleUtils. deserializeFromJSON(State state, net.sf.json.JSONObject json, boolean useModule, SerializationState serializationState)
Module
ModuleUtils. deserializeFromJSON(State state, net.sf.json.JSONObject json, SerializationState serializationState)
This starts the load from the JSON since which type of module to instantiate is needed, so the right module has to exist beforeModule.deserializeFromJSON(JSONObject, SerializationState)
can be called.void
ModuleUtils. deserializeUsedModules(State state, net.sf.json.JSONArray jsonArray, SerializationState serializationState)
net.sf.json.JSONArray
ModuleUtils. serializeUsedModules(State state, SerializationState serializationState)
void
ModuleUtils. updateSerializedState(net.sf.json.JSONObject jsonObject, State state, SerializationState serializationState)
There are two steps to deserialzing a workspace.void
ModuleUtils. updateUsedModuleState(net.sf.json.JSONObject jsonObject, State state, SerializationState serializationState)
-
Uses of SerializationState in org.qdl_lang.variables
Methods in org.qdl_lang.variables with parameters of type SerializationState Modifier and Type Method Description V
VTable. deserializeElement(XMLEventReader xer, SerializationState SerializationState, QDLInterpreter qi)
void
VTable. deserializeFromJSON(net.sf.json.JSONObject json, QDLInterpreter qi, SerializationState serializationState)
String
VTable. fromJSONEntry(String x, SerializationState serializationState)
protected void
VStack. fromXMLNEW(XMLEventReader xer, SerializationState serializationState)
net.sf.json.JSONObject
VStack. serializeToJSON(SerializationState serializationState)
net.sf.json.JSONObject
VTable. serializeToJSON(V xThing, SerializationState serializationState)
This serializes an entry.String
VTable. toJSONEntry(V xThing, SerializationState serializationState)
void
VTable. toXML(XMLStreamWriter xsw, SerializationState SerializationState)
void
VTable. toXML2(XMLStreamWriter xsw, SerializationState serializationState)
protected void
VTable. toXMLEntry(V vThing, XMLStreamWriter xsw, SerializationState serializationState)
New format (version 2.1+) for non-modules is -
Uses of SerializationState in org.qdl_lang.xml
Methods in org.qdl_lang.xml with parameters of type SerializationState Modifier and Type Method Description static void
XMLUtilsV2. deserializeExtrinsicFunctions(XMLEventReader xer, State state, SerializationState serializationState)
static void
XMLUtilsV2. deserializeExtrinsicVariables(XMLEventReader xer, State state, SerializationState serializationState)
static void
XMLUtilsV2. deserializeFunctions(XMLEventReader xer, State state, SerializationState serializationState)
static void
XMLUtilsV2. deserializeInstances(XMLEventReader xer, State state, SerializationState serializationState)
static void
XMLUtilsV2. deserializeIntrinsicFunctions(XMLEventReader xer, State state, SerializationState serializationState)
static void
XMLUtilsV2. deserializeIntrinsicVariables(XMLEventReader xer, State state, SerializationState serializationState)
static void
XMLUtilsV2. deserializeStateStore(XMLEventReader xer, SerializationState SerializationState)
static Module
XMLUtilsV2. deserializeTemplate(XMLEventReader xer, XMLUtils.ModuleAttributes moduleAttributes, SerializationState serializationState)
Deserializes a single template, either from sources or from the class reference.static void
XMLUtilsV2. deserializeTemplates(XMLEventReader xer, State state, SerializationState serializationState)
Deserializes a template stack of references.static void
XMLUtilsV2. deserializeTemplateStore(XMLEventReader xer, SerializationState SerializationState)
static void
XMLUtilsV2. deserializeVariables(XMLEventReader xer, State state, SerializationState serializationState)
protected static void
XMLUtilsV2. deserializeXStack(XMLEventReader xer, XStack xStack, State state, SerializationState serializationState)
void
XMLSerializable. fromXML(XMLEventReader xer, SerializationState SerializationState)
void
XMLSerializable. toXML(XMLStreamWriter xsw, SerializationState SerializationState)
-