public class CmsContainerConfigurationParser
extends java.lang.Object
构造器和说明 |
---|
CmsContainerConfigurationParser(CmsObject cms)
Creates a new configuration parser.
|
限定符和类型 | 方法和说明 |
---|---|
java.util.Map<java.util.Locale,java.util.Map<java.lang.String,CmsContainerConfiguration>> |
getParsedResults()
Gets the parsed results as a map.
|
void |
parse(CmsFile file)
Parses the contents of a file.
|
void |
parse(CmsResource resource)
Parses the contents of a resource.
|
protected void |
parseConfigurationGroup(I_CmsXmlContentLocation location)
Parses a group of named configurations from a given XML content location.
|
protected void |
parseSingleConfiguration(I_CmsXmlContentValueLocation location)
Parses a single inheritance configuration from an XML content node.
|
public CmsContainerConfigurationParser(CmsObject cms)
cms
- the current CMS contextpublic java.util.Map<java.util.Locale,java.util.Map<java.lang.String,CmsContainerConfiguration>> getParsedResults()
public void parse(CmsFile file) throws CmsException
file
- the file to parseCmsException
- if something goes wrongpublic void parse(CmsResource resource) throws CmsException
resource
- the resource which should be parsedCmsException
- if something goes wrongprotected void parseConfigurationGroup(I_CmsXmlContentLocation location)
location
- the location from which to read the configuration groupprotected void parseSingleConfiguration(I_CmsXmlContentValueLocation location)
location
- the node from which to read the single configuration