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 String
DATA_VERSION
Fields 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 void
addElements(Document doc, Element root)
Add elements specific to a MetaData subclassString
getMetaDataVersion()
Return the version of the metadata structureString
getZipEntryName()
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:AbstractMetaData
Add elements specific to a MetaData subclass- Specified by:
addElements
in classAbstractMetaData
- Parameters:
doc
- Documentroot
- Root element
-
getMetaDataVersion
Description copied from class:AbstractMetaData
Return the version of the metadata structure- Specified by:
getMetaDataVersion
in classAbstractMetaData
- Returns:
- version
-
getZipEntryName
Description copied from class:AbstractMetaData
Return the Entry name for the metatdata file- Specified by:
getZipEntryName
in classAbstractMetaData
- Returns:
- Zip Entry name
-