Class

org.fusesource.scalate.support

StringTemplateSource

Related Doc: package support

Permalink

class StringTemplateSource extends StringResource with TemplateSource

Source
TemplateSources.scala
Linear Supertypes
TemplateSource, StringResource, Serializable, Serializable, Product, Equals, TextResource, Resource, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StringTemplateSource
  2. TemplateSource
  3. StringResource
  4. Serializable
  5. Serializable
  6. Product
  7. Equals
  8. TextResource
  9. Resource
  10. AnyRef
  11. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StringTemplateSource(uri: String, text: String)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from StringTemplateSource to any2stringadd[StringTemplateSource] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (StringTemplateSource, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from StringTemplateSource to ArrowAssoc[StringTemplateSource] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def checkInitialised(): Unit

    Permalink

    Checks that we have lazily created the package and class names

    Checks that we have lazily created the package and class names

    Attributes
    protected
    Definition Classes
    TemplateSource
  8. def className: String

    Permalink

    Returns the generated fully qualified class name for code generated templates

    Returns the generated fully qualified class name for code generated templates

    Definition Classes
    TemplateSource
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. var engine: TemplateEngine

    Permalink
    Definition Classes
    TemplateSource
  11. def ensuring(cond: (StringTemplateSource) ⇒ Boolean, msg: ⇒ Any): StringTemplateSource

    Permalink
    Implicit information
    This member is added by an implicit conversion from StringTemplateSource to Ensuring[StringTemplateSource] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (StringTemplateSource) ⇒ Boolean): StringTemplateSource

    Permalink
    Implicit information
    This member is added by an implicit conversion from StringTemplateSource to Ensuring[StringTemplateSource] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): StringTemplateSource

    Permalink
    Implicit information
    This member is added by an implicit conversion from StringTemplateSource to Ensuring[StringTemplateSource] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): StringTemplateSource

    Permalink
    Implicit information
    This member is added by an implicit conversion from StringTemplateSource to Ensuring[StringTemplateSource] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def extractPackageAndClassNames(uri: String): (String, String)

    Permalink
    Attributes
    protected
    Definition Classes
    TemplateSource
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from StringTemplateSource to StringFormat[StringTemplateSource] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def inputStream: ByteArrayInputStream

    Permalink
    Definition Classes
    TextResource → Resource
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. def lastModified: Long

    Permalink
    Definition Classes
    TextResource → Resource
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. def packageName: String

    Permalink

    Returns the package name the generated template class will be in for code generated templates

    Returns the package name the generated template class will be in for code generated templates

    Definition Classes
    TemplateSource
  27. def reader: StringReader

    Permalink
    Definition Classes
    TextResource → Resource
  28. val reservedWords: Set[String]

    Permalink
    Attributes
    protected
    Definition Classes
    TemplateSource
  29. def simpleClassName: String

    Permalink

    Returns the generated simple class name (i.e.

    Returns the generated simple class name (i.e. without the package name) for code generated templates

    Definition Classes
    TemplateSource
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. def templateType(extension: String): CustomExtensionTemplateSource

    Permalink

    Returns a new TemplateSource which uses the given template type irrespective of the actual uri file extension

    Returns a new TemplateSource which uses the given template type irrespective of the actual uri file extension

    For example this lets you load a TemplateSource then convert it to be of a given fixed type of template as follows:

    TemplateSource.fromFile("foo.txt").templateType("mustache")

    Definition Classes
    TemplateSource
  32. def templateType: Option[String]

    Permalink

    Returns the type of the template (ssp, scaml, mustache etc).

    Returns the type of the template (ssp, scaml, mustache etc).

    By default the extension is extracted from the uri but custom implementations can override this so that a uri could be "foo.html" but the extension overriden to be "mustache" for example

    Definition Classes
    TemplateSource
  33. val text: String

    Permalink
    Definition Classes
    StringResource → Resource
  34. def toFile: Option[File]

    Permalink
    Definition Classes
    Resource
  35. val uri: String

    Permalink
    Definition Classes
    StringResource → Resource
  36. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. def [B](y: B): (StringTemplateSource, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from StringTemplateSource to ArrowAssoc[StringTemplateSource] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from TemplateSource

Inherited from StringResource

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from TextResource

Inherited from Resource

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from StringTemplateSource to any2stringadd[StringTemplateSource]

Inherited by implicit conversion StringFormat from StringTemplateSource to StringFormat[StringTemplateSource]

Inherited by implicit conversion Ensuring from StringTemplateSource to Ensuring[StringTemplateSource]

Inherited by implicit conversion ArrowAssoc from StringTemplateSource to ArrowAssoc[StringTemplateSource]

Ungrouped