com.isomorphic.xml

## Class Project

- java.lang.Object
- - com.isomorphic.xml.Project

- All Implemented Interfaces:
    IToJSON

      public class Project
      extends java.lang.Object
      implements IToJSON

  Encapsulates a Reify Project (.proj.xml file)

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static java.lang.String` | `getLoadScript(java.lang.String projectName)` Returns JavaScript code to cache screens from a Project by name.
    `static java.lang.String` | `getLoadScript(java.lang.String projectName, java.util.List screenNames)` Returns JavaScript code to cache screens from a Project by name.
    `static java.lang.String` | `getLoadScript(java.lang.String projectNames, ProjectLoadSettings settings)` Returns JavaScript code to cache screens from a set of Projects by name.

    - ### Methods inherited from interface com.isomorphic.js.IToJSON

      `toJSON`

- - ### Method Detail

    - #### getLoadScript

          public static java.lang.String getLoadScript(java.lang.String projectName)
                                                throws java.lang.Exception

      Returns JavaScript code to cache screens from a Project by name. The current screen in the Project is drawn.
      Parameters:
        `projectName` - The name of the Project to load. For Projects coming from the filesystem, the name is everything before any file extension. So for example if you have a Foo.proj.xml file, the name you would provide to this method should be "Foo".
      Throws:
        `java.lang.Exception`

    - #### getLoadScript

          public static java.lang.String getLoadScript(java.lang.String projectName,
                                                       java.util.List screenNames)
                                                throws java.lang.Exception

      Returns JavaScript code to cache screens from a Project by name. Only the specified screens in the Project are loaded.
      Parameters:
        `projectName` - The name of the Project to load. For Projects coming from the filesystem, the name is everything before any file extension. So for example if you have a Foo.proj.xml file, the name you would provide to this method should be "Foo".
        `screenNames` - The names of the screens to be loaded
      Throws:
        `java.lang.Exception`

    - #### getLoadScript

          public static java.lang.String getLoadScript(java.lang.String projectNames,
                                                       ProjectLoadSettings settings)
                                                throws java.lang.Exception

      Returns JavaScript code to cache screens from a set of Projects by name.
      Parameters:
        `projectNames` - The names of the Projects to load. For Projects coming from the filesystem, the name is everything before any file extension. So for example if you have a Foo.proj.xml file, the name you would provide to this method should be "Foo".
        `settings` - Additional settings to control the load process
      Throws:
        `java.lang.Exception`