Package net.simplace.sim.io.interfaces
Class XMLInterface
java.lang.Object
net.simplace.sim.io.interfaces.FWSimInterface<FilePool>
net.simplace.sim.io.interfaces.FILEInterface
net.simplace.sim.io.interfaces.XMLInterface
implementation of the
giving access to resources from and output to xml-files
method
FWSimInterface
FWSimInterface.getInterface(FWSimVarMap, CONTENT_TYPE)
.getRootElement()
provide the user with the needed content.
Until now only used as resource interface.- Author:
- Andreas Enders
-
Nested Class Summary
Nested classes/interfaces inherited from class net.simplace.sim.io.interfaces.FWSimInterface
FWSimInterface.INTERFACE_TYPE
-
Field Summary
Fields inherited from class net.simplace.sim.io.interfaces.FILEInterface
iContent, iFileinfo, iFilename
Fields inherited from class net.simplace.sim.io.interfaces.FWSimInterface
iColumnMap, iColumnNamesInt, iIntColumnNames
-
Constructor Summary
ModifierConstructorDescriptionXMLInterface
(String aName, int aPoolSize, String aFileName, String aContent) protected
XMLInterface
(String aName, org.jdom2.Element aInterfaceElement) -
Method Summary
Modifier and TypeMethodDescriptionread
(FWSimSession aFwSimSession, String aProjectID, Object aCache, LinkedHashMap<String, String> aKeyMap, FWSimInputAdapter aResourceAdapter, String aUniqueID, FWSimInterface.INTERFACE_TYPE aInterfaceType) factory method creating an interface instance concerning the given data typeMethods inherited from class net.simplace.sim.io.interfaces.FILEInterface
finalize, getFilename, getInterface, setFilename, toXML
Methods inherited from class net.simplace.sim.io.interfaces.FWSimInterface
checkHeaderForColMode, createInterface, createInterface, createStatisticInterface, getInterfaceType, getName, getPoolSize, readColArray, toString, transformArrays, writeToDatabase
-
Constructor Details
-
XMLInterface
- Parameters:
aName
-aPoolSize
-aInterfaceElement
-
-
XMLInterface
- Parameters:
aName
-aPoolSize
-aFileName
-
-
-
Method Details
-
read
public FWSimResourceCache read(FWSimSession aFwSimSession, String aProjectID, Object aCache, LinkedHashMap<String, String> aKeyMap, FWSimInputAdapter aResourceAdapter, String aUniqueID, FWSimInterface.INTERFACE_TYPE aInterfaceType) throws MissingSimResourceExceptionDescription copied from class:FWSimInterface
factory method creating an interface instance concerning the given data type- Specified by:
read
in classFWSimInterface<FilePool>
- Returns:
- generic
FWSimResourceCache
- Throws:
MissingSimResourceException
-