Class VariableItemPathSegment

    • Constructor Detail

      • VariableItemPathSegment

        public VariableItemPathSegment​(@NotNull
                                       @NotNull QName name)
    • Method Detail

      • getName

        @NotNull
        public @NotNull ItemName getName()
      • equals

        public boolean equals​(Object obj)
        More strict version of comparison: it requires exact matching of QNames (e.g. x:xyz and xyz are different in this respect).
        Overrides:
        equals in class ItemPathSegment
        Parameters:
        obj -
        Returns:
      • equivalent

        public boolean equivalent​(Object obj)
        Less strict version of comparison: it allows unqualified names to match fully qualified ones (e.g. x:xyz and xyz are the same).
        Specified by:
        equivalent in class ItemPathSegment
        Parameters:
        obj -
        Returns:
      • equals

        public boolean equals​(Object obj,
                              boolean allowUnqualified,
                              boolean allowDifferentPrefixes)