public class KpisFileConverter extends XmlToBundleConverter
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
log
Logger
|
bundleDir, bundleName, xmlFile
Constructor and Description |
---|
KpisFileConverter() |
Modifier and Type | Method and Description |
---|---|
protected String |
calculateKey(org.jdom.Element node,
String parentKey) |
Map<Locale,Properties> |
extract() |
protected void |
extractNode(org.jdom.Element node,
String parentKey,
Map<Locale,Properties> bundles) |
void |
injectNode(org.jdom.Element node,
Locale locale,
String value) |
List<org.jdom.Element> |
lookupNodes(org.jdom.Element node,
List<String> path) |
extractLocale, getBundle, getElementForLocale, getLanguageAttr, inject, lookupNode, read, write
public Map<Locale,Properties> extract() throws Exception
extract
in class XmlToBundleConverter
Exception
protected void extractNode(org.jdom.Element node, String parentKey, Map<Locale,Properties> bundles) throws Exception
Exception
public List<org.jdom.Element> lookupNodes(org.jdom.Element node, List<String> path) throws Exception
lookupNodes
in class XmlToBundleConverter
Exception
public void injectNode(org.jdom.Element node, Locale locale, String value) throws Exception
injectNode
in class XmlToBundleConverter
Exception
Copyright © 2012–2016 JBoss by Red Hat. All rights reserved.