Class SchemaNodeIdentifier

    • Method Detail

      • getNodeIdentifiers

        public abstract @NonNull List<QName> getNodeIdentifiers()
        Return the non-empty sequence of node identifiers which constitute this schema node identifier.
        Returns:
        Non-empty sequence of node identifiers
      • firstNodeIdentifier

        public @NonNull QName firstNodeIdentifier()
        Return the first node identifier. This method is equivalent to getNodeIdentifiers().get(0), but is potentially more efficient.
        Returns:
        The first node identifier
      • lastNodeIdentifier

        public @NonNull QName lastNodeIdentifier()
        Return the last node identifier. This method is equivalent to getNodeIdentifiers().get(size - 1), but is potentially more efficient.
        Returns:
        The last node identifier
      • asSchemaPath

        public final @NonNull SchemaPath asSchemaPath()
        Create the SchemaPath equivalent of this identifier.
        Returns:
        SchemaPath equivalent.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object