org.fusesource.scalate.support

DummyRenderContext

class DummyRenderContext extends DefaultRenderContext

Source
SiteGenerator.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DummyRenderContext
  2. DefaultRenderContext
  3. RenderContext
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DummyRenderContext(_requestUri: String, _engine: TemplateEngine, _out: PrintWriter)

Type Members

  1. case class Unescaped(text: String) extends Product with Serializable

    Used to represent some text which does not need escaping

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Implicit information
    This member is added by an implicit conversion from DummyRenderContext to ArrowAssoc[DummyRenderContext] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. def <<(v: Any): Unit

    Renders the provided value and inserts it into the final rendered document without sanitizing the value.

    Renders the provided value and inserts it into the final rendered document without sanitizing the value.

    Definition Classes
    DefaultRenderContextRenderContext
  7. def <<<(v: Any): Unit

    Renders the provided value, sanitizes any XML special characters and inserts it into the final rendered document.

    Renders the provided value, sanitizes any XML special characters and inserts it into the final rendered document.

    Definition Classes
    DefaultRenderContextRenderContext
  8. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  10. val _requestUri: String

  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def attribute[T](name: String): T

    Returns the attribute of the given type or a org.fusesource.scalate.NoValueSetException exception is thrown

    Returns the attribute of the given type or a org.fusesource.scalate.NoValueSetException exception is thrown

    Definition Classes
    RenderContext
  13. def attributeKeys: List[String]

    Sorted list of attribute keys

    Sorted list of attribute keys

    Definition Classes
    RenderContext
  14. def attributeOrElse[T](name: String, defaultValue: ⇒ T): T

    Returns the attribute of the given name and type or the default value if it is not available

    Returns the attribute of the given name and type or the default value if it is not available

    Definition Classes
    RenderContext
  15. val attributes: AttributeMap

    Access the attributes available in this context

    Access the attributes available in this context

    Definition Classes
    DefaultRenderContextRenderContext
  16. def blankString: String

    Attributes
    protected
    Definition Classes
    RenderContext
  17. def capture(template: Template): String

    Evaluates the template capturing any output written to this page context during the body evaluation

    Evaluates the template capturing any output written to this page context during the body evaluation

    Definition Classes
    DefaultRenderContextRenderContext
  18. def capture(body: ⇒ Unit): String

    Evaluates the body capturing any output written to this page context during the body evaluation

    Evaluates the body capturing any output written to this page context during the body evaluation

    Definition Classes
    DefaultRenderContextRenderContext
  19. def captureAttribute(name: String)(body: ⇒ Unit): Unit

    Captured the body of the function call then sets it to the given attribute value

    Captured the body of the function call then sets it to the given attribute value

    Definition Classes
    RenderContext
  20. def captureAttributeAppend(name: String)(body: ⇒ Unit): Unit

    Captured the body of the function call then append it to the given attribute value

    Captured the body of the function call then append it to the given attribute value

    Definition Classes
    RenderContext
  21. def captureNodeSeq(template: Template): NodeSeq

    Captures the text of the template rendering and then parses it as markup

    Captures the text of the template rendering and then parses it as markup

    Definition Classes
    RenderContext
  22. def captureNodeSeq(body: ⇒ Unit): NodeSeq

    Captures the text of the body and then parses it as markup

    Captures the text of the body and then parses it as markup

    Definition Classes
    RenderContext
  23. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. def collection(objects: Traversable[AnyRef], viewName: String = "index", separator: ⇒ Any = blankString): Unit

    Renders a collection of model objects with an optional separator

    Renders a collection of model objects with an optional separator

    Definition Classes
    RenderContext
  25. var currentTemplate: String

    Definition Classes
    RenderContext
  26. def dateFormat: DateFormat

    Definition Classes
    RenderContext
  27. def dateFormat_=(value: DateFormat): Unit

    Definition Classes
    RenderContext
  28. val engine: TemplateEngine

    Definition Classes
    DefaultRenderContextRenderContext
  29. def ensuring(cond: (DummyRenderContext) ⇒ Boolean, msg: ⇒ Any): DummyRenderContext

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

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

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

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

    Definition Classes
    AnyRef
  34. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  35. def escape(v: Any): Unit

    Ensures that the string value of the parameter is always markup escaped

    Ensures that the string value of the parameter is always markup escaped

    Definition Classes
    RenderContext
  36. var escapeMarkup: Boolean

    Whether or not markup sensitive characters for HTML/XML elements like & > < are escaped or not

    Whether or not markup sensitive characters for HTML/XML elements like & > < are escaped or not

    Definition Classes
    RenderContext
  37. def filter(name: String, content: String): String

    Definition Classes
    RenderContext
  38. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  39. def flush(): Unit

    Definition Classes
    DefaultRenderContext
  40. def format(pattern: String, args: AnyRef*): String

    Returns the formatted string using the locale of the users request or the default locale if not available

    Returns the formatted string using the locale of the users request or the default locale if not available

    Definition Classes
    RenderContext
  41. def formatted(fmtstr: String): String

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

    Definition Classes
    AnyRef → Any
  43. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  44. def include(path: String, layout: Boolean, extraBindings: Traversable[Binding]): Unit

    Includes the given template path

    Includes the given template path

    layout

    if true then applying the layout the included template

    Definition Classes
    RenderContext
  45. def include(path: String, layout: Boolean): Unit

    Definition Classes
    RenderContext
  46. def include(path: String): Unit

    Definition Classes
    RenderContext
  47. def inject[T](implicit manifest: ClassTag[T]): T

    Creates an instance of the given given type using dependency injection to inject the necessary values into the object

    Creates an instance of the given given type using dependency injection to inject the necessary values into the object

    Definition Classes
    RenderContext
  48. def introspect(aType: Class[_]): Introspector[_]

    Definition Classes
    RenderContext
  49. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  50. def layout(path: String, attrMap: Map[String, Any] = Map())(body: ⇒ Unit): Unit

    Renders the given template with optional attributes passing the body block as the *body* attribute so that it can be layered out using the template.

    Renders the given template with optional attributes passing the body block as the *body* attribute so that it can be layered out using the template.

    Definition Classes
    RenderContext
  51. def load(uri: String): String

    Loads the given template or file as a String for inclusion into the current page.

    Loads the given template or file as a String for inclusion into the current page.

    Useful if you want to include some client side template, particularly with a .jade extension

    Definition Classes
    RenderContext
  52. def locale: Locale

    Definition Classes
    RenderContext
  53. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  54. var noneString: String

    Default string used to output None values

    Default string used to output None values

    Definition Classes
    RenderContext
  55. final def notify(): Unit

    Definition Classes
    AnyRef
  56. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  57. var nullString: String

    Default string used to output null values

    Default string used to output null values

    Definition Classes
    RenderContext
  58. def numberFormat: NumberFormat

    Definition Classes
    RenderContext
  59. def numberFormat_=(value: NumberFormat): Unit

    Definition Classes
    RenderContext
  60. var out: PrintWriter

    Definition Classes
    DefaultRenderContext
  61. def percent(number: Number): String

    Definition Classes
    RenderContext
  62. def percentFormat: NumberFormat

    Definition Classes
    RenderContext
  63. def percentFormat_=(value: NumberFormat): Unit

    Definition Classes
    RenderContext
  64. def removeOldAttributes: Boolean

    Should we remove attributes from the context after we've rendered a child request?

    Should we remove attributes from the context after we've rendered a child request?

    Attributes
    protected
    Definition Classes
    RenderContext
  65. def render(path: String, attributeMap: Map[String, Any] = Map()): Unit

    Renders the given template with optional attributes

    Renders the given template with optional attributes

    Definition Classes
    RenderContext
  66. def requestFile: Option[File]

    Returns the file for the given request resource

    Returns the file for the given request resource

    Definition Classes
    DefaultRenderContextRenderContext
  67. def requestResource: Option[Resource]

    Returns the Resource of the request

    Returns the Resource of the request

    Definition Classes
    DefaultRenderContextRenderContext
  68. def requestUri: String

    Returns the request URI

    Returns the request URI

    Definition Classes
    DefaultRenderContextRenderContext
  69. def resolveUri(path: String): String

    Attributes
    protected
    Definition Classes
    RenderContext
  70. def resource[T]: T

    Returns the JAXRS resource bean of the given type or a org.fusesource.scalate.NoValueSetException exception is thrown

    Returns the JAXRS resource bean of the given type or a org.fusesource.scalate.NoValueSetException exception is thrown

    Definition Classes
    RenderContext
  71. def resourceOrElse[T](defaultValue: T): T

    Returns the JAXRS resource bean of the given type or the default value if it is not available

    Returns the JAXRS resource bean of the given type or the default value if it is not available

    Definition Classes
    RenderContext
  72. def setAttribute(name: String, value: Option[Any]): Unit

    Definition Classes
    RenderContext
  73. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  74. def toString(): String

    Definition Classes
    AnyRef → Any
  75. implicit def toStringPair(entry: (Symbol, Any)): (String, Any)

    Allows a symbol to be used with arguments to the { @link render } or { @link layout } method such as render("foo.ssp", 'foo -> 123, 'bar -> 456) {...}

    Allows a symbol to be used with arguments to the { @link render } or { @link layout } method such as render("foo.ssp", 'foo -> 123, 'bar -> 456) {...}

    Definition Classes
    RenderContext
  76. def unescape(v: Any): Unit

    Ensures that the string value of the parameter is not markup escaped

    Ensures that the string value of the parameter is not markup escaped

    Definition Classes
    RenderContext
  77. def uri(name: String): String

    Allows conversion of an absolute URL starting with "/" to be converted using the prefix of a web application

    Allows conversion of an absolute URL starting with "/" to be converted using the prefix of a web application

    Definition Classes
    DummyRenderContextRenderContext
  78. def uri(file: File): Option[String]

    Returns a local link to the given file which should be within the [sourceDirectories]

    Returns a local link to the given file which should be within the [sourceDirectories]

    Definition Classes
    RenderContext
  79. def using[T](model: AnyRef)(op: ⇒ T): T

    Attributes
    protected
    Definition Classes
    RenderContext
  80. def value(any: Any, shouldSanitize: Boolean = escapeMarkup): Any

    Definition Classes
    RenderContext
  81. def valueEscaped(any: Any): Any

    Definition Classes
    RenderContext
  82. def valueUnescaped(any: Any): Any

    Definition Classes
    RenderContext
  83. def view(model: AnyRef, viewName: String = "index"): Unit

    Renders the view of the given model object, looking for the view in packageName/className.

    Renders the view of the given model object, looking for the view in packageName/className.viewName.ext

    Definition Classes
    RenderContext
  84. var viewPostfixes: List[String]

    Definition Classes
    RenderContext
  85. var viewPrefixes: List[String]

    Definition Classes
    RenderContext
  86. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  89. def withAttributes[T](attrMap: Map[String, Any])(block: ⇒ T): T

    Uses the new sets of attributes for the given block, then replace them all (and remove any newly defined attributes)

    Uses the new sets of attributes for the given block, then replace them all (and remove any newly defined attributes)

    Definition Classes
    RenderContext
  90. def withUri[T](uri: String)(block: ⇒ T): T

    Definition Classes
    RenderContext
  91. var wrapCssInCData: Boolean

    Whether we should escape CSS in CDATA sections when using the CSS filter

    Whether we should escape CSS in CDATA sections when using the CSS filter

    Definition Classes
    RenderContext
  92. def [B](y: B): (DummyRenderContext, B)

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

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from DummyRenderContext to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (dummyRenderContext: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from DummyRenderContext to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (dummyRenderContext: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: DummyRenderContext

    Implicit information
    This member is added by an implicit conversion from DummyRenderContext to ArrowAssoc[DummyRenderContext] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (dummyRenderContext: ArrowAssoc[DummyRenderContext]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: DummyRenderContext

    Implicit information
    This member is added by an implicit conversion from DummyRenderContext to Ensuring[DummyRenderContext] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (dummyRenderContext: Ensuring[DummyRenderContext]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from DefaultRenderContext

Inherited from RenderContext

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from DummyRenderContext to StringAdd

Inherited by implicit conversion any2stringfmt from DummyRenderContext to StringFormat

Inherited by implicit conversion any2ArrowAssoc from DummyRenderContext to ArrowAssoc[DummyRenderContext]

Inherited by implicit conversion any2Ensuring from DummyRenderContext to Ensuring[DummyRenderContext]

Ungrouped