Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12.2.1.3.0

E80373-04
Package weblogic.wsee.policy.framework

Class PolicyExpression

    • Field Detail

      • expressions

        protected java.util.List expressions
        Deprecated.
      • policyNamespaceUri

        protected java.lang.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 java.lang.String getPolicyNamespaceUri()
        Deprecated.
      • setPolicyNamespaceUri

        public void setPolicyNamespaceUri​(java.lang.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 java.util.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​(java.util.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 org.w3c.dom.Element toXML​(org.w3c.dom.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​(org.w3c.dom.Element parent,
                             WsdlWriter wsdlWriter)
        Deprecated.
      • toString

        public java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class java.lang.Object
      • 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
      • readExternal

        public void readExternal​(java.io.ObjectInput in)
                          throws java.io.IOException,
                                 java.lang.ClassNotFoundException
        Deprecated.
        implement readExternal() of Externalizable interface
        Specified by:
        readExternal in interface java.io.Externalizable
        Parameters:
        in -
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
      • writeExternal

        public void writeExternal​(java.io.ObjectOutput out)
                           throws java.io.IOException
        Deprecated.
        implement writeExternal() of Externalizable interface
        Specified by:
        writeExternal in interface java.io.Externalizable
        Parameters:
        out -
        Throws:
        java.io.IOException
Copyright 1996, 2021, Oracle and/or its affiliates. All rights reserved.