net.officefloor.compile.office
Interface OfficeLoader

All Known Implementing Classes:
OfficeLoaderImpl

public interface OfficeLoader

Loads the OfficeType from the OfficeSource.

Author:
Daniel Sagenschneider

Method Summary
<O extends OfficeSource>
OfficeType
loadOfficeType(Class<O> officeSourceClass, String officeLocation, PropertyList propertyList)
          Loads and returns the OfficeType from the OfficeSource.
 OfficeType loadOfficeType(OfficeSource officeSource, String officeLocation, PropertyList propertyList)
          Loads and returns the OfficeType from the OfficeSource.
<O extends OfficeSource>
PropertyList
loadSpecification(Class<O> officeSourceClass)
          Loads and returns the PropertyList from the OfficeSourceSpecification for the OfficeSource.
 

Method Detail

loadSpecification

<O extends OfficeSource> PropertyList loadSpecification(Class<O> officeSourceClass)
Loads and returns the PropertyList from the OfficeSourceSpecification for the OfficeSource.

Parameters:
officeSourceClass - Class of the OfficeSource.
Returns:
PropertyList of the OfficeSourceProperty instances of the OfficeSourceSpecification or null if issue, which is reported to the CompilerIssues.

loadOfficeType

<O extends OfficeSource> OfficeType loadOfficeType(Class<O> officeSourceClass,
                                                   String officeLocation,
                                                   PropertyList propertyList)
Loads and returns the OfficeType from the OfficeSource.

Parameters:
officeSourceClass - Class of the OfficeSource.
officeLocation - Location of the Office.
propertyList - PropertyList containing the properties to source the OfficeType.
Returns:
OfficeType or null if issues, which are reported to the CompilerIssues.

loadOfficeType

OfficeType loadOfficeType(OfficeSource officeSource,
                          String officeLocation,
                          PropertyList propertyList)
Loads and returns the OfficeType from the OfficeSource.

Parameters:
officeSource - OfficeSource instance.
officeLocation - Location of the Office.
propertyList - PropertyList containing the properties to source the OfficeType.
Returns:
OfficeType or null if issues, which are reported to the CompilerIssues.


Copyright © 2005-2013. All Rights Reserved.