org.opencms.file.wrapper.package.html Maven / Gradle / Ivy
Show all versions of opencms-test Show documentation
This package contains classes and interfaces used to access OpenCms through a wrapped
{@link org.opencms.file.CmsObject}.
Main entry point is the class {@link org.opencms.file.wrapper.CmsObjectWrapper}. The
CmsObjectWrapper
is configured with a list of implementations
of {@link org.opencms.file.wrapper.I_CmsResourceWrapper}. So it is possible to show resources in
the VFS different as usual.
For example: If you would like that xml pages always have the correct file extension (.xml) so you
can use the {@link org.opencms.file.wrapper.CmsResourceExtensionWrapperXmlPage}. This implementation
of the interface I_CmsResourceWrapper
adds to every resource of type
"xmlpage" the correct file extension ".xml".
This package is mainly used by {@link org.opencms.repository.CmsRepositorySession} to create a
simple configurable access to the resources in OpenCms.
@since 6.2.4
@see org.opencms.file.wrapper.CmsObjectWrapper
@see org.opencms.file.wrapper.I_CmsResourceWrapper