public class CmsMappingResolutionContext extends java.lang.Object
Since the content handler instance is shared between all contents of the same XML content type, we can't use it to store data which is only relevant for resolving the mappings of a single XML content, so this class was created.
Constructor and Description |
---|
CmsMappingResolutionContext()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
commitUrlNameMappings()
Writes all the stored URL name mappings to the database.
|
void |
finalizeMappings()
Finalizes the mappings.
|
void |
setCmsObject(CmsObject cms)
Sets the CMS context to use.
|
public CmsMappingResolutionContext()
public void commitUrlNameMappings() throws CmsException
CmsException
- if something goes wrongpublic void finalizeMappings() throws CmsException
CmsException
- if something goes wrongpublic void setCmsObject(CmsObject cms)
cms
- the CMS context