public class PolicyStatement extends PolicyExpression implements Externalizable
| Modifier and Type | Field and Description |
|---|---|
protected String |
id
Deprecated.
|
assertion, expressions, operator, policyNamespaceUri| Modifier | Constructor and Description |
|---|---|
|
PolicyStatement()
Deprecated.
|
protected |
PolicyStatement(String id)
Deprecated.
|
|
PolicyStatement(String id,
String policyNamespaceUri)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static PolicyStatement |
createPolicyStatement(String id)
Deprecated.
Factory method to create a PolicyStatement instance.
|
boolean |
equals(Object anObject)
Deprecated.
|
String |
getId()
Deprecated.
Return the value of the Id attribute which is used as a fragment identifier when referencing a policy by URI
|
int |
hashCode()
Deprecated.
|
boolean |
isHasUnresolvedReferences()
Deprecated.
|
void |
readExternal(ObjectInput in)
Deprecated.
implement readExternal() of Externalizable interface
|
void |
setHasUnresolvedReferences(boolean hasUnresolvedReferences)
Deprecated.
|
void |
setId(String id)
Deprecated.
Set the value of the Id attribute which is used as a fragment identifier when referencing a policy statement by URI
|
String |
toString()
Deprecated.
|
Element |
toXML()
Deprecated.
|
Element |
toXML(Document doc)
Deprecated.
Serialize the policy statement into an XML representation
|
void |
write(Element parent,
WsdlWriter wsdlWriter)
Deprecated.
Write the statement to wsdl
|
void |
writeExternal(ObjectOutput out)
Deprecated.
implement writeExternal() of Externalizable interface
|
addExpression, addExpressions, createExpression, createTerminal, getAssertion, getExpressions, getPolicyNamespaceUri, isTerminal, normalize, resetExpressions, setAssertion, setPolicyNamespaceUriprotected String id
public PolicyStatement()
protected PolicyStatement(String id)
public String getId()
public void setId(String id)
id - the Id to be usedpublic boolean isHasUnresolvedReferences()
public void setHasUnresolvedReferences(boolean hasUnresolvedReferences)
public static PolicyStatement createPolicyStatement(String id)
public Element toXML(Document doc) throws PolicyException
toXML in class PolicyExpressiondoc - The DOM Document node with which the XML is associated.PolicyException - if there was a problem serializing to DOMpublic void write(Element parent, WsdlWriter wsdlWriter)
write in class PolicyExpressionparent - wsdlWriter - public Element toXML() throws PolicyException
PolicyExceptionpublic String toString()
toString in class PolicyExpressionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class PolicyExpressionin - IOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class PolicyExpressionout - IOException