Packages

  • package root
    Definition Classes
    root
  • package eu
    Definition Classes
    root
  • package cdevreeze
    Definition Classes
    eu
  • package xpathparser
    Definition Classes
    cdevreeze
  • package queryapi

    Query API, as offered by the AST classes.

    Query API, as offered by the AST classes. It is inspired by the yaidom project.

    The query API methods may be somewhat verbose, but that is intentional. First of all, there are multiple different "axes" that can be used in queries, such as child elements, descendant elements or descendant-or-self elements (if we consider only forward axes). Second, when querying for elements of specific types, there is something to be said for having normal parameters for those types, instead of (more hidden) type parameters.

    Definition Classes
    xpathparser
  • ElemApi
  • ElemLike

trait ElemLike[E <: ElemLike[E]] extends ElemApi[E]

Partial implementation of the ElemApi query API trait.

Self Type
E
Linear Supertypes
ElemApi[E], AnyRef, Any
Known Subclasses
AbbrevForwardStep, AbbrevReverseStep, AdditionOp, Minus, Plus, AdditiveExpr, AndExpr, AnyArrayTest, AnyAttributeTest, AnyElementTest, AnyFunctionTest, AnyItemType, AnyKindTest, AnyMapTest, AnyWildcard, Argument, ArgumentList, ArgumentPlaceholder, ArrayConstructor, ArrayTest, ArrowExpr, ArrowFunctionCall, ArrowFunctionSpecifier, AtomicOrUnionType, AttributeAxisAbbrevForwardStep, AttributeNameAndTypeTest, AttributeNameTest, AttributeTest, AttributeTypeTest, AxisStep, CastExpr, CastableExpr, CommentTest, Comp, ComparisonExpr, CompoundComparisonExpr, CompoundRangeExpr, ContextItemExpr, CurlyArrayConstructor, DataPITest, DecimalLiteral, DocumentTest, DocumentTestContainingElementTest, DocumentTestContainingSchemaElementTest, DoubleLiteral, EQNameAsArrowFunctionSpecifier, ElementNameAndTypeTest, ElementNameTest, ElementTest, ElementTypeTest, EmptySequenceType, EnclosedExpr, ExactlyOneSequenceType, Expr, ExprSingle, ExprSingleArgument, ForExpr, ForwardAxis, Attribute, Child, Descendant, DescendantOrSelf, Following, FollowingSibling, Namespace, Self, ForwardAxisStep, ForwardStep, FunctionCall, FunctionItemExpr, FunctionTest, GeneralComp, Eq, Ge, Gt, Le, Lt, Ne, IfExpr, InlineFunctionExpr, InstanceOfExpr, IntegerLiteral, IntersectExceptExpr, IntersectExceptOp, Except, Intersect, ItemType, KeySpecifier, KindTest, KindTestItemType, LeafElem, LetExpr, Literal, LocalNameWildcard, MapConstructor, MapConstructorEntry, MapTest, MultiplicativeExpr, MultiplicativeOp, Div, IDiv, Mod, Times, NameTest, NamedFunctionRef, NamedKeySpecifier, NamespaceNodeTest, NamespaceWildcard, NillableElementNameAndTypeTest, NillableElementTypeTest, NodeComp, Follows, Is, Precedes, NodeTest, NonAbbrevForwardStep, NonAbbrevReverseStep, NonEmptySingleType, NumericLiteral, OneOrMoreSequenceType, OrExpr, PITest, Param, ParamList, ParenthesizedExpr, ParenthesizedExprAsArrowFunctionSpecifier, ParenthesizedExprKeySpecifier, ParenthesizedItemType, PathExpr, PathExprStartingWithDoubleSlash, PathExprStartingWithSingleSlash, PositionalKeySpecifier, Postfix, PostfixExpr, PostfixLookup, PotentiallyEmptySingleType, Predicate, PrefixWildcard, PrimaryExpr, QuantifiedExpr, Quantifier, EveryQuantifier, SomeQuantifier, RangeExpr, RelativePathExpr, ReverseAxis, Ancestor, AncestorOrSelf, Parent, Preceding, PrecedingSibling, ReverseAxisStep, ReverseStep, SchemaAttributeTest, SchemaElementTest, SequenceType, SimpleAbbrevForwardStep, SimpleBindingInQuantifiedExpr, SimpleComparisonExpr, SimpleDocumentTest, SimpleForBinding, SimpleLetBinding, SimpleMapExpr, SimpleNameTest, SimplePITest, SimpleRangeExpr, SingleType, SlashOnlyPathExpr, SquareArrayConstructor, StepExpr, StepOp, DoubleSlash, SingleSlash, StringConcatExpr, StringLiteral, TargetPITest, TextTest, TreatExpr, TypeDeclaration, TypedArrayTest, TypedFunctionTest, TypedMapTest, UnaryExpr, UnaryLookup, UnaryOp, Minus, Plus, UnionExpr, ValueComp, Eq, Ge, Gt, Le, Lt, Ne, ValueExpr, VarRef, VarRefAsArrowFunctionSpecifier, VariableBinding, VariableIntroducingExpr, Wildcard, WildcardKeySpecifier, XPathElem, XPathExpr, ZeroOrMoreSequenceType, ZeroOrOneSequenceType
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ElemLike
  2. ElemApi
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def children: IndexedSeq[E]

    Finds all child elements.

    Finds all child elements.

    Definition Classes
    ElemLikeElemApi

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. final def filterElems(p: (E) ⇒ Boolean): IndexedSeq[E]

    Finds all descendant elements obeying the given predicate.

    Finds all descendant elements obeying the given predicate.

    Definition Classes
    ElemLikeElemApi
  9. final def filterElemsOfType[A <: E](cls: ClassTag[A])(p: (A) ⇒ Boolean): IndexedSeq[A]

    Finds all descendant elements of the given element type obeying the given predicate.

    Finds all descendant elements of the given element type obeying the given predicate.

    Definition Classes
    ElemLikeElemApi
  10. final def filterElemsOrSelf(p: (E) ⇒ Boolean): IndexedSeq[E]

    Finds all descendant-or-self elements obeying the given predicate.

    Finds all descendant-or-self elements obeying the given predicate. This is a core method in that several methods are implemented directly or indirectly in terms of this one.

    Definition Classes
    ElemLikeElemApi
  11. final def filterElemsOrSelfOfType[A <: E](cls: ClassTag[A])(p: (A) ⇒ Boolean): IndexedSeq[A]

    Finds all descendant-or-self elements of the given element type obeying the given predicate.

    Finds all descendant-or-self elements of the given element type obeying the given predicate.

    Definition Classes
    ElemLikeElemApi
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def findAllElems: IndexedSeq[E]

    Finds all descendant elements.

    Finds all descendant elements.

    Definition Classes
    ElemLikeElemApi
  14. final def findAllElemsOfType[A <: E](cls: ClassTag[A]): IndexedSeq[A]

    Finds all descendant elements of the given element type.

    Finds all descendant elements of the given element type.

    Definition Classes
    ElemLikeElemApi
  15. final def findAllElemsOrSelf: IndexedSeq[E]

    Finds all descendant-or-self elements.

    Finds all descendant-or-self elements.

    Definition Classes
    ElemLikeElemApi
  16. final def findAllElemsOrSelfOfType[A <: E](cls: ClassTag[A]): IndexedSeq[A]

    Finds all descendant-or-self elements of the given element type.

    Finds all descendant-or-self elements of the given element type.

    Definition Classes
    ElemLikeElemApi
  17. final def findAllTopmostElemsOfType[A <: E](cls: ClassTag[A]): IndexedSeq[A]

    Finds all topmost descendant elements of the given element type.

    Finds all topmost descendant elements of the given element type.

    Definition Classes
    ElemLikeElemApi
  18. final def findAllTopmostElemsOrSelfOfType[A <: E](cls: ClassTag[A]): IndexedSeq[A]

    Finds all topmost descendant-or-self elements of the given element type.

    Finds all topmost descendant-or-self elements of the given element type.

    Definition Classes
    ElemLikeElemApi
  19. final def findElem(p: (E) ⇒ Boolean): Option[E]

    Finds the first descendant element obeying the given predicate, if any, returning an optional result.

    Finds the first descendant element obeying the given predicate, if any, returning an optional result.

    Definition Classes
    ElemLikeElemApi
  20. final def findElemOfType[A <: E](cls: ClassTag[A])(p: (A) ⇒ Boolean): Option[A]

    Finds the first descendant element of the given element type obeying the given predicate, if any, returning an optional result.

    Finds the first descendant element of the given element type obeying the given predicate, if any, returning an optional result.

    Definition Classes
    ElemLikeElemApi
  21. final def findElemOrSelf(p: (E) ⇒ Boolean): Option[E]

    Finds the first descendant-or-self element obeying the given predicate, if any, returning an optional result.

    Finds the first descendant-or-self element obeying the given predicate, if any, returning an optional result.

    Definition Classes
    ElemLikeElemApi
  22. final def findElemOrSelfOfType[A <: E](cls: ClassTag[A])(p: (A) ⇒ Boolean): Option[A]

    Finds the first descendant-or-self element of the given element type obeying the given predicate, if any, returning an optional result.

    Finds the first descendant-or-self element of the given element type obeying the given predicate, if any, returning an optional result.

    Definition Classes
    ElemLikeElemApi
  23. final def findFirstElemOfType[A <: E](cls: ClassTag[A]): Option[A]

    Finds the first descendant element of the given element type, if any, returning an optional result.

    Finds the first descendant element of the given element type, if any, returning an optional result.

    Definition Classes
    ElemLikeElemApi
  24. final def findFirstElemOrSelfOfType[A <: E](cls: ClassTag[A]): Option[A]

    Finds the first descendant-or-self element of the given element type, if any, returning an optional result.

    Finds the first descendant-or-self element of the given element type, if any, returning an optional result.

    Definition Classes
    ElemLikeElemApi
  25. final def findTopmostElems(p: (E) ⇒ Boolean): IndexedSeq[E]

    Finds all topmost descendant elements obeying the given predicate.

    Finds all topmost descendant elements obeying the given predicate.

    Definition Classes
    ElemLikeElemApi
  26. final def findTopmostElemsOfType[A <: E](cls: ClassTag[A])(p: (A) ⇒ Boolean): IndexedSeq[A]

    Finds all topmost descendant elements of the given element type obeying the given predicate.

    Finds all topmost descendant elements of the given element type obeying the given predicate.

    Definition Classes
    ElemLikeElemApi
  27. final def findTopmostElemsOrSelf(p: (E) ⇒ Boolean): IndexedSeq[E]

    Finds all topmost elements-or-self obeying the given predicate.

    Finds all topmost elements-or-self obeying the given predicate. This is a core method in that several methods are implemented directly or indirectly in terms of this one.

    Definition Classes
    ElemLikeElemApi
  28. final def findTopmostElemsOrSelfOfType[A <: E](cls: ClassTag[A])(p: (A) ⇒ Boolean): IndexedSeq[A]

    Finds all topmost descendant-or-self elements of the given element type obeying the given predicate.

    Finds all topmost descendant-or-self elements of the given element type obeying the given predicate.

    Definition Classes
    ElemLikeElemApi
  29. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  30. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  31. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from ElemApi[E]

Inherited from AnyRef

Inherited from Any

Ungrouped