Skip navigation links
Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12.2.1.2.0

Part Number E78001_01
weblogic.wsee.policy.framework

Class PolicyExpression

    • Field Detail

      • expressions

        protected List expressions
        Deprecated. 
      • policyNamespaceUri

        protected String policyNamespaceUri
        Deprecated. 
    • Constructor Detail

      • PolicyExpression

        public PolicyExpression()
        Deprecated. 
      • PolicyExpression

        protected PolicyExpression(OperatorType operator)
        Deprecated. 
        Construct a PolicyExpression that contains an ALL or ONE_OR_MORE expression
        Parameters:
        operator - The operator which must be ALL or ONE_OR_MORE
      • PolicyExpression

        protected PolicyExpression(OperatorType operator,
                                   PolicyAssertion assertion)
        Deprecated. 
        Construct a PolicyExpression that is a PolicyAssertion terminal
        Parameters:
        operator -
        assertion -
    • Method Detail

      • getAssertion

        public PolicyAssertion getAssertion()
        Deprecated. 
        If this is a TERMINAL expression, return the PolicyAssertion
        Returns:
        the PolicyAssertion
      • getPolicyNamespaceUri

        public String getPolicyNamespaceUri()
        Deprecated. 
      • setPolicyNamespaceUri

        public void setPolicyNamespaceUri(String policyNamespaceUri)
        Deprecated. 
      • setAssertion

        public void setAssertion(PolicyAssertion assertion)
        Deprecated. 
        If this is a TERMINAL expression, set the PolicyAssertion
        Parameters:
        assertion - the PolicyAssertion
      • isTerminal

        public boolean isTerminal()
        Deprecated. 
        checks if this is a TERMINAL expression
        Returns:
        true if this is a TERMINAL expression
      • getExpressions

        public List getExpressions()
        Deprecated. 
        If this is a non-TERMINAL expression, get the list of subexpression operands
        Returns:
        the list of subexpressions
      • addExpression

        public void addExpression(PolicyExpression expression)
        Deprecated. 
        If this is a non-TERMINAL expression, add a subexpression to the list of operands
        Parameters:
        expression - the subexpression to be added
      • addExpressions

        public void addExpressions(Collection expressions)
        Deprecated. 
        If this is a non-TERMINAL expression, add a collection of subexpressions to the list of operands
        Parameters:
        expressions - the subexpressions to be added
      • resetExpressions

        public void resetExpressions()
        Deprecated. 
        If this is a non-TERMINAL expression, clear the list of operands
      • toXML

        protected Element toXML(Document doc)
                         throws PolicyException
        Deprecated. 
        Serialize the expression to XML Infoset form
        Parameters:
        doc - The DOM Document with which the XML form is associated
        Returns:
        returns the DOM XML Infoset serialization of the expression
        Throws:
        PolicyException
      • write

        protected void write(Element parent,
                             WsdlWriter wsdlWriter)
        Deprecated. 
      • createTerminal

        public static PolicyExpression createTerminal(PolicyAssertion assertion)
        Deprecated. 
        Factory method to create a new TERMINAL PolicyExpression.
        Parameters:
        assertion - the PolicyAssertion that is the terminal
        Returns:
        the newly instantiated PolicyExpression
      • createExpression

        public static PolicyExpression createExpression(OperatorType op)
        Deprecated. 
        Factory method to create a new non-TERMINAL PolicyExpression.
        Parameters:
        op - the OperatorType of the operator that will operate on the subexpression operands
        Returns:
        the newly instantiated PolicyExpression
Copyright 1996, 2016, Oracle and/or its affiliates. All rights reserved.