Class

org.fusesource.scalate.support

UriTemplateSource

Related Doc: package support

Permalink

class UriTemplateSource extends UriResource with TemplateSource

Source
TemplateSources.scala
Linear Supertypes
TemplateSource, UriResource, Serializable, Serializable, Product, Equals, DelegateResource, Resource, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UriTemplateSource
  2. TemplateSource
  3. UriResource
  4. Serializable
  5. Serializable
  6. Product
  7. Equals
  8. DelegateResource
  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 UriTemplateSource(uri: String, resourceLoader: ResourceLoader)

    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 UriTemplateSource to any2stringadd[UriTemplateSource] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (UriTemplateSource, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from UriTemplateSource to ArrowAssoc[UriTemplateSource] 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. def delegate: Resource

    Permalink
    Attributes
    protected
    Definition Classes
    UriResource → DelegateResource
  11. var engine: TemplateEngine

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. def inputStream: InputStream

    Permalink
    Definition Classes
    DelegateResource → Resource
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. def lastModified: Long

    Permalink
    Definition Classes
    DelegateResource → Resource
  24. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  27. 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
  28. def reader: Reader

    Permalink
    Definition Classes
    DelegateResource → Resource
  29. val reservedWords: Set[String]

    Permalink
    Attributes
    protected
    Definition Classes
    TemplateSource
  30. val resourceLoader: ResourceLoader

    Permalink
    Definition Classes
    UriResource
  31. 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
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  33. 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
  34. 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
  35. def text: String

    Permalink
    Definition Classes
    DelegateResource → Resource
  36. def toFile: Option[File]

    Permalink
    Definition Classes
    Resource
  37. val uri: String

    Permalink
    Definition Classes
    UriResource → DelegateResource → Resource
  38. final def wait(): Unit

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

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

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

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

Inherited from TemplateSource

Inherited from UriResource

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from DelegateResource

Inherited from Resource

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped