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
FWSimInterfaceFWSimInterface.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, iFilenameFields inherited from class net.simplace.sim.io.interfaces.FWSimInterface
iColumnMap, iColumnNamesInt, iIntColumnNames -
Constructor Summary
ConstructorsModifierConstructorDescriptionXMLInterface(String aName, int aPoolSize, String aFileName, String aContent) protectedXMLInterface(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, toXMLMethods 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:FWSimInterfacefactory method creating an interface instance concerning the given data type- Specified by:
readin classFWSimInterface<FilePool>- Returns:
- generic
FWSimResourceCache - Throws:
MissingSimResourceException
-