Interface DbTocEntryAdapter
- All Known Implementing Classes:
DbEnumContentTocEntry,DbGenerationTocEntry,DbProductCmptTocEntry,DbTableContentTocEntry
public interface DbTocEntryAdapter
Wrapper for
runtime ToC Entries whose XML content should be provided by a
ContentContainer that is loaded from a database.-
Method Summary
Modifier and TypeMethodDescriptionTheContentContainerthat should be used to extract the XML content.default InputStreamExtract the XML content of a ToC Entry from the entity.
-
Method Details
-
getContentContainer
ContentContainer getContentContainer()TheContentContainerthat should be used to extract the XML content.- Returns:
- the
ContentContainerentity read from database
-
getXmlContent
Extract the XML content of a ToC Entry from the entity. By default, theXML resourceof the entity is used which is expected to be lazy loaded.- Returns:
XMLof theTocEntry's XML resourceas anInputStream
-