Class ScopeNode

    • Constructor Detail

      • ScopeNode

        public ScopeNode​(AliasDerefMode aliasDerefAliases,
                         Dn baseDn,
                         String baseId,
                         SearchScope scope)
        Creates a new ScopeNode object.
        Parameters:
        aliasDerefAliases - the alias dereferencing mode
        baseDn - the search base
        baseId - the search ID
        scope - the search scope
    • Method Detail

      • isLeaf

        public boolean isLeaf()
        Always returns true since a scope node has no children.
        Returns:
        true
        See Also:
        ExprNode.isLeaf()
      • getScope

        public SearchScope getScope()
        Gets the search scope.
        Returns:
        the search scope
      • getBaseDn

        public Dn getBaseDn()
        Gets the base dn.
        Returns:
        the base dn
      • getBaseId

        public String getBaseId()
        Gets the base ID.
        Returns:
        the base ID
      • getDerefAliases

        public AliasDerefMode getDerefAliases()
        Gets the alias dereferencing mode type safe enumeration.
        Returns:
        the alias dereferencing enumeration constant.
      • accept

        public Object accept​(FilterVisitor visitor)
        Description copied from interface: ExprNode
        Element/node accept method for visitor pattern.
        Parameters:
        visitor - the filter expression tree structure visitor
        Returns:
        The modified element
        See Also:
        ExprNode.accept( FilterVisitor)
      • isSchemaAware

        public boolean isSchemaAware()
        Tells if this Node is Schema aware.
        Returns:
        true if the Node is SchemaAware