Package VASSAL.build.module.metadata
Class ImportMetaData
java.lang.Object
VASSAL.build.module.metadata.AbstractMetaData
VASSAL.build.module.metadata.ImportMetaData
public class ImportMetaData extends AbstractMetaData
Class representing the metadata for an Importable file.
-
Field Summary
Fields Modifier and Type Field Description static StringDATA_VERSIONFields inherited from class VASSAL.build.module.metadata.AbstractMetaData
BUILDFILE_EXTENSION_ELEMENT, BUILDFILE_MODULE_ELEMENT1, BUILDFILE_MODULE_ELEMENT2, DATE_SAVED_ELEMENT, DESCRIPTION_ATTR, DESCRIPTION_ELEMENT, descriptionAttr, EXTENSION_ATTR, FALSE, LANG_ATTR, MODULE_NAME_ATTR, MODULE_NAME_ELEMENT, MODULE_VERSION_ATTR, MODULE_VERSION_ELEMENT, NAME_ATTR, NAME_ELEMENT, parser, ROOT_ELEMENT, TRUE, VASSAL_VERSION_ATTR, VASSAL_VERSION_ELEMENT, vassalVersion, version, VERSION_ATTR, VERSION_ELEMENT -
Constructor Summary
Constructors Constructor Description ImportMetaData() -
Method Summary
Modifier and Type Method Description protected voidaddElements(Document doc, Element root)Add elements specific to a MetaData subclassStringgetMetaDataVersion()Return the version of the metadata structureStringgetZipEntryName()Return the Entry name for the metatdata fileMethods inherited from class VASSAL.build.module.metadata.AbstractMetaData
copyModuleMetadata, copyModuleMetadata, getDescription, getLocalizedDescription, getVassalVersion, getVersion, save, save, save, setDescription, setDescription, setVassalVersion, setVersion
-
Field Details
-
DATA_VERSION
- See Also:
- Constant Field Values
-
-
Constructor Details
-
ImportMetaData
public ImportMetaData()
-
-
Method Details
-
addElements
Description copied from class:AbstractMetaDataAdd elements specific to a MetaData subclass- Specified by:
addElementsin classAbstractMetaData- Parameters:
doc- Documentroot- Root element
-
getMetaDataVersion
Description copied from class:AbstractMetaDataReturn the version of the metadata structure- Specified by:
getMetaDataVersionin classAbstractMetaData- Returns:
- version
-
getZipEntryName
Description copied from class:AbstractMetaDataReturn the Entry name for the metatdata file- Specified by:
getZipEntryNamein classAbstractMetaData- Returns:
- Zip Entry name
-