Package

quasar.physical.marklogic

xml

Permalink

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: Predef.String, textKeyName: Predef.String) extends Product with Serializable

    Permalink
  2. final case class NCName(value: Refined[Predef.String, IsNCName]) extends Product with Serializable

    Permalink
  3. final case class NSPrefix(value: NCName) extends AnyVal with Product with Serializable

    Permalink

    A namespace prefix like xs or fn.

  4. final case class NSUri(value: Refined[Predef.String, Uri]) extends Product with Serializable

    Permalink

    A URI used to denote a namespace.

  5. final case class Name(value: Refined[Predef.String, IsName]) extends Product with Serializable

    Permalink
  6. final case class Namespace(prefix: NSPrefix, uri: NSUri) extends Product with Serializable

    Permalink
  7. final case class QName(prefix: Predef.Option[NSPrefix], local: NCName) extends Product with Serializable

    Permalink

Value Members

  1. object Children

    Permalink

    Extract the child sequence from a node.

  2. object KeywordConfig extends Serializable

    Permalink
  3. object Leaf

    Permalink

    Matches a sequence devoid of Elem nodes.

  4. object LeafText

    Permalink

    Extracts all of the text from a leaf sequence.

  5. object NCName extends Serializable

    Permalink
  6. object NSPrefix extends Serializable

    Permalink
  7. object NSUri extends Serializable

    Permalink
  8. object Name extends Serializable

    Permalink
  9. object Namespace extends Serializable

    Permalink
  10. object QName extends Serializable

    Permalink
  11. object SecureXML

    Permalink

    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

  12. def elements(nodes: Seq[Node]): Seq[Elem]

    Permalink
  13. object namespaces

    Permalink
  14. def qualifiedName(elem: Elem): Predef.String

    Permalink
  15. def toData(elem: Elem, config: KeywordConfig): Data

    Permalink

    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" } }

  16. def toEJsonData(elem: Elem): Data

    Permalink

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

Inherited from AnyRef

Inherited from Any

Ungrouped