java.io.Externalizable, java.io.SerializablePolicyStatementpublic class PolicyExpression
extends java.lang.Object
implements java.io.Externalizable
| Modifier and Type | Field | Description |
|---|---|---|
protected PolicyAssertion |
assertion |
Deprecated.
|
protected java.util.List |
expressions |
Deprecated.
|
protected OperatorType |
operator |
Deprecated.
|
protected java.lang.String |
policyNamespaceUri |
Deprecated.
|
| Modifier | Constructor | Description |
|---|---|---|
|
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
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
addExpression(PolicyExpression expression) |
Deprecated.
If this is a non-TERMINAL expression, add a subexpression to the list of
operands
|
void |
addExpressions(java.util.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
|
java.util.List |
getExpressions() |
Deprecated.
If this is a non-TERMINAL expression, get the list of subexpression
operands
|
java.lang.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(java.io.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(java.lang.String policyNamespaceUri) |
Deprecated.
|
java.lang.String |
toString() |
Deprecated.
|
protected org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc) |
Deprecated.
Serialize the expression to XML Infoset form
|
protected void |
write(org.w3c.dom.Element parent,
WsdlWriter wsdlWriter) |
Deprecated.
|
void |
writeExternal(java.io.ObjectOutput out) |
Deprecated.
implement writeExternal() of Externalizable interface
|
protected OperatorType operator
protected java.util.List expressions
protected PolicyAssertion assertion
protected java.lang.String policyNamespaceUri
public PolicyExpression()
protected PolicyExpression(OperatorType operator)
operator - The operator which must be ALL or ONE_OR_MOREprotected PolicyExpression(OperatorType operator, PolicyAssertion assertion)
operator - assertion - public PolicyAssertion getAssertion()
public java.lang.String getPolicyNamespaceUri()
public void setPolicyNamespaceUri(java.lang.String policyNamespaceUri)
public void setAssertion(PolicyAssertion assertion)
assertion - the PolicyAssertionpublic boolean isTerminal()
public java.util.List getExpressions()
public void addExpression(PolicyExpression expression)
expression - the subexpression to be addedpublic void addExpressions(java.util.Collection expressions)
expressions - the subexpressions to be addedpublic NormalizedExpression normalize() throws PolicyException
PolicyExceptionpublic void resetExpressions()
protected org.w3c.dom.Element toXML(org.w3c.dom.Document doc)
throws PolicyException
doc - The DOM Document with which the XML form is associatedPolicyExceptionprotected void write(org.w3c.dom.Element parent,
WsdlWriter wsdlWriter)
public java.lang.String toString()
toString in class java.lang.Objectpublic static PolicyExpression createTerminal(PolicyAssertion assertion)
assertion - the PolicyAssertion that is the terminalpublic static PolicyExpression createExpression(OperatorType op)
op - the OperatorType of the operator that will operate on the
subexpression operandspublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablein - java.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizableout - java.io.IOException