Class/Object

scales.xml.jaxen

ScalesXPath

Related Docs: object ScalesXPath | package jaxen

Permalink

class ScalesXPath extends ScalesBaseJaxenXPath

Use evaluate every time, select nodes will not work.

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

Linear Supertypes
ScalesBaseJaxenXPath, Serializable, org.jaxen.XPath, AnyRef, Any
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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

    nsMap

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

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addNamespace(prefix: String, uri: String): Unit

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

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

    Permalink

    Evaluates path returning only matching AttributePaths

  7. def booleanValueOf(node: Any): Boolean

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

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

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

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

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

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

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

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

    Permalink

    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

  16. def evaluate(context: Any): AnyRef

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

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

    Permalink

    Single primitive version with hidden cast :<

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    ScalesBaseJaxenXPath
  26. def getVariableContext(): VariableContext

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

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

    Permalink
    Definition Classes
    Any
  29. val nameConversion: (QName) ⇒ QName

    Permalink
  30. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

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

    Permalink

    a prefix -> namespace map.

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

  34. def numberValueOf(node: Any): Number

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  44. def toString(): String

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

    Permalink
    Definition Classes
    ScalesBaseJaxenXPath
  46. final def wait(): Unit

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

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

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

    Permalink

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

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

    Permalink

    Evaluates path returning only matching XmlPaths

  51. val xpath: String

    Permalink

Inherited from ScalesBaseJaxenXPath

Inherited from Serializable

Inherited from org.jaxen.XPath

Inherited from AnyRef

Inherited from Any

Ungrouped