de.pentabyte.tools.i18n.core.EntryNode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of i18n-maven-plugin Show documentation
Show all versions of i18n-maven-plugin Show documentation
This project defines an XML schema which holds translated text resoures in one file. This maven plugin can create the platform specific message files from this one XML file. Use it during the "generate-resources" phase to keep your language files up to date.
package de.pentabyte.tools.i18n.core;
import java.util.HashMap;
import java.util.Map;
/**
* Only needed for refactoring.
*
* @author Michael Höreth
*/
public class EntryNode {
private String description;
private Map nodes;
private Map textMap;
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public Map getNodes() {
if (nodes == null)
nodes = new HashMap<>();
return nodes;
}
public void setNodes(Map nodes) {
this.nodes = nodes;
}
public Map getTextMap() {
if (textMap == null)
textMap = new HashMap<>();
return textMap;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy