Package FAtiMA.Core.util.parsers
Class ScenarioLoaderHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- FAtiMA.Core.util.parsers.ReflectXMLHandler
-
- FAtiMA.Core.util.parsers.ScenarioLoaderHandler
-
- All Implemented Interfaces:
org.xml.sax.ContentHandler,org.xml.sax.DTDHandler,org.xml.sax.EntityResolver,org.xml.sax.ErrorHandler
public class ScenarioLoaderHandler extends ReflectXMLHandler
- Author:
- Samuel
-
-
Constructor Summary
Constructors Constructor Description ScenarioLoaderHandler(java.lang.String scenarioName)ScenarioLoaderHandler(java.lang.String scenarioName, java.lang.String characterName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidAgent(org.xml.sax.Attributes attributes)voidcheckForAgent()voidcheckScenario()java.util.HashMap<java.lang.String,java.lang.String>getAgentConfiguration()java.util.HashMap<java.lang.String,java.lang.String>getAgentProperties()java.lang.String[]getWorldSimArguments()voidObject(org.xml.sax.Attributes attributes)voidProperty(org.xml.sax.Attributes attributes)voidScenario(org.xml.sax.Attributes attributes)voidWorldSimulator(org.xml.sax.Attributes attributes)-
Methods inherited from class FAtiMA.Core.util.parsers.ReflectXMLHandler
callCharMethod, callEndMethod, callTagMethod, characters, endDocument, endElement, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, startDocument, startElement, unparsedEntityDecl, warning
-
-
-
-
Method Detail
-
getWorldSimArguments
public java.lang.String[] getWorldSimArguments()
-
Scenario
public void Scenario(org.xml.sax.Attributes attributes)
-
WorldSimulator
public void WorldSimulator(org.xml.sax.Attributes attributes)
-
checkForAgent
public void checkForAgent()
-
checkScenario
public void checkScenario()
-
Object
public void Object(org.xml.sax.Attributes attributes)
-
Agent
public void Agent(org.xml.sax.Attributes attributes)
-
Property
public void Property(org.xml.sax.Attributes attributes)
-
getAgentProperties
public java.util.HashMap<java.lang.String,java.lang.String> getAgentProperties()
-
getAgentConfiguration
public java.util.HashMap<java.lang.String,java.lang.String> getAgentConfiguration()
-
-