scales.xml

jaxen

package jaxen

This package provides string XPath evaluation based on the Jaxen library, sample use:

val xpath = ScalesXPath(str, Map(
      "pre" -> "urn:prefix",
      "jh" -> "urn:justHere",
      "def" -> "urn:default"
    ))
val result : Iterable[Either[AttributePath, XmlPath]] = xpath.evaluate(x : XmlPath)

NB: This class is only available with the scales-jaxen dependencies.

Source
package.scala
Linear Supertypes
AnyRef, Any
Content Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. jaxen
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class ScalesBaseJaxenXPath extends org.jaxen.XPath with Serializable

  2. class ScalesDefaultAbsoluteLocationPath extends ScalesDefaultLocationPath

  3. class ScalesDefaultLocationPath extends DefaultLocationPath

  4. class ScalesNavigator extends DefaultNavigator

    Maps Scales Xml into Jaxen

  5. class ScalesUnionExpr extends DefaultBinaryExpr with UnionExpr

    To use a proper comparator

  6. class ScalesXPath extends ScalesBaseJaxenXPath

    Use evaluate every time, select nodes will not work.

Value Members

  1. object Implicits

  2. object ScalesComparator extends Comparator[AnyRef]

    Interesting exercise in futility, its better not to sort as so many other places make reference / identity assumptions.

  3. object ScalesXPath extends Serializable

    Useful constructors for String XPaths

  4. object ScalesXPathFactory extends DefaultXPathFactory

    Due to reference equality comparisoms and a deeply woven comparator we need to override a few things.

Inherited from AnyRef

Inherited from Any

Ungrouped