trait XmlPaths extends AnyRef
- Alphabetic
- By Inheritance
- XmlPaths
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
attributes(implicit path: xml.XmlPath): xml.Attributes
returns the attributes of a given element
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
eager(xmlPath: xml.XmlPath)(implicit cbf: CanBuildFrom[List[xml.XmlPath], xml.XmlPath, List[xml.XmlPath]]): XPath[List[xml.XmlPath]]
Same as fromXmlPathToXPath, an eager evaluation of xpath queries
-
def
elem(implicit path: xml.XmlPath): Elem
returns the Elem at this path
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val isElem: (xml.XmlPath) ⇒ Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isItem: (xml.XmlPath) ⇒ Boolean
- val isText: (xml.XmlPath) ⇒ Boolean
-
def
lazyRaw[T <: Iterable[xml.XmlPath]](xpath: XPath[T]): Iterable[xml.XmlPath]
Normally the implicit fromXPathToIterable will provide sorted output, but this can create significant slow down when only the contents are necessary, not their order.
Normally the implicit fromXPathToIterable will provide sorted output, but this can create significant slow down when only the contents are necessary, not their order.
Use lazyRaw to convert without forcing sorting or checking for duplicates, and to evaluate lazily.
Warning, don't use this version of raw unless your XPath usage costs more than the navigation, its based on Stream and terribly slow (huge memory and stack usage etc).
NOTEs Laziness with flatten is achieved by using iterator.toIterable before the flatten (uses Stream internally). Its only useful as a lazy evaluator if viewed was used.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
raw[T <: Iterable[xml.XmlPath]](xpath: XPath[T]): Iterable[xml.XmlPath]
Normally the implicit fromXPathToIterable will provide sorted output, but this can create significant slow down when only the contents are necessary, not their order.
Normally the implicit fromXPathToIterable will provide sorted output, but this can create significant slow down when only the contents are necessary, not their order.
Use raw to convert without forcing sorting or checking for duplicates.
NOTE Any laziness aquired by viewed will also be lost by the flatten
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
viewed(xmlPath: xml.XmlPath)(implicit cbf: CanBuildFrom[List[xml.XmlPath], xml.XmlPath, List[xml.XmlPath]]): XPath[List[xml.XmlPath]]
Lazy evaluation of XPaths
Lazy evaluation of XPaths
View called on nested Lists, but not on xlmPath.
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()