org.fusesource.scalate.scuery

Transformer

class Transformer extends AnyRef

Allows simple XML replacement rules to be registered

Source
Transformer.scala
Version

$Revision : 1.1 $

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Transformer
  2. AnyRef
  3. 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 Transformer()

Type Members

  1. class RuleFactory extends AnyRef

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 $(selector: Selector): RuleFactory

  5. def $(cssSelector: String): RuleFactory

  6. def +(other: String): String

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

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

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

    Definition Classes
    Any
  10. val _rules: HashMap[Selector, Rule]

    Attributes
    protected
  11. def addRule(selector: Selector, rule: Rule): Unit

    Attributes
    protected
  12. def apply(nodeAndAncestor: NodeAndAncestors): NodeSeq

  13. def apply(nodes: NodeSeq, ancestors: Seq[Node] = Nil): NodeSeq

  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def createChild: Transformer

    Creates a child transformer

  17. def ensuring(cond: (Transformer) ⇒ Boolean, msg: ⇒ Any): Transformer

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  23. def finalize(): Unit

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

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

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

    Definition Classes
    AnyRef → Any
  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  29. final def notify(): Unit

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

    Definition Classes
    AnyRef
  31. def numberToText(number: Number): String

    A strategy for converting numbers to text which may wish to use different formatters or Locales

    A strategy for converting numbers to text which may wish to use different formatters or Locales

    Attributes
    protected
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. implicit def toSXml(nodes: NodeSeq): SXml

  34. implicit def toSXml(node: Node): SXml

  35. def toString(): String

    Definition Classes
    AnyRef → Any
  36. def transform(nodes: NodeSeq, childTransformer: Transformer): NodeSeq

  37. def transform(nodes: NodeSeq)(rules: (TransformerBuilder) ⇒ Unit): NodeSeq

  38. def transform(nodes: NodeSeq, ancestors: Seq[Node])(rules: (TransformerBuilder) ⇒ Unit): NodeSeq

    Transforms the given nodes passing in a block which is used to configure a new transformer to transform the nodes.

    Transforms the given nodes passing in a block which is used to configure a new transformer to transform the nodes. This method is typically used when performing nested transformations such as transforming one or more nodes when inside a transformation rule itself.

  39. def transformNode(node: Node, ancestors: Seq[Node]): NodeSeq

    Attributes
    protected
  40. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. def [B](y: B): (Transformer, B)

    Implicit information
    This member is added by an implicit conversion from Transformer to ArrowAssoc[Transformer] 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 Transformer 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:
    (transformer: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from Transformer 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:
    (transformer: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: Transformer

    Implicit information
    This member is added by an implicit conversion from Transformer to ArrowAssoc[Transformer] 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:
    (transformer: ArrowAssoc[Transformer]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: Transformer

    Implicit information
    This member is added by an implicit conversion from Transformer to Ensuring[Transformer] 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:
    (transformer: Ensuring[Transformer]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Transformer to StringAdd

Inherited by implicit conversion any2stringfmt from Transformer to StringFormat

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

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

Ungrouped