|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectweblogic.wsee.policy.framework.PolicyExpression
public class PolicyExpression
Encapsulates a Policy Expression. The grammar of a policy expression is:
PExpr := TERMINAL | OneOrMore(PExpr+) | All(PExpr+)
TERMINAL := a specific policy assertion
| Field Summary | |
|---|---|
protected PolicyAssertion |
assertion
Deprecated. |
protected List |
expressions
Deprecated. |
protected OperatorType |
operator
Deprecated. |
protected String |
policyNamespaceUri
Deprecated. |
| Constructor Summary | |
|---|---|
|
PolicyExpression()
Deprecated. |
protected |
PolicyExpression(OperatorType operator)
Deprecated. Construct a PolicyExpression that contains an ALL or ONE_OR_MORE expression |
protected |
PolicyExpression(OperatorType operator,
PolicyAssertion assertion)
Deprecated. Construct a PolicyExpression that is a PolicyAssertion terminal |
| Method Summary | |
|---|---|
void |
addExpression(PolicyExpression expression)
Deprecated. If this is a non-TERMINAL expression, add a subexpression to the list of operands |
void |
addExpressions(Collection expressions)
Deprecated. If this is a non-TERMINAL expression, add a collection of subexpressions to the list of operands |
static PolicyExpression |
createExpression(OperatorType op)
Deprecated. Factory method to create a new non-TERMINAL PolicyExpression. |
static PolicyExpression |
createTerminal(PolicyAssertion assertion)
Deprecated. Factory method to create a new TERMINAL PolicyExpression. |
PolicyAssertion |
getAssertion()
Deprecated. If this is a TERMINAL expression, return the PolicyAssertion |
List |
getExpressions()
Deprecated. If this is a non-TERMINAL expression, get the list of subexpression operands |
String |
getPolicyNamespaceUri()
Deprecated. |
boolean |
isTerminal()
Deprecated. checks if this is a TERMINAL expression |
NormalizedExpression |
normalize()
Deprecated. Return the normalized version of the statement |
void |
readExternal(ObjectInput in)
Deprecated. implement readExternal() of Externalizable interface |
void |
resetExpressions()
Deprecated. If this is a non-TERMINAL expression, clear the list of operands |
void |
setAssertion(PolicyAssertion assertion)
Deprecated. If this is a TERMINAL expression, set the PolicyAssertion |
void |
setPolicyNamespaceUri(String policyNamespaceUri)
Deprecated. |
String |
toString()
Deprecated. |
protected Element |
toXML(Document doc)
Deprecated. Serialize the expression to XML Infoset form |
protected void |
write(Element parent,
WsdlWriter wsdlWriter)
Deprecated. |
void |
writeExternal(ObjectOutput out)
Deprecated. implement writeExternal() of Externalizable interface |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected OperatorType operator
protected List expressions
protected PolicyAssertion assertion
protected String policyNamespaceUri
| Constructor Detail |
|---|
public PolicyExpression()
protected PolicyExpression(OperatorType operator)
operator - The operator which must be ALL or ONE_OR_MORE
protected PolicyExpression(OperatorType operator,
PolicyAssertion assertion)
operator - assertion - | Method Detail |
|---|
public PolicyAssertion getAssertion()
public String getPolicyNamespaceUri()
public void setPolicyNamespaceUri(String policyNamespaceUri)
public void setAssertion(PolicyAssertion assertion)
assertion - the PolicyAssertionpublic boolean isTerminal()
public List getExpressions()
public void addExpression(PolicyExpression expression)
expression - the subexpression to be addedpublic void addExpressions(Collection expressions)
expressions - the subexpressions to be added
public NormalizedExpression normalize()
throws PolicyException
PolicyExceptionpublic void resetExpressions()
protected Element toXML(Document doc)
throws PolicyException
doc - The DOM Document with which the XML form is associated
PolicyException
protected void write(Element parent,
WsdlWriter wsdlWriter)
public String toString()
toString in class Objectpublic static PolicyExpression createTerminal(PolicyAssertion assertion)
assertion - the PolicyAssertion that is the terminal
public static PolicyExpression createExpression(OperatorType op)
op - the OperatorType of the operator that will operate on the
subexpression operands
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface Externalizablein -
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface Externalizableout -
IOException
|
Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||