public class PolicyExpression extends Object implements Externalizable
Modifier and Type | Field and Description |
---|---|
protected PolicyAssertion |
assertion
Deprecated.
|
protected List |
expressions
Deprecated.
|
protected OperatorType |
operator
Deprecated.
|
protected String |
policyNamespaceUri
Deprecated.
|
Modifier | Constructor and 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 and Description |
---|---|
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
|
protected OperatorType operator
protected List expressions
protected PolicyAssertion assertion
protected 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 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 addedpublic NormalizedExpression normalize() throws PolicyException
PolicyException
public void resetExpressions()
protected Element toXML(Document doc) throws PolicyException
doc
- The DOM Document with which the XML form is associatedPolicyException
protected void write(Element parent, WsdlWriter wsdlWriter)
public 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(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
in
- IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
out
- IOException