Builder for Path
instances.
Builder for Path
instances.
For example:
val path: Path = PathBuilder.from(QName("parent") -> 0, QName("child") -> 2).build(Scope.Empty)
Note that the indexes are 0-based. Also note that the Scope passed to the build
method must be invertible.
Otherwise the resolution of QNames can break the indexes of the path builder components.
- Authors
Chris de Vreeze
- Companion
- object
class Object
trait Matchable
class Any
Value members
Concrete methods
Builds the Path
, using the passed Scope
, which must be invertible
Builds the Path
, using the passed Scope
, which must be invertible
Returns true if this is the empty PathBuilder
, so if it has no entries
Returns true if this is the empty PathBuilder
, so if it has no entries
Returns true if this is not the empty PathBuilder
, so if it has at least one entry
Returns true if this is not the empty PathBuilder
, so if it has at least one entry