Packages

package xml

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. xml
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class KeywordConfig(attributesKeyName: slamdata.Predef.String, textKeyName: slamdata.Predef.String) extends Product with Serializable

Value Members

  1. def elements(nodes: Seq[Node]): Seq[Elem]
  2. def qualifiedName(elem: Elem): slamdata.Predef.String
  3. def toData(elem: Elem, config: KeywordConfig): Data

    Example

    Example

    <foo type="baz" id="1"> <bar> <baz>37</baz> <bat>one</bat> <bat>two</bat> </bar> <quux>lorem ipsum</quux> </foo>

    { "foo": { "_attributes": { "type": "baz", "id": "1" }, "bar": { "baz": "37", "bat": ["one", "two"] }, "quux": "lorem ipsum" } }

  4. def toEJsonData(elem: Elem): Data

    Converts the given element to Data using EJson-compliant synthetic keys.

  5. object Children

    Extract the child sequence from a node.

  6. object KeywordConfig extends Serializable
  7. object Leaf

    Matches a sequence devoid of Elem nodes.

  8. object LeafText

    Extracts all of the text from a leaf sequence.

  9. object SecureXML

    Provides methods for securely parsing XML documents, avoiding known DoS attacks.

    Provides methods for securely parsing XML documents, avoiding known DoS attacks.

    See also

    https://github.com/akka/akka/pull/17660/files#diff-3f57ed15f4aa764e53d971ec647b544fR47

    https://github.com/scala/scala-xml/issues/17

  10. object namespaces

Inherited from AnyRef

Inherited from Any

Ungrouped