scales.xml.jaxen

ScalesXPath

class ScalesXPath extends ScalesBaseJaxenXPath

Use evaluate every time, select nodes will not work.

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

Source
JaxenNavigator.scala
Linear Supertypes
ScalesBaseJaxenXPath, Serializable, org.jaxen.XPath, AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ScalesXPath
  2. ScalesBaseJaxenXPath
  3. Serializable
  4. XPath
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScalesXPath(xpath: String, nsMap: Map[String, String] = ..., nameConversion: (QName) ⇒ QName = ScalesXPath.defaultNoConversion)

    nsMap

    a prefix -> namespace map. Use the companion object to pass in PrefixedNamespaces

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. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  6. def addNamespace(prefix: String, uri: String): Unit

    Definition Classes
    ScalesBaseJaxenXPath → XPath
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def attributePaths(path: xml.XmlPath): Iterable[AttributePath]

    Evaluates path returning only matching AttributePaths

  9. def booleanValueOf(node: Any): Boolean

    Definition Classes
    ScalesBaseJaxenXPath → XPath
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def createFunctionContext(): FunctionContext

    Attributes
    protected[scales.xml.jaxen]
    Definition Classes
    ScalesBaseJaxenXPath
  12. def createNamespaceContext(): NamespaceContext

    Attributes
    protected[scales.xml.jaxen]
    Definition Classes
    ScalesBaseJaxenXPath
  13. def createVariableContext(): VariableContext

    Attributes
    protected[scales.xml.jaxen]
    Definition Classes
    ScalesBaseJaxenXPath
  14. def debug(): String

    Definition Classes
    ScalesBaseJaxenXPath
  15. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  17. def evaluate(path: xml.XmlPath): Iterable[Either[AttributePath, xml.XmlPath]]

    Jaxen can't sort non identity/reference equality based object models.

    Jaxen can't sort non identity/reference equality based object models. So we do the work for it and cut out the existing sorting.

    Additionally its nice to get a somewhat better result

  18. def evaluate(context: Any): AnyRef

    Definition Classes
    ScalesBaseJaxenXPath → XPath
  19. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def get[T](path: xml.XmlPath): T

    Single primitive version with hidden cast :<

  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. def getContext(node: Any): Context

    Attributes
    protected[scales.xml.jaxen]
    Definition Classes
    ScalesBaseJaxenXPath
  23. def getContextSupport(): ContextSupport

    Attributes
    protected[scales.xml.jaxen]
    Definition Classes
    ScalesBaseJaxenXPath
  24. def getFunctionContext(): FunctionContext

    Definition Classes
    ScalesBaseJaxenXPath → XPath
  25. def getNamespaceContext(): NamespaceContext

    Definition Classes
    ScalesBaseJaxenXPath → XPath
  26. def getNavigator(): Navigator

    Definition Classes
    ScalesBaseJaxenXPath → XPath
  27. def getRootExpr(): Expr

    Definition Classes
    ScalesBaseJaxenXPath
  28. def getVariableContext(): VariableContext

    Definition Classes
    ScalesBaseJaxenXPath → XPath
  29. def hashCode(): Int

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

    Definition Classes
    Any
  31. val nameConversion: (QName) ⇒ QName

  32. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  35. val nsMap: Map[String, String]

    a prefix -> namespace map.

    a prefix -> namespace map. Use the companion object to pass in PrefixedNamespaces

  36. def numberValueOf(node: Any): Number

    Definition Classes
    ScalesBaseJaxenXPath → XPath
  37. def selectNodes(node: Any): List[_]

    Definition Classes
    ScalesBaseJaxenXPath → XPath
  38. def selectNodesForContext(context: Context): List

    Attributes
    protected[scales.xml.jaxen]
    Definition Classes
    ScalesBaseJaxenXPath
  39. def selectSingleNode(node: Any): AnyRef

    Definition Classes
    ScalesBaseJaxenXPath → XPath
  40. def selectSingleNodeForContext(context: Context): AnyRef

    Attributes
    protected[scales.xml.jaxen]
    Definition Classes
    ScalesBaseJaxenXPath
  41. def setFunctionContext(functionContext: FunctionContext): Unit

    Definition Classes
    ScalesBaseJaxenXPath → XPath
  42. def setNamespaceContext(namespaceContext: NamespaceContext): Unit

    Definition Classes
    ScalesBaseJaxenXPath → XPath
  43. def setVariableContext(variableContext: VariableContext): Unit

    Definition Classes
    ScalesBaseJaxenXPath → XPath
  44. def stringValueOf(node: Any): String

    Definition Classes
    ScalesBaseJaxenXPath → XPath
  45. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  46. def toString(): String

    Definition Classes
    ScalesBaseJaxenXPath → AnyRef → Any
  47. def valueOf(node: Any): String

    Definition Classes
    ScalesBaseJaxenXPath → XPath
  48. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. def withNameConversion(conversion: (QName) ⇒ QName): ScalesXPath

    Provides a conversion function for QNames, this allows a caller to remove namespaces, for example via ScalesXPath.

    Provides a conversion function for QNames, this allows a caller to remove namespaces, for example via ScalesXPath.localOnly

  52. def xmlPaths(path: xml.XmlPath): Iterable[xml.XmlPath]

    Evaluates path returning only matching XmlPaths

  53. val xpath: String

Inherited from ScalesBaseJaxenXPath

Inherited from Serializable

Inherited from org.jaxen.XPath

Inherited from AnyRef

Inherited from Any

Ungrouped