Class GeneratedJSPFile


  • public class GeneratedJSPFile
    extends GeneratedArtefact
    Represents a generated jsp file.
    Version:
    $Id: $Id
    Author:
    lrosenberg
    • Constructor Summary

      Constructors 
      Constructor Description
      GeneratedJSPFile()
      Constructor for GeneratedJSPFile.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String createFileContent()
      Creates the content of the file.
      java.lang.StringBuilder getBody()
      Returns the body of the generated artefact.
      java.lang.String getFileType()
      Returns the file type (i.e.
      java.lang.String getPath()
      Returns the relative path where the artefact must be stored on the filesystem.
      void setPackage​(java.lang.String aPackage)
      setPackage.
      void setPath​(java.lang.String path)
      Setter for the field path.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GeneratedJSPFile

        public GeneratedJSPFile()

        Constructor for GeneratedJSPFile.

    • Method Detail

      • createFileContent

        public java.lang.String createFileContent()
        Creates the content of the file.
        Specified by:
        createFileContent in class GeneratedArtefact
        Returns:
        a String object.
      • getFileType

        public java.lang.String getFileType()
        Returns the file type (i.e. .java or .jsp).
        Specified by:
        getFileType in class GeneratedArtefact
        Returns:
        a String object.
      • getPath

        public java.lang.String getPath()
        Returns the relative path where the artefact must be stored on the filesystem.
        Specified by:
        getPath in class GeneratedArtefact
        Returns:
        a String object.
      • setPath

        public void setPath​(java.lang.String path)

        Setter for the field path.

        Parameters:
        path - a String object.
      • getBody

        public java.lang.StringBuilder getBody()
        Returns the body of the generated artefact.
        Specified by:
        getBody in class GeneratedArtefact
        Returns:
        a StringBuilder object.
      • setPackage

        public void setPackage​(java.lang.String aPackage)

        setPackage.

        Parameters:
        aPackage - a String object.