net.officefloor.compile.spi.section.source
Interface SectionSource

All Known Implementing Classes:
AbstractSectionSource, ClassSectionSource, CometSectionSource, DeskModelSectionSource, HttpFileSectionSource, HttpFileSenderSectionSource, HttpSecuritySectionSource, HttpTemplateSectionSource, HttpUrlContinuationSectionSource, SectionModelSectionSource, ServletContainerResourceSectionSource, TransformSectionSource, WebApplicationSectionSource, WebXmlSectionSource, WorkSectionSource

public interface SectionSource

Sources the SectionType.

Author:
Daniel Sagenschneider

Method Summary
 SectionSourceSpecification getSpecification()
           Obtains the SectionSourceSpecification for this SectionSource.
 void sourceSection(SectionDesigner designer, SectionSourceContext context)
          Sources the OfficeSection by constructing it via the input SectionDesigner.
 

Method Detail

getSpecification

SectionSourceSpecification getSpecification()

Obtains the SectionSourceSpecification for this SectionSource.

This enables the SectionSourceContext to be populated with the necessary details as per this SectionSourceSpecification in loading the SectionType.

Returns:
SectionSourceSpecification.

sourceSection

void sourceSection(SectionDesigner designer,
                   SectionSourceContext context)
                   throws Exception
Sources the OfficeSection by constructing it via the input SectionDesigner.

Parameters:
designer - SectionDesigner to construct the structure of the OfficeSection.
context - SectionSourceContext to source details to construct the OfficeSection.
Throws:
Exception - If fails to construct the OfficeSection.


Copyright © 2005-2013. All Rights Reserved.