Class IfFeatureExpr

    • Constructor Detail

      • IfFeatureExpr

        public IfFeatureExpr()
    • Method Detail

      • isPresent

        public static final @NonNull IfFeatureExpr isPresent​(QName qname)
        Construct an assertion that a feature is present in the set passed to test(Set).
        Parameters:
        qname - Feature QName
        Returns:
        An expression
        Throws:
        NullPointerException - if qname is null
      • getReferencedFeatures

        public abstract @NonNull Set<QName> getReferencedFeatures()
        Returns the set of all features referenced by this expression. Each feature is identified by its QName.
        Returns:
        The set of referenced features. Mutability of the returned Set and order of features is undefined.
      • hashCode

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

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