sparkle

package sparkle

Date: 9/23/15 Time: 10:49 AM

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. sparkle
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type AttributeValue = Seq[Node]

  2. final case class SparkleElem(self: Elem) extends AnyVal with Product with Serializable

    Wrapper for scala.xml.Elem that adds the nest operators

  3. final case class SparkleElementBuilder(name: String) extends AnyVal with Product with Serializable

    Monadic builder for scala.xml.Elem that is functionally similar to glitter's EmptyXml

  4. final case class SparkleMetaData(self: MetaData) extends AnyVal with Product with Serializable

    Wrapper for scala.xml.MetaData that supports appending

  5. final case class SparkleMetadataBuilder(name: String) extends AnyVal with Product with Serializable

    Monadic builder for metadata to support 'key ~ "value" syntax

  6. final case class SparkleNode(self: Node) extends AnyVal with Product with Serializable

    Wrapper for scala.xml.Node that adds the sibling operator

  7. final case class SparkleNodeSeq(self: Seq[Node]) extends AnyVal with Product with Serializable

    Wrapper for a scala.collection.Seq of scala.xml.Node that adds the sibling operator

  8. final case class SparkleString(self: String) extends AnyVal with Product with Serializable

Value Members

  1. implicit def AttributeFromTuple(tuple: (Symbol, AnyVal)): Attribute

    Create an attribute from a symbol

    Create an attribute from a symbol

    tuple

    ('Key, Value) tuple

    returns

    attribute

  2. implicit def AugmentLiteralString(string: String): SparkleString

  3. implicit def AugmentScalaElem(elem: Elem): SparkleElem

  4. implicit def AugmentScalaMetadata(metaData: MetaData): SparkleMetaData

  5. implicit def AugmentScalaNode(node: Node): SparkleNode

  6. implicit def AugmentScalaNodes(nodes: Seq[Node]): SparkleNodeSeq

  7. implicit def BuildMetadataFromSymbol(symbol: Symbol): SparkleMetadataBuilder

    Create an attribute builder monad from a symbol

    Create an attribute builder monad from a symbol

    symbol

    symbol representing the attribute name

    returns

    an attribute builder

  8. implicit def ElementBuilderFromSymbol(symbol: Symbol): SparkleElementBuilder

    Create an element builder from a symbol

    Create an element builder from a symbol

    symbol

    symbol representing an element name

    returns

    element builder

  9. implicit def ElementFromSymbol(symbol: Symbol): Elem

    Create an element from a symbol

    Create an element from a symbol

    symbol

    symbol representing an element name

    returns

    element

  10. val NoPrefix: Null

  11. def NullAttribute(key: String, prefix: Option[String] = None): Attribute

    Create a null attribute, e.

    Create a null attribute, e.g., an attribute that does not specify a name:

    <element nullAttribute />

    key

    Attribute name

    prefix

    Attribute prefix, if applicable

    returns

    Attribute

  12. implicit def NullAttributeFromSymbol(symbol: Symbol): MetaData

    Create a null attribute (an attribute without a value) from a symbol

    Create a null attribute (an attribute without a value) from a symbol

    symbol

    symbol representing the attribute name

    returns

    an attribute

  13. implicit def StringNode(nodeContent: String): SparkleNode

  14. implicit def StringToNode(string: String): Node

    Convert text to a node where needed by creating a scala.xml.Text node with the string.

    Convert text to a node where needed by creating a scala.xml.Text node with the string.

    string

    string

    returns

    Text(string)

  15. implicit def SymbolicElem(elem: Symbol): SparkleElem

  16. implicit def SymbolicNode(node: Symbol): SparkleNode

  17. def TextAttribute(key: String, value: String, prefix: Option[String] = None): Attribute

    Construct a text attribute, with or without a prefix

    Construct a text attribute, with or without a prefix

    key

    Attribute name

    value

    Attribute value

    prefix

    Attribute prefix, if applicable

    returns

    Attribute

Inherited from AnyRef

Inherited from Any

Ungrouped