public class StackParser extends VectorParser
Stack structures. This includes parsing nested
lists and any objects that they might store.ARRAYCLASS| Constructor and Description |
|---|
StackParser()
Creates a new instance of StackParser
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
parse(org.licas_xml.abs.Element toParse)
Parse the information to return a list of the values.
|
org.licas_xml.abs.Element |
serialize(java.lang.Object toSerialize)
Serialize a ArrayList to generate an xml representation.
|
elementToVector, vectorToElementcreateAddListObject, createAddMapObject, isListpublic java.lang.Object parse(org.licas_xml.abs.Element toParse)
throws java.lang.Exception
parse in interface org.ai_heuristic.def.ParserDefparse in class VectorParsertoParse - a description of the data.java.lang.Exception - any error.public org.licas_xml.abs.Element serialize(java.lang.Object toSerialize)
throws java.lang.Exception
serialize in interface org.ai_heuristic.def.ParserDefserialize in class VectorParsertoSerialize - the data list.java.lang.Exception - any error.