Package org.opencms.xml.content
Class CmsVfsBundleLoaderXml
- java.lang.Object
-
- org.opencms.xml.content.CmsVfsBundleLoaderXml
-
- All Implemented Interfaces:
CmsVfsResourceBundle.I_Loader
public class CmsVfsBundleLoaderXml extends java.lang.Object implements CmsVfsResourceBundle.I_Loader
Loads message bundles from the different locales of a single XML content.
-
-
Constructor Summary
Constructors Constructor Description CmsVfsBundleLoaderXml()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.util.Locale,java.util.Map<java.lang.String,java.lang.String>>
loadData(CmsObject cms, CmsVfsBundleParameters params)
Loads the data from the VFS.
-
-
-
Field Detail
-
N_KEY
public static final java.lang.String N_KEY
Node name.- See Also:
- Constant Field Values
-
N_MESSAGE
public static final java.lang.String N_MESSAGE
Node name.- See Also:
- Constant Field Values
-
N_VALUE
public static final java.lang.String N_VALUE
Node name.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CmsVfsBundleLoaderXml
public CmsVfsBundleLoaderXml()
-
-
Method Detail
-
loadData
public java.util.Map<java.util.Locale,java.util.Map<java.lang.String,java.lang.String>> loadData(CmsObject cms, CmsVfsBundleParameters params) throws java.lang.Exception
Description copied from interface:CmsVfsResourceBundle.I_Loader
Loads the data from the VFS.- Specified by:
loadData
in interfaceCmsVfsResourceBundle.I_Loader
- Parameters:
cms
- the CMS context to useparams
- the VFS bundle parameters- Returns:
- the message bundle data
- Throws:
java.lang.Exception
- if something goes wrong- See Also:
CmsVfsResourceBundle.I_Loader.loadData(org.opencms.file.CmsObject, org.opencms.i18n.CmsVfsBundleParameters)
-
-